Broadcasts

Create a Broadcast on a User's Source

Changed on

Creates a broadcast on one of the authenticated user's sources. id must be the authenticated user. The broadcast is NOT_STARTED and posts nothing until it is published with PUT /2/users/:id/broadcasts/:broadcast_id/state; one that is never published is deleted after 7 days. When the source already has a running broadcast, that broadcast is returned.

post/2/users/{id}/broadcasts

Request

  • Base URL
    https://api.x.com
  • URL
    https://api.x.com/2/users/{id}/broadcasts
  • Auth
    • OAuth 2
      Authorization code: https://api.x.com/2/oauth2/authorize
      Token URL: https://api.x.com/2/oauth2/token scopes: broadcast.read, broadcast.write
    • or HTTP oauth

Path parameters

idstring required

Unique identifier of a User

Example:2244994945

Request body

regionstring

Ignored: the source sets the region.

source_idstring required

The source's rtmp_stream_key.

Response

The request has succeeded.

Changes