Broadcasts
Publish or End a User's Broadcast
Changed onPublishes 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 video, and posts it unless should_not_tweet is true. END ends the broadcast. Deprecated: use PUT /2/broadcasts/:id/state to end a broadcast.
put/2/users/{id}/broadcasts/{broadcast_id}/state
Request
- Base URLhttps://api.x.com
- URLhttps://api.x.com/2/users/{id}/broadcasts/{broadcast_id}/state
- Auth
- OAuth 2Authorization code: https://api.x.com/2/oauth2/authorizeToken URL: https://api.x.com/2/oauth2/token scopes: broadcast.write, broadcast.read
- or HTTP oauth
Path parameters
idstring required
Unique identifier of a User
Example:2244994945
broadcast_idstring required
Request body
Response
The request has succeeded.
Changes
- info
endpoint added
- info