POST
/
streaming
/
streams
Create live stream
curl --request POST \
  --url https://api.gcore.com/streaming/streams \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Live stream by user e4d0f942-f35d",
  "pull": true,
  "active": true,
  "auto_record": false,
  "client_user_id": 1001,
  "uri": "srt://domain.com:5000/?streamid=12345",
  "html_overlay": false
}'
{
  "name": "Live stream by user e4d0f942-f35d",
  "pull": true,
  "active": true,
  "auto_record": false,
  "client_user_id": 1001,
  "uri": "srt://domain.com:5000/?streamid=12345",
  "html_overlay": false
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Body

application/json

Response

200
application/json

Successful

The response is of type object.