Webhooks API
8 endpoints — authenticate with a workspace access token via Authorization: Bearer. See the API introduction for base URLs, pagination, and rate limits.
Redeliver Webhook Event
POST/api/webhooks/events/{id}/redeliver
Schedule the re-delivery of a webhook event. **Scopes**: `webhooks:write`
Path parameters
The webhook event ID.
Returns 202 with object.
curl -X POST \
https://api.rapidly.tech/api/webhooks/events/{id}/redeliver \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"List Webhook Deliveries
GET/api/webhooks/deliveries
List webhook deliveries. Deliveries are all the attempts to deliver a webhook event to an endpoint. **Scopes**: `webhooks:read` `webhooks:write`
Query parameters
Filter by webhook endpoint ID.
Filter deliveries after this timestamp.
Filter deliveries before this timestamp.
Filter by delivery success status.
Query to filter webhook deliveries.
Filter by HTTP response code class (2xx, 3xx, 4xx, 5xx).
Filter by webhook event type.
Page number, defaults to 1.
Size of a page, defaults to 10. Maximum is 100.
Returns 200 with PaginatedList_WebhookDelivery_.
curl -X GET \
https://api.rapidly.tech/api/webhooks/deliveries \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"List Webhook Endpoints
GET/api/webhooks/endpoints
List webhook endpoints. **Scopes**: `webhooks:read` `webhooks:write`
Query parameters
Filter by workspace ID.
Page number, defaults to 1.
Size of a page, defaults to 10. Maximum is 100.
Returns 200 with PaginatedList_WebhookEndpoint_.
curl -X GET \
https://api.rapidly.tech/api/webhooks/endpoints \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Create Webhook Endpoint
POST/api/webhooks/endpoints
Create a webhook endpoint. **Scopes**: `webhooks:write`
Request body WebhookEndpointCreate
The URL where the webhook events will be sent.
Secret
Serialisation format for outgoing webhook payloads.
The events that will trigger the webhook.
The workspace ID associated with the webhook endpoint. **Required unless you use an workspace token.**
Returns 201 with WebhookEndpoint.
curl -X POST \
https://api.rapidly.tech/api/webhooks/endpoints \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Get Webhook Endpoint
GET/api/webhooks/endpoints/{id}
Get a webhook endpoint by ID. **Scopes**: `webhooks:read` `webhooks:write`
Path parameters
The webhook endpoint ID.
Returns 200 with WebhookEndpoint.
curl -X GET \
https://api.rapidly.tech/api/webhooks/endpoints/{id} \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Update Webhook Endpoint
PATCH/api/webhooks/endpoints/{id}
Update a webhook endpoint. **Scopes**: `webhooks:write`
Path parameters
The webhook endpoint ID.
Request body WebhookEndpointUpdate
Url
Secret
Events
Whether the webhook endpoint is enabled.
Returns 200 with WebhookEndpoint.
curl -X PATCH \
https://api.rapidly.tech/api/webhooks/endpoints/{id} \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Delete Webhook Endpoint
DELETE/api/webhooks/endpoints/{id}
Delete a webhook endpoint. **Scopes**: `webhooks:write`
Path parameters
The webhook endpoint ID.
Returns 204 with unknown.
curl -X DELETE \
https://api.rapidly.tech/api/webhooks/endpoints/{id} \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Reset Webhook Endpoint Secret
PATCH/api/webhooks/endpoints/{id}/secret
Regenerate a webhook endpoint secret. **Scopes**: `webhooks:write`
Path parameters
The webhook endpoint ID.
Returns 200 with WebhookEndpoint.
curl -X PATCH \
https://api.rapidly.tech/api/webhooks/endpoints/{id}/secret \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"