FansquareAPI reference
Open the app

Webhook endpoints

Replay a failed delivery

POST/v1/webhooks/{endpoint_id}/failures/{failure_id}/replay

Requeues the failed delivery through the normal pipeline (fresh retry ladder).

Required scopewrite:webhooks
Rate limit30 requests per minute
curl -X POST 'https://api.fansquare.so/v1/webhooks/67a55c69-e54b-4b90-a9f9-e000f12eb3fd/failures/5bfc4962-082a-47f6-a4a8-309631c98ae6/replay' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "status": "queued"
}

Parameters

Headers

  • Fansquare-Versionstringrequired

    API version to pin. Accepts the mineral name or the release date of a version.

Path

  • endpoint_idstringrequired

    Webhook endpoint id (the id field of endpoint items).

    format uuid
  • failure_idstringrequired

    Failure id (the id field of failure items).

    format uuid

Response

Accepted, application/json

  • status"queued"required

    The delivery is queued.

curl -X POST 'https://api.fansquare.so/v1/webhooks/67a55c69-e54b-4b90-a9f9-e000f12eb3fd/failures/5bfc4962-082a-47f6-a4a8-309631c98ae6/replay' \
  -H "Authorization: Bearer $API_KEY" \
  -H "Fansquare-Version: Amethyste"
{
  "status": "queued"
}