Overview

Webhooks deliver platform notifications to an HTTPS endpoint you control. Use the /webhooks endpoints to register and manage endpoints, /webhooks/event-types to discover the events you can subscribe to, and /webhooks/events to list, inspect, and retry the deliveries those endpoints receive. The signing secret is returned once at creation — use it to verify the signature on every delivery.


List Webhooks

Use Case

Returns a paginated list of webhook endpoints registered for the organization.

List Webhooks

Query Parameters
1
starting_afterstring

Opaque cursor — pass `next_cursor` from a prior response to fetch the next page.

2
ending_beforestring

Opaque cursor for reverse pagination.

3
limitinteger

Page size; bounded by the endpoint maximum.

List Webhooks Response

Create Webhook

Use Case

Registers a new webhook endpoint for platform notifications. The signing secret is returned once at creation time; subsequent reads do not include it. Pass event_types to filter to a subset, or omit it to receive every event the platform emits.

Create Webhook

Request Body
1
namestringRequired

Display name for the endpoint.

2
urlstring (url)Required

HTTPS endpoint that will receive delivery events.

3
event_typesstring[]

Event types to subscribe to. Omit to receive every event the platform emits. See the List Event Types endpoint for the canonical list.

Pass an optional Idempotency-Key header (1–255 printable ASCII chars) to safely retry creation. The same key with the same body returns the cached response; the same key with a different body returns 409.

Example Payload

Get Webhook

Use Case

Returns a single webhook endpoint by ID.

Get Webhook

Get Webhook Response
1
idstring (uuid)

Unique identifier for the webhook endpoint.

2
objectstring

Resource type identifier. Always `webhook`.

3
namestring

Display name given to the endpoint when it was created.

4
urlstring (url)

HTTPS endpoint that receives delivery events.

5
statusstring

Lifecycle status of the endpoint (e.g. `active`).

6
event_typesstring[]

Event types this endpoint is subscribed to. See the List Event Types endpoint for the full catalog.

7
has_signing_secretboolean

Whether a signing secret is configured. The plaintext secret is never returned on reads — only at creation and on rotation.

8
last_triggered_atstring (date-time)

RFC 3339 timestamp of the most recent delivery attempt. Omitted entirely until the endpoint is first triggered.

9
created_atstring (date-time)

RFC 3339 timestamp of when the endpoint was created.

10
updated_atstring (date-time)

RFC 3339 timestamp of the most recent change.

Get Webhook Response

Update Webhook

Use Case

Partially updates a webhook endpoint's url, name, or event_types filter. Only the fields you supply are changed.

Update Webhook

Request Body
1
namestring

Updated display name.

2
urlstring (url)

Updated HTTPS endpoint.

3
event_typesstring[]

Updated event-type filter. Replaces the existing set.

Example Payload

Update Webhook Response

Returns the full webhook object with your changes applied. updated_at advances to the time of the change; signing_secret is not included.

1
idstring (uuid)

Unique identifier for the webhook endpoint.

2
objectstring

Resource type identifier. Always `webhook`.

3
namestring

Display name after the update.

4
urlstring (url)

HTTPS endpoint after the update.

5
statusstring

Lifecycle status of the endpoint (e.g. `active`).

6
event_typesstring[]

Event-type filter after the update.

7
has_signing_secretboolean

Whether a signing secret is configured. The plaintext secret is never returned on update.

8
created_atstring (date-time)

RFC 3339 timestamp of when the endpoint was created. Unchanged by updates.

9
updated_atstring (date-time)

RFC 3339 timestamp of this change.

Update Webhook Response

Delete Webhook

Use Case

Soft-deletes a webhook endpoint. Subsequent platform events will not be delivered to its URL.

Response: 204 No Content — empty body.

Delete Webhook

Rotate Signing Secret

Use Case

Generates a new HMAC signing secret for this webhook. The new secret is returned once — store it before the response closes.

Rotate Signing Secret

Rotate Signing Secret Response
1
objectstring

Resource type identifier. Always `signing_secret`.

2
signing_secretstring

The new HMAC signing secret. Returned only on this response — store it before the response closes.

Rotate Signing Secret Response

List Event Types

Use Case

Returns the canonical list of all platform event types that can be delivered to webhook endpoints. Use these values in the event_types filter when creating or updating a webhook.

List Event Types

Event Type Object
1
typestring

The event type identifier to use in an `event_types` filter (e.g. `transaction.confirmed`).

2
categorystring

Grouping the event belongs to: `wallet`, `security`, or `compliance`.

3
namestring

Human-readable name for the event.

4
descriptionstring

What triggers this event.

List Event Types Response

List Delivery Events

Use Case

Returns a paginated list of platform notification deliveries across all webhook endpoints, newest first. Filter to a single endpoint with webhook_id, or by delivery status.

List Delivery Events

Query Parameters
1
starting_afterstring

Opaque cursor — pass `next_cursor` from a prior response to fetch the next page.

2
ending_beforestring

Opaque cursor for reverse pagination.

3
limitinteger

Page size; bounded by the endpoint maximum.

4
statusstring

Filter by delivery status: `pending`, `delivered`, or `failed`.

5
webhook_iduuid

Narrow the listing to a single webhook endpoint.

List Delivery Events Response

Get Delivery Event

Use Case

Returns a single delivery event by ID. The event must belong to a webhook owned by the caller's organization.

Get Delivery Event

Get Delivery Event Response
Same shape as the Delivery Event Object

The payload is a single WebhookEventResponse — the same object documented under List Delivery Events. Refer there for the per-field explanations.

Get Delivery Event Response

Retry Delivery Event

Use Case

Re-queues the specified platform notification delivery for another attempt. Useful for re-delivering events that previously failed. Org ownership is enforced via the delivery's parent webhook.

Retry Delivery Event

Retry Delivery Event Response
1
objectstring

Resource type identifier.

2
statusstring

Result of the re-queue request (e.g. `queued`).

Retry Delivery Event Response
Did you find this page useful?

Join our Discord