Webhooks

Update a webhook

Update the enabled status of a webhook. The webhook must belong to the current project.

PATCH
/api/webhooks/{webhookId}

Authorization

Authorization
header
string
required

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

Path Parameters

webhookId
string
required

Webhook ID

Bodyapplication/json

Webhook update parameters

enabled
boolean

Enabled indicates whether the webhook should be enabled or disabled.

Examples:
true
events
string[]

Events specifies the types of events that will trigger the webhook.

Available options:
job.completedjob.failedjob.cancelledupload.completedupload.failedupload.expired
Examples:
["job.completed", "job.failed"]

Responses

The webhook was updated successfully