Get webhook delivery
curl --request GET \
--url https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries/{delivery_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries/{delivery_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries/{delivery_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"attempt_count": 123,
"attempts": [
{
"attempt_number": 123,
"created_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"response_body": "<string>",
"status_code": 123,
"error_message": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"endpoint_id": "<string>",
"event_type": "<string>",
"id": "<string>",
"payload": {},
"response_duration_ms": 123,
"response_status_code": 123,
"status": "<string>"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Webhooks
Get webhook delivery
Returns the full record of a single webhook delivery attempt, including request payload, response status, response body excerpt, and timing.
GET
/
webhooks
/
{webhook_id}
/
deliveries
/
{delivery_id}
Get webhook delivery
curl --request GET \
--url https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries/{delivery_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries/{delivery_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries/{delivery_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"attempt_count": 123,
"attempts": [
{
"attempt_number": 123,
"created_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"response_body": "<string>",
"status_code": 123,
"error_message": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"endpoint_id": "<string>",
"event_type": "<string>",
"id": "<string>",
"payload": {},
"response_duration_ms": 123,
"response_status_code": 123,
"status": "<string>"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Authorizations
Response
OK