POST
/
v1
/
streams
Create a new stream
curl --request POST \
  --url https://api.daydream.live/v1/streams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pipeline_params": {},
  "name": "<string>",
  "output_rtmp_url": "<string>"
}'
{
  "id": "<string>",
  "stream_key": "<string>",
  "output_stream_url": "<string>",
  "pipeline_params": {},
  "created_at": "<string>",
  "pipeline_id": "<string>",
  "output_playback_id": "<string>",
  "name": "<string>",
  "author": "<string>",
  "from_playground": true,
  "gateway_host": "<string>",
  "is_smoke_test": true,
  "whip_url": "<string>"
}
This endpoint allows you to create a new video processing stream that uses a Daydream pipeline. You’ll need to provide a pipeline ID and configuration parameters.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

Default Response

The response is of type object.