Skip to content
Menu
All API groups

Webhooks

Outgoing webhooks (Standard Webhooks signatures).

8 endpoints.

GET/v1/webhooks

Webhooks List

Needs a key or a dashboard session

Responses

POST/v1/webhooks

Webhooks Create

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring | nullnoUnique per logical write (8-255 chars). Retries with the same key are safe. · pattern ^[A-Za-z0-9_\-:.]{8,255}$

Request body application/json WebhookIn

NameTypeRequiredDescription
urlstringyesHTTPS only.max length 2048 · pattern ^https://
events"search.zero_results_spike" | "catalog.sync_failed" | "catalog.import_finished" | "translation.batch_ready" | "usage.threshold_reached" | "experiment.finished" | "assistant.handover" | "billing.payment_failed" | "ping"[]yes
descriptionstring | nullnomax length 300
enabledbooleannodefault true

Responses

GET/v1/webhooks/{webhook_id}

Webhooks Get

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
webhook_idpathstringyes

Responses

PATCH/v1/webhooks/{webhook_id}

Webhooks Update

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
webhook_idpathstringyes

Request body application/json WebhookPatch

NameTypeRequiredDescription
urlstring | nullnomax length 2048 · pattern ^https://
events"search.zero_results_spike" | "catalog.sync_failed" | "catalog.import_finished" | "translation.batch_ready" | "usage.threshold_reached" | "experiment.finished" | "assistant.handover" | "billing.payment_failed" | "ping"[] | nullno
descriptionstring | nullnomax length 300
enabledboolean | nullno

Responses

DELETE/v1/webhooks/{webhook_id}

Webhooks Delete

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
webhook_idpathstringyes

Responses

POST/v1/webhooks/{webhook_id}/rotate-secret

New secret; deliveries are signed with old + new for 24 h

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
webhook_idpathstringyes

Responses

POST/v1/webhooks/{webhook_id}/test

Send a `ping` event now

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
webhook_idpathstringyes

Responses

GET/v1/webhooks/{webhook_id}/deliveries

Webhooks Deliveries

Needs a key or a dashboard session

Parameters

NameInTypeRequiredDescription
webhook_idpathstringyes
cursorquerystring | nullnomax length 200
limitqueryintegernodefault 50 · min 1 · max 200

Responses

Data shapes on this page

WebhookOut

NameTypeRequiredDescription
idstringyes
urlstringyes
events"search.zero_results_spike" | "catalog.sync_failed" | "catalog.import_finished" | "translation.batch_ready" | "usage.threshold_reached" | "experiment.finished" | "assistant.handover" | "billing.payment_failed" | "ping"[]yes
descriptionstring | nullno
enabledbooleanyes
failure_countintegernodefault 0
created_atstring (date-time)yes

WebhookIn

NameTypeRequiredDescription
urlstringyesHTTPS only.max length 2048 · pattern ^https://
events"search.zero_results_spike" | "catalog.sync_failed" | "catalog.import_finished" | "translation.batch_ready" | "usage.threshold_reached" | "experiment.finished" | "assistant.handover" | "billing.payment_failed" | "ping"[]yes
descriptionstring | nullnomax length 300
enabledbooleannodefault true

WebhookCreated

NameTypeRequiredDescription
idstringyes
urlstringyes
events"search.zero_results_spike" | "catalog.sync_failed" | "catalog.import_finished" | "translation.batch_ready" | "usage.threshold_reached" | "experiment.finished" | "assistant.handover" | "billing.payment_failed" | "ping"[]yes
descriptionstring | nullno
enabledbooleanyes
failure_countintegernodefault 0
created_atstring (date-time)yes
secretstringyeswhsec_... Shown once. Verify deliveries with it (Standard Webhooks).

WebhookPatch

NameTypeRequiredDescription
urlstring | nullnomax length 2048 · pattern ^https://
events"search.zero_results_spike" | "catalog.sync_failed" | "catalog.import_finished" | "translation.batch_ready" | "usage.threshold_reached" | "experiment.finished" | "assistant.handover" | "billing.payment_failed" | "ping"[] | nullno
descriptionstring | nullnomax length 300
enabledboolean | nullno

Deleted

NameTypeRequiredDescription
deletedbooleannodefault true
idstringyes

WebhookDeliveryOut

NameTypeRequiredDescription
idstringyes
event_idstringyes
event_typestringyes
status"pending" | "succeeded" | "failed" | "dead"yes
attemptintegeryes
response_statusinteger | nullno
created_atstring (date-time)yes
delivered_atstring (date-time) | nullno

Page_WebhookDeliveryOut_

NameTypeRequiredDescription
dataWebhookDeliveryOut[]yes
next_cursorstring | nullno
totalinteger | nullnoPresent when cheap to count.