Event Stream Key

Get stream key and SRT url for user's event by id

Info

Required scopes: stream.read

Warning

This method requires authentication

Retrieve a stream key and SRT url by event id. If user does not have access to SRT streaming - SRT url will have a NULL value in the response.

curl -H "Authorization: Bearer [access token]" \
     https://api.restream.io/v2/user/events/2527849f-f961-4b1d-8ae0-8eae4f068327/streamKey

Response

Success
Error
{
  "streamKey": "re_xxx_xxx",
  "srtUrl": "srt://live.restream.io:2010?streamid=srt_xxx_xxx_xxx&passphrase=re_xxx_xxx"
}