Skip to content

List event types

GET /v1/webhooks/event-types

Lists every event type that can be sent to a webhook endpoint (and listed by GET /events), with its group and what it means. Any valid token can read it.

New types are added over time; your receiver should accept, and may ignore, types it doesn't know.

Scopes

Any valid token can make this request.

Query parameters

FieldType and description
limit

integer 1 to 100 Default 25

How many items to return, from 1 to 100. Default 25.

cursor

string 1 to 1,024 characters

The nextCursor of the previous page, exactly as it was given. Leave it out for the first page.

sort

string Default type

The field to sort by. Each list names the fields it can be sorted by.

One of: typecategory

order

string Default asc

asc (smallest or oldest first) or desc. Each list has its own default.

One of: ascdesc

category

string

Only the types of this group.

One of: serverssitesbackupsstagingmalwaresupportapi

Example request

curl "https://api.rabbitflare.com/v1/webhooks/event-types?category=sites" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

200 OK Returns a list of EventType objects in data, with a Pagination object in pagination.

The EventType object's fields 3 fields
FieldType and description
type

string

The event type, as events and webhooks name it.

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.

category

string

The group it belongs to: servers, sites, backups, staging, domains, billing, mail, support or api.

Known values: serverssitesbackupsstagingmalwaresupportapi More can appear.

description

string

What it means, in one line.

Example response

200 OK
{
  "data": [
    {
      "type": "site.ready",
      "category": "sites",
      "description": "A site finished installing and is live."
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": 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
400 invalid_parameter

A query parameter is unknown or has a wrong value (fields names it), or the query is too long: over 16,384 characters, or a parameter's name over 64.

Correct or remove the parameter named in fields.

400 invalid_cursor

The cursor isn't one this list gave, or was made with other filters or another sort.

Start again from the first page, or keep the filters and sort the cursor was made with.

Rate limit

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

Added on .

Popular

API docs