Sluby
REST APIWebhooks

The endpoint's latest delivery attempts, newest first.

One entry per attempt: id, event_id, event, status_code, delivered, error, attempt (1 for the first try), created_at, the payload that was sent, and manual (true for a resend). Response bodies are never stored. Attempts are kept for 30 days.

GET
/api/v1/webhooks/{id}/deliveries

One entry per attempt: id, event_id, event, status_code, delivered, error, attempt (1 for the first try), created_at, the payload that was sent, and manual (true for a resend). Response bodies are never stored. Attempts are kept for 30 days.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.

Path Parameters

id*string

Endpoint id.

Query Parameters

limit?integer

How many attempts to return.

Range1 <= value <= 100
Default50

Response Body

Attempts.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://sluby.example.com/api/v1/webhooks/string/deliveries'
Example Response
{  "data": [    {      "id": "string",      "event_id": "string",      "event": "string",      "status_code": 0,      "delivered": true,      "error": "string",      "attempt": 1,      "created_at": "2019-08-24T14:15:22Z",      "payload": {},      "manual": true    }  ]}