Skip to content

Mint the caller's own playback session for their live stream. Every playback URL carries a signed session as `sid`; the anonymous one a playlist hands out opens published streams only, while the owner session this returns also opens the caller's unpublished (pre-live) stream to their own player. Requires an authenticated session; the result is bound to the caller's DID. Pass it as `sid` on getLivePlaylist.

GET
/xrpc/place.stream.playback.getPlaybackSession
curl --request GET \
--url https://example.com/xrpc/place.stream.playback.getPlaybackSession

Success

Media typeapplication/json
object
sid
required

The signed session to pass as the sid query parameter.

string
expiresAt
required

When the session stops opening the stream unless renewed; fetch a new one before then.

string format: date-time

Example generated

{
"sid": "example",
"expiresAt": "2026-04-15T12:00:00Z"
}