API referenceWebhooks

list_webhook_deliveries

GET /v1/webhook_deliveries: lists deliveries, newest first.

GET
/v1/webhook_deliveries

Lists deliveries, newest first. Finished deliveries are kept for 30 days.

Query parameters

FieldTypeDescription
endpoint_idstring
event_idstring
statuspending, succeeded, failed, cancelled
limitinteger
afterstring

The last record's id on the page before, for the next page.

Responses

A page of deliveries.

FieldTypeDescription
dataarray of object
has_moreboolean

FieldTypeDescription
idstring

whd_…

endpoint_idstring
event_idstring
event_typestring
statuspending, succeeded, failed, cancelled
attemptsinteger
response_statusinteger or null

The HTTP status your endpoint answered with.

errorstring
next_attempt_atstring or null
created_atstring
attempted_atstring or null
finished_atstring or null

Examples

Example Request
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}