Create a playbackId
Generates a new playback ID for the live stream, allowing viewers to access the stream through this ID. The playback ID can be shared with viewers for direct access to the live broadcast.
By calling this endpoint with the `streamId`, FastPix returns a unique `playbackId`, which can be used to stream the live content.
#### Example
A media platform needs to distribute a unique playback ID to users for an exclusive live concert. The platform can also embed the stream on various partner websites.
Authentication
AuthorizationBasic
FastPix APIs are secured with Basic Authentication.
Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
- <b>Username:</b> Access Token ID
- <b>Password:</b> Secret Key
Activate your FastPix account to generate your API credentials. <a href="https://fastpix.com/docs/getting-started/activate-your-account" target="_blank">See the guide here</a>
Path parameters
streamId
After creating a new live stream, FastPix assigns a unique identifier to the stream.
Request
This endpoint expects an object.
accessPolicy
Basic access policy for media content
Response
New PlaybackId created successfully
success
Shows the request status. Returns true for success and false for failure.
data