Webhooks
Send a test event
POST/v1/webhooks/{id}/test
Requires an API key with the webhooks:write scope. About keys and scopes
Queues a webhook.test event to this endpoint, signed and retried like any other, and returns the delivery to watch.
Path parameters
idstringrequireduuid
Returns
Returns 202 Accepted. Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
subscriptionIdstringrequiredThe webhook (endpoint) it was sent to.
uuid
eventIdstringrequiredThe event; the same across retries.
uuid
eventTypestringrequiredThe event type, such as
message.delivered.attemptintegerrequiredWhich attempt this was, starting at 1.
min -9007199254740991 · max 9007199254740991
statusstringrequiredone of
pending,delivered,failedresponseStatusinteger | nullrequiredThe HTTP status your endpoint answered with; null if it did not answer.
min -9007199254740991 · max 9007199254740991
failureReasonstring | nullrequiredWhy the attempt failed.
requestBodystring | nullrequiredWhat was sent; kept only while a delivery is pending or failed.
responseBodystring | nullrequiredThe first 1 KB of the endpoint's last reply.
createdAtstringrequireddate-time
deliveredAtstring | nullrequiredWhen your endpoint accepted it.
date-time