Webhooks
Endpoints for the team's webhook endpoints and the events and deliveries sent to them. Webhooks send a signed request to an endpoint when something happens in the team, see the webhooks guide for verifying them.
List webhook endpoints
Create a webhook endpoint
Add an endpoint that receives the chosen events. The response is the only time its signing secret is returned until it is rotated. Fails with 422 when the team's plan has no room for another endpoint.
Create a webhook endpoint › Request Body
urlHTTPS URL that receives the events, it must resolve to a public address.
eventsEvent types the endpoint receives, * for every event including types added later.
descriptionWhat the endpoint is for, shown in the dashboard.
Create a webhook endpoint › Responses
WebhookEndpoint
List webhook event types
List the event types endpoints can subscribe to, with the heading they are grouped under and when they are sent.
List webhook event types › Responses
Array of WebhookEventTypeDetails
Get a webhook endpoint
Get an endpoint of the team. Its signing secret is not included.
path Parameters
endpointGet a webhook endpoint › Responses
WebhookEndpoint
Update a webhook endpoint
Change an endpoint's URL, description or events. Fields left out keep their value.
path Parameters
endpointUpdate a webhook endpoint › Request Body
urlHTTPS URL that receives the events, it must resolve to a public address.
descriptionWhat the endpoint is for, shown in the dashboard. Null removes it.
eventsEvent types the endpoint receives, * for every event including types added later. Replaces the current list.
Update a webhook endpoint › Responses
WebhookEndpoint
Enable a webhook endpoint
Start sending events to a disabled endpoint again. Events that happened while it was disabled are not sent, resend them from its deliveries or the events.
path Parameters
endpointEnable a webhook endpoint › Responses
WebhookEndpoint
Disable a webhook endpoint
Stop sending events to an endpoint. Its deliveries waiting for a retry are cancelled.
path Parameters
endpointDisable a webhook endpoint › Responses
WebhookEndpoint
Rotate a webhook endpoint's secret
Replace the signing secret and return the new one. For the next 24 hours deliveries are signed with both, so receivers can switch without rejecting any. Fails with 422 while the secret from the last rotation still signs, unless replace_previous is true.
path Parameters
endpointRotate a webhook endpoint's secret › Request Body
replace_previousRotate even though the secret from the last rotation still signs deliveries. That secret stops signing right away, receivers that only know it start rejecting deliveries.
Rotate a webhook endpoint's secret › Responses
WebhookEndpoint
Send a test event
Send a webhook_endpoint.test event to an enabled endpoint, to check that it receives and verifies deliveries. The delivery is queued, get it later to see how it went.
path Parameters
endpointSend a test event › Responses
WebhookDelivery
List an endpoint's deliveries
List the deliveries of events to an endpoint, newest first. Deliveries are kept for 30 days.
path Parameters
endpointquery Parameters
per_pageNumber of results per page.
pagePage number to return.
typeOnly events of this type.
statusOnly deliveries in this state.
List an endpoint's deliveries › Responses
Paginated set of WebhookDelivery
Resend a webhook delivery
Send a delivery again, whatever its state, as its next attempt with the same event ID. A resend does not use up automatic retries. The endpoint must be enabled.
path Parameters
deliveryResend a webhook delivery › Responses
WebhookDelivery
List webhook events
List the events sent to the team's endpoints, newest first. Events are only kept when an endpoint received them, for 30 days.
query Parameters
per_pageNumber of results per page.
pagePage number to return.
typeOnly events of this type.
List webhook events › Responses
Paginated set of WebhookEvent
Resend a webhook event
Send an event to one of the team's enabled endpoints, as the next attempt of its delivery there or as a new delivery when it has none. Use it to catch an endpoint up after it was disabled.
path Parameters
eventResend a webhook event › Request Body
endpointID of the endpoint to send the event to. It gets the event even when it did not receive it before, or does not subscribe to its type.
Resend a webhook event › Responses
WebhookDelivery