Skip to content

List support tickets

GET /v1/tickets

Lists the account's support tickets, the most recently active first (by lastMessageAt), without their conversations: GET /tickets/{ticketRef} has a ticket's messages. The 200 most recently active tickets are listed; an older one is read by its id.

A token limited to some servers lists the account's general tickets and those about its servers.

Scopes

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

support:read
View tickets. Read this account's support tickets.

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 lastMessageAt

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

One of: lastMessageAtcreatedAt

order

string Default desc

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

One of: ascdesc

status

string

Only tickets in this status: open (waiting for support), answered (waiting for you) or closed.

One of: openansweredclosed

Example request

curl "https://api.rabbitflare.com/v1/tickets?status=answered" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

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

The TicketSummary object's fields 17 fields
FieldType and description
id

string

The ticket's reference, like RF-7KQ2MX: its id here (ticketRef in paths), in the panel and in the emails about it.

subject

string

The ticket's subject.

status

string

Where it stands: open (waiting for support: new, or you wrote last), answered (support replied and waits for you) or closed (closed by you, by support, or by itself after reminders went unanswered).

Known values: openansweredclosed More can appear.

topic

string

What it's about: server (a server or site problem), billing, domains (domains and SSL), cdn, migration (moving a site to Rabbitflare), account (the account and signing in), sales (plans and features) or other.

Known values: serverbillingdomainscdnmigrationaccountsalesother More can appear.

priority

string

How urgent it was when opened: normal (a general question), high (something isn't working) or urgent (a site is down).

Known values: normalhighurgent More can appear.

about

string or null

The site or server it's about, as the panel shows it: Site: <name> or Server: <name>, with the name it had when the ticket was opened. Null: the account in general.

messageCount

integer

How many messages the conversation has.

preview

string

The start of the latest message, as plain text on one line (up to 180 characters). Empty when it was only files.

lastMessageAt

string An ISO 8601 time, in UTC

When the latest message was sent.

lastReplyBy

string

Who wrote the latest message: customer (your side) or support.

Known values: customersupport More can appear.

autoCloseAt

string or null An ISO 8601 time, in UTC

While support's answer waits for you (answered): when the ticket closes by itself if nobody writes, after a reminder and a final reminder by email. Null otherwise.

remindersSent

integer

Reminders emailed since support's latest answer: 0, 1 or 2.

rating

object or null

Your rating of the help, once given. Null: not rated.

rating

string

How you rated the help: great, okay or not_good.

Known values: greatokaynot_good More can appear.

comment

string or null

What you wrote with it. Null: nothing.

ratedAt

string An ISO 8601 time, in UTC

When it was rated.

createdAt

string An ISO 8601 time, in UTC

When the ticket was opened.

Example response

200 OK
{
  "data": [
    {
      "id": "RF-7KQ2MX",
      "subject": "Checkout page shows a 502 error",
      "status": "answered",
      "topic": "server",
      "priority": "high",
      "about": "Site: Shop",
      "messageCount": 2,
      "preview": "Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout pa",
      "lastMessageAt": "2026-11-16T10:12:40.000Z",
      "lastReplyBy": "support",
      "autoCloseAt": "2026-11-22T10:13:05.000Z",
      "remindersSent": 1,
      "rating": null,
      "createdAt": "2026-11-16T09:58:02.000Z"
    }
  ],
  "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