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
The ID of the project
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
shared secret used to sign the webhook payload
streamId of the stream on which the webhook is applied
Response
200 - application/json
The ID of the project
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
streamId of the stream on which the webhook is applied
status of webhook
Was this page helpful?