List webhook deliveries
curl --request GET \
--url https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries', 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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"data": [
{
"attempt_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"event_type": "<string>",
"id": "<string>",
"response_duration_ms": 123,
"response_status_code": 123,
"status": "<string>"
}
],
"next_cursor": "<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
List webhook deliveries
Returns recent delivery attempts for a webhook endpoint. Optionally filter by status (success, failed, pending) or event_type. Cursor-paginated.
GET
/
webhooks
/
{webhook_id}
/
deliveries
List webhook deliveries
curl --request GET \
--url https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/webhooks/{webhook_id}/deliveries', 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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 123,
"data": [
{
"attempt_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"event_type": "<string>",
"id": "<string>",
"response_duration_ms": 123,
"response_status_code": 123,
"status": "<string>"
}
],
"next_cursor": "<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"
}