Webhooks
List deliveries
List deliveries. GET /v1/webhooks/{id}/deliveries in the Raylight API.
GET
/v1/webhooks/{id}/deliveriesAPI key with the productions scope.
Parameters
| Field | In | Type | Description |
|---|---|---|---|
idrequired | path | uuid | The endpoint id. |
limit | query | integer |
Responses
200Deliveries, newest first.
400Invalid request.
401Missing, invalid or revoked key.
403The key lacks the
productions scope (code api_key_missing_scope), or its owner has view-only access to the workspace (code forbidden).404No such endpoint or workspace for this key (code
not_found).429Rate limited, or a monthly cap reached.
503Webhooks are not switched on for this server (code
disabled). Every webhook route answers this while they are off.200 response body
| Field | Type | Description |
|---|---|---|
deliveriesrequired | object[] | |
deliveries[].idrequired | uuid | |
deliveries[].endpointIdrequired | uuid | |
deliveries[].productionIdrequired | uuid | null | |
deliveries[].eventrequired | enum | One of: production.pitch_ready, production.skipped, production.greenlit, production.progress, production.delivered, production.failed, production.declined, production.cancelled, ping |
deliveries[].statusrequired | enum | One of: pending, succeeded, exhausted |
deliveries[].attemptsrequired | integer | |
deliveries[].nextAttemptAtrequired | datetime | null | |
deliveries[].lastResponseStatusrequired | integer | null | |
deliveries[].lastResponseBodyrequired | string | null | |
deliveries[].lastErrorrequired | string | null | |
deliveries[].lastAttemptAtrequired | datetime | null | |
deliveries[].deliveredAtrequired | datetime | null | |
deliveries[].createdAtrequired | datetime |
Example
curl https://api.raylight.app/v1/webhooks/$ID/deliveries \ -H "Authorization: Bearer $RAYLIGHT_API_KEY"