Create a webhook

post/webhooks

Request body

namestring required

Webhook name

urlstring uri required

URL to receive webhook events

resource'image' | 'batch' | 'tool_job' | 'workflow_run' | 'animation'

Resource type to trigger on

event'all_events' | 'completed' | 'failed'

Event type to trigger on

status'active' | 'disabled'

Webhook status

Response

Webhook created. The signing_key field is only returned here — store it now.

uidstring
namestring
urlstring uri
resource'image' | 'batch' | 'tool_job' | 'workflow_run' | 'animation'
event'all_events' | 'completed' | 'failed'
status'active' | 'disabled'
created_atstring date-time
signing_keystring

HMAC signing key. Only returned at creation time — store it now.

Changes

No recorded changes to this endpoint across all 1 revision of this API.