v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Endpoint

Recover Failed Webhooks

Resend all failed messages since a given time.

Messages that were sent successfully, even if failed initially, are not resent.

A completed task will return a payload like the following:

{
  "id": "qtask_33qen93MNuelBAq1T9G7eHLJRsF",
  "status": "finished",
  "task": "endpoint.recover",
  "data": {
    "messagesSent": 2
  }
}
post/api/v1/app/{app_id}/endpoint/{endpoint_id}/recover

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

endpoint_idstring required

The Endpoint's ID or UID.

Example:unique-identifier

The Endpoint's ID or UID.

Headers

idempotency-keystring

The request's idempotency key

Request body

sincestring date-time required
untilstring date-time nullable

Response

idstring required

The QueueBackgroundTask's ID.

status'running' | 'finished' | 'failed' required
task'endpoint.replay' | 'endpoint.recover' | 'application.stats' | 'message.broadcast' | 'sdk.generate' | 'event-type.aggregate' | 'application.purge_content' | 'endpoint.bulk-replay' required
updatedAtstring date-time required

Example response

{
  "id": "qtask_1srOrx2ZWZBpBUvZwXKQmoEYga2"
}