Stream Key

Get a user's stream key and SRT url

Info

Required scope: stream.read

Warning

This method requires authentication

Retrieve a user's stream key and SRT url. 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/streamKey

Response

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