Skip to Content
Developers
Webhooks

An endpoint’s delivery log

Needs the webhooks:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/webhooks/{id}/deliveries

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Query Parameters

page?integer
Range1 <= value <= 1000
Default1
state?string
Value in"PENDING""DELIVERED""FAILED""DEAD_LETTER"

Response Body

Success

application/json
  1. response
data*array<>
total*integer
Range-9007199254740991 <= value <= 9007199254740991
Example Request
curl 'https://api.traki.io/v1/account/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/deliveries' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "endpoint": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "code": "string",        "url": "string"      },      "eventId": "string",      "eventType": "string",      "attempts": -9007199254740991,      "state": "PENDING",      "nextAttemptAt": "2019-08-24T14:15:22Z",      "lastAttemptAt": "2019-08-24T14:15:22Z",      "lastResponseCode": -9007199254740991,      "lastError": "string",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "total": -9007199254740991}