Menu

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

idstringrequired

uuid

Returns

Returns 202 Accepted. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

subscriptionIdstringrequired

The webhook (endpoint) it was sent to.

uuid

eventIdstringrequired

The event; the same across retries.

uuid

eventTypestringrequired

The event type, such as message.delivered.

attemptintegerrequired

Which attempt this was, starting at 1.

min -9007199254740991 · max 9007199254740991

statusstringrequired

one of pending, delivered, failed

responseStatusinteger | nullrequired

The HTTP status your endpoint answered with; null if it did not answer.

min -9007199254740991 · max 9007199254740991

failureReasonstring | nullrequired

Why the attempt failed.

requestBodystring | nullrequired

What was sent; kept only while a delivery is pending or failed.

responseBodystring | nullrequired

The first 1 KB of the endpoint's last reply.

createdAtstringrequired

date-time

deliveredAtstring | nullrequired

When your endpoint accepted it.

date-time