API referenceWebhooks
list_webhook_deliveries
GET /v1/webhook_deliveries: lists deliveries, newest first.
GET
Lists deliveries, newest first. Finished deliveries are kept for 30 days.
Query parameters
| Field | Type | Description |
|---|---|---|
endpoint_id | string | |
event_id | string | |
status | pending, succeeded, failed, cancelled | |
limit | integer | |
after | string | The last record's |
Responses
A page of deliveries.
| Field | Type | Description |
|---|---|---|
data | array of object | |
has_more | boolean |
| Field | Type | Description |
|---|---|---|
id | string |
|
endpoint_id | string | |
event_id | string | |
event_type | string | |
status | pending, succeeded, failed, cancelled | |
attempts | integer | |
response_status | integer or null | The HTTP status your endpoint answered with. |
error | string | |
next_attempt_at | string or null | |
created_at | string | |
attempted_at | string or null | |
finished_at | string or null |
| Status | Type and when |
|---|---|
401 |
|
Every error has the same shape; see Errors.
Examples
curl -X GET 'https://api.finic.ai/v1/webhook_deliveries' \ -H "Authorization: Bearer $FINIC_API_KEY"Example Response
{ "data": [ { "id": "string", "endpoint_id": "string", "event_id": "string", "event_type": "string", "status": "pending", "attempts": 0, "response_status": 0, "error": "string", "next_attempt_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "attempted_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z" } ], "has_more": true}