Notifications

Create a notification

Create a new notification for a job event

POST
/api/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.completedjob.failedjob.cancelledupload.completedupload.failedupload.expired
object_id
string
required

ObjectId specifies the object that triggered this notification.

Examples:
job_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