Skip to content

Livestream docs: host_id on Mute and Unmute a Chat User - #612

Merged
m-rosinsky merged 1 commit into
mainfrom
mrosinsky/livestream-chat-mute-host-id
Dec 3, 2026
Merged

m-rosinsky merged 1 commit into
mainfrom
mrosinsky/livestream-chat-mute-host-id

Conversation

@m-rosinsky

Copy link
Copy Markdown
Contributor

Documents the new optional host_id on POST /2/broadcasts/chat/mutes (body field) and DELETE /2/broadcasts/chat/mutes/:user_id (query parameter), which is live.

  • Moderators no longer need a live broadcast. A chat moderator passes host_id, the id of the broadcaster they moderate for, to mute or unmute in that host's chats whether or not the host is live. Passing the broadcast_id of one of the host's live broadcasts still works. The pages previously said moderators must pass broadcast_id and that the broadcast must be live.
  • Neither field means your own chats. Added a warning on both pages: a request without host_id or broadcast_id always applies to the caller's own chats, so a moderator app that uses its own account has to send one of the two.
  • Errors. host_id and broadcast_id together return 400. A host_id that is neither the caller's own id nor a broadcaster they moderate for returns 403.
  • SKILL.md (v1.4): the live chat section's mutes line now covers host_id.

openapi.json is not touched. The live spec at api.x.com/2/openapi.json already lists host_id on both operations, so the scheduled sync will bring the parameter tables in.

node .github/scripts/sync-openapi-mdx.mjs --validate and mint validate --no-build --disable unknown-component pass.

Made with Cursor

Chat moderators can pass host_id to mute or unmute in the chats of the broadcaster they moderate for, whether or not that broadcaster is live. Documents host_id on both pages and in the Livestream SKILL.md (1.4), the 400 when host_id and broadcast_id are sent together, the 403 for a host you don't moderate for, and that a request with neither field always applies to the caller's own chats.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mintlify

mintlify Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
x-corp 🟢 Ready View Preview Dec 3, 2026, 8:51 PM

@m-rosinsky
m-rosinsky merged commit 5b3decd into main Dec 3, 2026
3 checks passed
@mintlify

mintlify Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Docs PR opened: #613

Added Dec 3 changelog entry for Livestream host_id chat moderation support.

This branch was successfully deployed

1 active deployment
staging — c2460087 Deployed Dec 3, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant