Webhooks

Retrieve a webhook delivery

exx extension: one delivery with the exact JSON body sent and every attempt (status, duration, error, the start of the endpoint's answer), oldest first. In the dashboard, `response_excerpt` is `null` for a role with neither the `logs` nor the `send` permission.

GET
/webhooks/{id}/deliveries/{delivery_id}

exx extension: one delivery with the exact JSON body sent and every attempt (status, duration, error, the start of the endpoint's answer), oldest first. In the dashboard, response_excerpt is null for a role with neither the logs nor the send permission.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid
delivery_id*string
Formatuuid

Response Body

Success

application/json
  1. response

A delivery with the body it sends and every attempt so far.

attempt_count*integer

Attempts since the delivery started (or was last replayed).

Formatint32
attempts*array<>

The latest attempts (at most webhooks.toml [log] max_attempts_shown), oldest first, earlier runs included.

created_at*string
delivered_at?string|null
event_id*string
Formatuuid
event_type*string
id*string
Formatuuid
last_status?|
Formatint32
next_attempt_at?string|null
object*string
payload*unknown

The JSON body posted to the endpoint.

status*string
webhook_id*string
Formatuuid
Example Request
curl -X GET 'https://api.exx.sh/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "attempt_count": 0,  "attempts": [    {      "attempt": 0,      "duration_ms": 0,      "error": "string",      "replay": true,      "response_excerpt": "string",      "started_at": "string",      "status": 0    }  ],  "created_at": "string",  "delivered_at": "string",  "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",  "event_type": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "last_status": 0,  "next_attempt_at": "string",  "object": "string",  "payload": null,  "status": "string",  "webhook_id": "a47606a1-5b39-4a81-9480-c2cb738ff675"}