Webhooks
An endpoint’s delivery log
Needs the webhooks:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidpage?integerRange
1 <= value <= 1000Default
1state?stringValue in
"PENDING""DELIVERED""FAILED""DEAD_LETTER"Success
application/json- response
data*array<>total*integerRange
-9007199254740991 <= value <= 9007199254740991curl '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}