Webhooks

Register endpoints, inspect events and delivery history.

View as Markdown

Full guide at Webhooks.

GET/api/WebhookDelivery— List delivery attempts, optionally filtered by eventId
PropertyValue
Required scopewebhooks:read
Idempotency-KeyNot required
ParameterInTypeRequired
pagequeryinteger (int32)
pageSizequeryinteger (int32)
orderByquerystring
orderDirectionquerystring
createdFromquerystring (date-time)
createdToquerystring (date-time)
eventIdquerystring
POST/api/WebhookDelivery/{webhookDeliveryId}/Retry— Self-serve retry a delivery (requires Idempotency-Key)
PropertyValue
Required scopewebhooks:write
Idempotency-KeyRequired
ParameterInTypeRequired
webhookDeliveryIdpathstringRequired
GET/api/WebhookEndpoint— List webhook endpoints
PropertyValue
Required scopewebhooks:read
Idempotency-KeyNot required
ParameterInTypeRequired
pagequeryinteger (int32)
pageSizequeryinteger (int32)
orderByquerystring
orderDirectionquerystring
createdFromquerystring (date-time)
createdToquerystring (date-time)
POST/api/WebhookEndpoint— Register a new webhook endpoint (signing secret shown once)
PropertyValue
Required scopewebhooks:write
Idempotency-KeyNot required
ParameterInTypeRequired
descriptionbodystring
eventsbodyarray
urlbodystring (uri)
GET/api/WebhookEndpoint/{webhookEndpointId}— Retrieve a single webhook endpoint
PropertyValue
Required scopewebhooks:read
Idempotency-KeyNot required
ParameterInTypeRequired
webhookEndpointIdpathstringRequired
PUT/api/WebhookEndpoint/{webhookEndpointId}— Update a webhook endpoint (URL, events, enable/disable)
PropertyValue
Required scopewebhooks:write
Idempotency-KeyNot required
ParameterInTypeRequired
webhookEndpointIdpathstringRequired
descriptionbodystring
eventsbodyarray
statusbodystring
urlbodystring (uri)
GET/api/WebhookEvent— List webhook events that occurred
PropertyValue
Required scopewebhooks:read
Idempotency-KeyNot required
ParameterInTypeRequired
pagequeryinteger (int32)
pageSizequeryinteger (int32)
orderByquerystring
orderDirectionquerystring
createdFromquerystring (date-time)
createdToquerystring (date-time)
GET/api/WebhookEvent/{webhookEventId}— 取得單筆Webhook 事件。
PropertyValue
Required scopewebhooks:read
Idempotency-KeyNot required
ParameterInTypeRequired
webhookEventIdpathstringRequired