Skip to content

Send a delivery again

POST /v1/webhooks/deliveries/{deliveryId}/actions/redeliver

Sends a delivery again, now: the same payload, with a new signature. It becomes pending and its attempts keep counting; its history stays. Useful for a delivery that failed while your endpoint was down.

Limits. 60 an hour per account. A delivery that is already waiting for its next attempt is sent at once; the endpoint must be turned on (409 invalid_state otherwise).

Scopes

The token needs this scope. Without it, the request is refused with insufficient_scope (see Scopes).

webhooks:write
Manage webhooks. Add, change and remove webhook endpoints.

Headers

FieldType and description
Idempotency-Key

string 1 to 255 characters

A key of your own for this request, like a UUID: letters, digits and _ - : . Send the request again with the same key (after a timeout, say) and it's done only once. Keys are kept for 24 hours (see Idempotency).

Path parameters

FieldType and description
deliveryId Required

string

The delivery's id (the Rabbitflare-Delivery-Id header).

Example request

curl -X POST "https://api.rabbitflare.com/v1/webhooks/deliveries/8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a/actions/redeliver" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

200 OK Returns the WebhookDeliveryDetail object in data.

The WebhookDeliveryDetail object's fields 42 fields
FieldType and description
id

string

The delivery's id (the Rabbitflare-Delivery-Id header).

endpointId

string

The endpoint it was sent to.

eventId

string

The event's id (the payload's id): the same for every endpoint and every attempt. A test event's starts with ping_.

eventType

string

The event's type.

state

string

pending (an attempt is due), succeeded (your endpoint answered 2xx) or failed (it gave up after 8 attempts, the endpoint answered 410 Gone, or the endpoint was turned off).

Known values: pendingsucceededfailed More can appear.

attempts

integer

Attempts made so far.

nextAttemptAt

string or null An ISO 8601 time, in UTC

When the next attempt is due, while it's pending; otherwise null.

lastStatus

integer or null

The HTTP status your endpoint last answered, or null (no answer: a timeout, a refused connection, or no attempt yet).

lastError

string or null

Why the last attempt failed, in words, or null.

deliveredAt

string or null An ISO 8601 time, in UTC

When it succeeded, or null.

createdAt

string An ISO 8601 time, in UTC

When it was queued.

payload

object

The JSON body of a webhook call. Thin on purpose: what happened, who did it, where, and a link to the resource; read the resource with the API for its full state. Signed in the Rabbitflare-Signature header.

id

string

The event's id: the same for every endpoint and every attempt. Remember it to ignore an event you've handled.

type

string

The event type.

Known values: server.createdserver.readyserver.provisioning_failedserver.powered_onserver.powered_offserver.rebootedserver.resizedserver.snapshot_createdserver.snapshot_deletedserver.restoredserver.unreachableserver.missingserver.suspendedserver.resumedserver.deletedserver.security_enabledserver.security_disabledserver.security_failedsite.createdsite.readysite.install_failedsite.deletedsite.delete_failedsite.domain_addedsite.domain_verifiedsite.domain_removedsite.primary_domain_changedsite.domains_updatedsite.domains_failedsite.cdn_enabledsite.cdn_disabledsite.cdn_failedsite.cdn_purgedsite.cdn_purge_failedsite.cdn_hostname_readysite.cdn_hostname_failedsite.clonedsite.clone_failedsite.resources_updatedsite.resources_failedsite.firewall_updatedsite.firewall_failedmedia_offload.enabledmedia_offload.disabledmedia_offload.failedmedia_offload.run_completedmedia_offload.run_failedsmtp.enabledsmtp.disabledsmtp.pausedsmtp.resumedrabbitpress.installedrabbitpress.removedrabbitpress.failedbackup.startedbackup.completedbackup.failedbackup.restore_startedbackup.restoredbackup.restore_failedbackup.delete_failedstaging.createdstaging.refreshedstaging.pushedstaging.push_undonestaging.failedstaging.deletedstaging.needs_attentionmalware_protection.enabledmalware_protection.disabledmalware.foundmalware.cleanedmalware.warningticket.openedticket.answeredapi_token.createdapi_token.revokedwebhook_endpoint.disabledping More can appear.

apiVersion

string

The API version the payload follows: v1.

createdAt

string An ISO 8601 time, in UTC

When the event happened.

accountId

string

The account it happened on.

data

object

Who did what, where, and the resource to read for the full state.

Show its 7 fields
FieldType and description
level

string

How it went: info, success, warning or error.

Known values: infosuccesswarningerror More can appear.

message

string

What happened, as one sentence for people.

actor

object

Who or what made the event happen.

type

string

Who did it: user (a person in the panel), api_token (a call with an API token), system (Rabbitflare on its own) or support (Rabbitflare's support team).

Known values: userapi_tokensystemsupport More can appear.

name

string or null

The team member's or API token's name. null for the account's owner, for Rabbitflare and for support.

server

object or null

The server it was about, or null.

id

string

Its id.

name

string

Its name.

site

object or null

The site it was about, or null.

id

string

Its id.

name

string

Its name.

mailDomain

object or null

The mail domain it was about, or null.

id

string

Its id.

name

string

Its name.

resource

object

The most specific thing an event is about, and where to read its full state.

type

string

The kind of thing: site, server, domain (a registered domain), mail_domain, account, or webhook_endpoint (in webhook_endpoint.disabled, the endpoint turned off).

Known values: siteserverdomainmail_domainaccountwebhook_endpoint More can appear.

id

string

Its id.

url

string or null

Where to read it with the API, or null when there is no single resource to read. Always null for a webhook_endpoint: read it by its id (GET /webhooks/endpoints/{id}, with webhooks:read).

responseExcerpt

string or null

The first 1 KB of your endpoint's last answer, or null.

attemptLog

array of objects

The last 10 attempts, oldest first.

at

string An ISO 8601 time, in UTC

When the attempt was made.

status

integer or null

The HTTP status your endpoint answered, or null when it didn't answer.

ms

integer

How long it took, in milliseconds.

error

string or null

Why it failed, in words, or null when it succeeded.

Example response

200 OK
{
  "data": {
    "id": "8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
    "endpointId": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
    "eventId": "5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60",
    "eventType": "site.ready",
    "state": "pending",
    "attempts": 8,
    "nextAttemptAt": "2026-11-20T09:00:00.000Z",
    "lastStatus": 500,
    "lastError": "Your server answered 500.",
    "deliveredAt": null,
    "createdAt": "2026-11-18T08:46:50.000Z",
    "payload": {
      "id": "5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60",
      "type": "site.ready",
      "apiVersion": "v1",
      "createdAt": "2026-11-18T08:46:49.000Z",
      "accountId": "0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11",
      "data": {
        "level": "success",
        "message": "“Blog” is live at https://blog-k3x9q.rabbitflare.link",
        "actor": {
          "type": "system",
          "name": null
        },
        "server": {
          "id": "6f0c6c0e-5d0b-4b53-9a7e-2f1a3a6d7b11",
          "name": "web-1"
        },
        "site": {
          "id": "9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b",
          "name": "Blog"
        },
        "mailDomain": null,
        "resource": {
          "type": "site",
          "id": "9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b",
          "url": "https://api.rabbitflare.com/v1/sites/9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b"
        }
      }
    },
    "responseExcerpt": "ok",
    "attemptLog": [
      {
        "at": "2026-11-18T08:46:51.000Z",
        "status": 200,
        "ms": 182,
        "error": null
      }
    ]
  }
}

Errors

The errors this request can answer besides those every request can (a missing token, a missing scope, the rate limits). Each answer is an Error object (see Errors).

Status and codeWhen, and what to do
404 not_found

The resource doesn't exist, or isn't this account's.

Check the id. Ids of other accounts' resources answer the same way.

409 invalid_state

The resource's status doesn't allow this now (for example, powering on a server that is running). message says why.

Check the resource's status, then do what message says.

429 rate_limited

Too many requests. scope says which limit: token, account, create, operation or network.

Wait for Retry-After seconds, then go on more slowly.

Rate limit

Write requests: 30 a minute per token, 60 per account. More in Rate limits.

Added on .

Popular

API docs