Skip to Content
TrackCrest Docs

Webhook deliveries

Recent deliveries: status, attempts, the endpoint's last answer and the next retry.

GET
/api/v1/network/webhooks/{publicId}/deliveries

Requires scope webhooks:write.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Path Parameters

publicId*integer
Formatint32

Query Parameters

page?integer
Formatint32
pageSize?integer
Formatint32

Response Body

OK

application/json
  1. response
data?array<>
pagination?
Example Request
curl -X GET 'https://trakcrt.com/api/v1/network/webhooks/0/deliveries'
Example Response
{  "data": [    {      "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c",      "eventType": "string",      "status": "string",      "attempts": 0,      "lastStatusCode": 0,      "lastError": "string",      "createdAt": "2019-08-24T14:15:22Z",      "deliveredAt": "2019-08-24T14:15:22Z",      "nextAttemptAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "page": 0,    "pageSize": 0,    "totalCount": 0,    "totalPages": 0  }}