PUT
/
webhook
/
{id}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

Body

application/json
name
string
required
projectId
string

The ID of the project

events
enum<string>[]
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
url
string
required
sharedSecret
string

shared secret used to sign the webhook payload

streamId
string

streamId of the stream on which the webhook is applied

Response

200 - application/json
id
string
name
string
required
kind
string
deprecated
userId
string
deprecated
projectId
string

The ID of the project

createdAt
number

Timestamp (in milliseconds) at which stream object was created

events
enum<string>[]
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
url
string
required
streamId
string

streamId of the stream on which the webhook is applied

status
object

status of webhook