Home / Servers / X (Twitter) API / update_user_broadcast_state

Publish or End a User's Broadcast

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

Publish or End a User's Broadcast Publishes or ends one of the authenticated user's broadcasts. id must be the authenticated user. PUBLISH takes a broadcast created with POST /2/users/:id/broadcasts live once its source is receiving… [PUT /2/users/{id}/broadcasts/{broadcast_id}/state]

Name on the gateway: x_api__update_user_broadcast_state · may change things.

Parameters

NameTypeDescription
id requiredstringUnique identifier of a User
broadcast_id requiredstringbroadcast_id parameter
chat_optionintegerWho can chat: 0 default, 1 chat off, 2 everyone, 3 verified accounts, 4…
localestringBroadcast language. PUBLISH only.
should_not_tweetbooleanSkip the announcing Post. Unset keeps the broadcast's setting, which defaults…
state requiredstringPUBLISH or END.
titlestringBroadcast title. PUBLISH only.

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__update_user_broadcast_state",
  "arguments": {
    "id": "…",
    "broadcast_id": "…",
    "state": "…"
  }
}

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 publish or end a user's broadcast tool with id set to ….

More from X (Twitter) API