Docs

Create a notification

Send an event notification to a webhook endpoint. Recorded events replay their original payload.

POST
/notifications

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Bodyapplication/json

Notification creation parameters

event
string
required

Event specifies the type of event that triggered the notification.

Available options:
job.createdjob.completedjob.failedjob.cancelledsource.createdsource.deletedupload.createdupload.completedupload.failedupload.expiredasset.createdasset.readyasset.playback_readyasset.failedasset.expiredasset.deletedasset.output.createdasset.output.readyasset.output.failedasset.output.deletedworkflow_run.createdworkflow_run.completedworkflow_run.failedworkflow_run.cancelledtranscoding.createdtranscoding.readytranscoding.failedtranscoding.cancelledtranscoding.expiredtranscoding.deletedthumbnail.createdthumbnail.readythumbnail.failedthumbnail.expiredthumbnail.deleted
Examples:
asset.playback_ready
object_id
string
required

ID of the resource that triggered the event. Use the caption, static rendition, or thumbnail ID for their Asset child events. Replaying asset events, job.created, or source.created requires a retained snapshot. Resource deletion does not prevent replay.

Examples:
ast_A1cce6120E56e7Tu9ioP09Nhjk9
webhook_id
string
required

WebhookId specifies the webhook endpoint that will receive the notification.

Examples:
wh_A1cce6120E56e7Tu9ioP09Nhjk9

Responses

application/json
data
object
required

Data contains the response object

status
"success"
string
required

Status indicates the response status "success"

The notification was created successfully