Get a webhook delivery
curl --request GET \
--url https://{host}/v1/webhook-deliveries/{deliveryId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/webhook-deliveries/{deliveryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/webhook-deliveries/{deliveryId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "<string>",
"event": "<string>",
"status": "<string>",
"attempts": 123,
"date_created": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"last_status_code": 123,
"last_error": "<string>",
"succeeded_at": "2023-11-07T05:31:56Z",
"payload": "<string>",
"attempt_history": [
{
"number": 123,
"trigger": "<string>",
"url": "<string>",
"duration_ms": 123,
"attempted_at": "2023-11-07T05:31:56Z",
"status_code": 123,
"response_body": "<string>",
"error": "<string>"
}
]
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}Webhook deliveries
Get a webhook delivery
One delivery: the body sent and every try, with the status and the start of the answer.
Required permission: feature:WEBHOOKS, webhooks:manage
GET
/
v1
/
webhook-deliveries
/
{deliveryId}
Get a webhook delivery
curl --request GET \
--url https://{host}/v1/webhook-deliveries/{deliveryId} \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/webhook-deliveries/{deliveryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/webhook-deliveries/{deliveryId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "<string>",
"event": "<string>",
"status": "<string>",
"attempts": 123,
"date_created": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"last_status_code": 123,
"last_error": "<string>",
"succeeded_at": "2023-11-07T05:31:56Z",
"payload": "<string>",
"attempt_history": [
{
"number": 123,
"trigger": "<string>",
"url": "<string>",
"duration_ms": 123,
"attempted_at": "2023-11-07T05:31:56Z",
"status_code": 123,
"response_body": "<string>",
"error": "<string>"
}
]
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}