API referenceWebhooks
retry_webhook_delivery
POST /v1/webhook_deliveries/{id}/retry: sends a delivery again, from its first attempt.
POST
Sends a delivery again, from its first attempt.
Responses
The delivery.
| 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 |
|
404 |
|
Every error has the same shape; see Errors.
Examples
curl -X POST 'https://api.finic.ai/v1/webhook_deliveries/string/retry' \ -H "Authorization: Bearer $FINIC_API_KEY"Example Response
{ "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"}