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
| Name | Type | Description |
|---|---|---|
available_for_replay | boolean | Enable replay. |
chat_option | string | Who can chat (numeric string): 0 default, 1 chat off, 2 everyone, 3 verified… |
description | string | Description. |
is_locked | boolean | Lock the broadcast. |
locale | string | Locale. |
manual_publish | boolean | If true, do not auto-publish at start; call POST .../live when ready. |
recurrence | object | Deprecated: recurring schedules are being retired and requests that include… |
scheduled_end_ms | string | Optional end time, ms since Unix epoch (decimal string). Omit for an… |
scheduled_start_ms required | string | Start time, ms since Unix epoch (decimal string). |
source_id required | string | Source to bind: a source's id from GET /2/sources. A stream key is also… |
telecast_id | string | Deprecated: telecast associations are being retired and this field will be… |
thumbnail_media_id | string | Pre-live slate media id (numeric string). |
title | string | Title / 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:
{
"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:
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 ….