Webhook
Create a webhook
To create a new webhook, you need to make an API call with the events you want to listen for and the URL that will be called when those events occur.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Available options:
stream.started
, stream.detection
, stream.idle
, recording.ready
, recording.started
, recording.waiting
, multistream.connected
, multistream.error
, multistream.disconnected
, playback.user.new
, playback.accessControl
, asset.created
, asset.updated
, asset.failed
, asset.ready
, asset.deleted
, task.spawned
, task.updated
, task.completed
, task.failed
The ID of the project
shared secret used to sign the webhook payload
streamId of the stream on which the webhook is applied
Response
200 - application/json
Timestamp (in milliseconds) at which stream object was created
Available options:
stream.started
, stream.detection
, stream.idle
, recording.ready
, recording.started
, recording.waiting
, multistream.connected
, multistream.error
, multistream.disconnected
, playback.user.new
, playback.accessControl
, asset.created
, asset.updated
, asset.failed
, asset.ready
, asset.deleted
, task.spawned
, task.updated
, task.completed
, task.failed
The ID of the project
status of webhook
streamId of the stream on which the webhook is applied
Was this page helpful?