Home / Servers / X (Twitter) API / create_scheduled_broadcast

Create a Scheduled Broadcast

An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.

Create a Scheduled Broadcast Schedules a broadcast for the authenticated user on one of their sources: source_id is required. Passing a stream key as source_id is deprecated and stops working when the /2/users/:id/sources and… [POST /2/broadcasts/scheduled]

Name on the gateway: x_api__create_scheduled_broadcast · may change things.

Parameters

NameTypeDescription
available_for_replaybooleanEnable replay.
chat_optionstringWho can chat (numeric string): 0 default, 1 chat off, 2 everyone, 3 verified…
descriptionstringDescription.
is_lockedbooleanLock the broadcast.
localestringLocale.
manual_publishbooleanIf true, do not auto-publish at start; call POST .../live when ready.
recurrenceobjectDeprecated: recurring schedules are being retired and requests that include…
scheduled_end_msstringOptional end time, ms since Unix epoch (decimal string). Omit for an…
scheduled_start_ms requiredstringStart time, ms since Unix epoch (decimal string).
source_id requiredstringSource to bind: a source's id from GET /2/sources. A stream key is also…
telecast_idstringDeprecated: telecast associations are being retired and this field will be…
thumbnail_media_idstringPre-live slate media id (numeric string).
titlestringTitle / status text.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "x_api__create_scheduled_broadcast",
  "arguments": {
    "scheduled_start_ms": "…",
    "source_id": "…"
  }
}

Or connect the X (Twitter) API server directly, which lists 258 tools including this one:

Run in your terminal
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a scheduled broadcast tool with available_for_replay set to ….

More from X (Twitter) API