Skip to content

Get a webhook endpoint

GET /v1/webhooks/endpoints/{endpointId}

Returns one webhook endpoint: its URL, events, servers, status, and how its deliveries have gone lately (failingSince, lastSuccessAt, lastFailureAt). Never its signing secret.

Scopes

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

webhooks:read
View webhooks. See webhook endpoints and their deliveries.

Path parameters

FieldType and description
endpointId Required

string

The endpoint's id.

Example request

curl "https://api.rabbitflare.com/v1/webhooks/endpoints/3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

200 OK Returns the WebhookEndpoint object in data.

The WebhookEndpoint object's fields 13 fields
FieldType and description
id

string

The endpoint's id.

url

string

Where events are sent: an https URL on port 443 or 8443.

description

string or null

Your own note about the endpoint, or null.

events

array of strings

The event types sent to it (see GET /webhooks/event-types), or ["*"] for every type, including types added later. An endpoint added through the API is sent only the types its token may read now.

allServers

boolean

Whether it gets events of every server (and of account-wide things). False: only those in serverIds, and account-wide events.

serverIds

array of strings

The servers whose events it gets, when allServers is false. Empty when allServers is true.

status

string

enabled: events are sent to it. disabled: nothing is sent until it's turned on again.

Known values: enableddisabled More can appear.

disabledReason

string or null

Why it's off: user, token, failing or admin. null while it's on.

Known values: usertokenfailingadmin More can appear.

failingSince

string or null An ISO 8601 time, in UTC

Since when its deliveries have failed with no success in between. null: it isn't failing. After 5 days of failures it's turned off.

lastSuccessAt

string or null An ISO 8601 time, in UTC

When a delivery to it last succeeded, or null.

lastFailureAt

string or null An ISO 8601 time, in UTC

When a delivery attempt to it last failed, or null.

createdAt

string An ISO 8601 time, in UTC

When it was added.

updatedAt

string An ISO 8601 time, in UTC

When its settings last changed.

Example response

200 OK
{
  "data": {
    "id": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
    "url": "https://hooks.example.com/rabbitflare",
    "description": "Deploy notifications",
    "events": [
      "server.ready",
      "site.ready",
      "site.install_failed"
    ],
    "allServers": true,
    "serverIds": [],
    "status": "enabled",
    "disabledReason": null,
    "failingSince": null,
    "lastSuccessAt": "2026-11-18T09:12:03.000Z",
    "lastFailureAt": null,
    "createdAt": "2026-11-18T08:46:49.000Z",
    "updatedAt": "2026-11-18T08:46:49.000Z"
  }
}

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.

Rate limit

Read requests: 120 a minute per token, 240 per account. More in Rate limits.

Added on .

Popular

API docs