Skip to content

Reopen a support ticket

POST /v1/tickets/{ticketRef}/actions/reopen

Reopens a closed ticket: it goes back to support's queue (status becomes open). A ticket that isn't closed is answered as it is. Replying (POST /tickets/{ticketRef}/messages) reopens one too.

Scopes

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

support:write
Open and answer tickets. Open support tickets and reply to them.

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
ticketRef Required

string

The ticket's id: its reference, like RF-7KQ2MX (any case).

Example request

curl -X POST "https://api.rabbitflare.com/v1/tickets/RF-7KQ2MX/actions/reopen" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

200 OK Returns the Ticket object in data.

The Ticket object's fields 35 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.

messages

array of objects

The conversation, oldest message first.

id

string

The message's id.

author

string

Who wrote it: customer (your side) or support (Rabbitflare's support team).

Known values: customersupport More can appear.

authorName

string

The writer's name: on your side, the person who wrote it (a message sent through the API carries the account owner's name); on support's, always Rabbitflare Support.

body

string

The message as plain text. Empty when it was only files.

html

string or null

The message with its formatting, as HTML cleaned to simple formatting (paragraphs, bold, lists, links, quotes, code, tables). Null for a plain-text message.

via

string

How it was written: panel (in the panel, or through the API) or email (a reply by email).

Known values: panelemail More can appear.

createdAt

string An ISO 8601 time, in UTC

When it was sent.

files

array of objects

The files sent with it, in the order they were uploaded.

Show its 4 fields
FieldType and description
id

string

The file's id: what fileIds takes, and what GET /tickets/{ticketRef}/files/{fileId} downloads once it's sent.

filename

string

The file's name, as it's downloaded.

contentType

string

The file's type, found from its bytes: a PNG, JPEG, GIF or WebP picture, a PDF, or plain text.

Known values: image/pngimage/jpegimage/gifimage/webpapplication/pdftext/plain More can appear.

sizeBytes

integer

The file's size, in bytes.

history

array of objects

Reminders, closing and reopening, oldest first.

id

string

The entry's id.

kind

string

What happened: reminder and final_reminder (support's answer waited for you, and a reminder was emailed), auto_closed (it closed by itself after the final reminder), closed or reopened.

Known values: reminderfinal_reminderauto_closedclosedreopened More can appear.

by

string or null

Who closed or reopened it: customer (your side) or support. Null for the reminders and the automatic closing.

Known values: customersupport More can appear.

createdAt

string An ISO 8601 time, in UTC

When it happened.

Example response

200 OK
{
  "data": {
    "id": "RF-7KQ2MX",
    "subject": "Checkout page shows a 502 error",
    "status": "open",
    "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": null,
    "remindersSent": 0,
    "rating": null,
    "createdAt": "2026-11-16T09:58:02.000Z",
    "messages": [
      {
        "id": "9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a",
        "author": "customer",
        "authorName": "Jane Doe",
        "body": "Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.",
        "html": null,
        "via": "panel",
        "createdAt": "2026-11-16T09:58:02.000Z",
        "files": [
          {
            "id": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
            "filename": "checkout-error.png",
            "contentType": "image/png",
            "sizeBytes": 184320
          }
        ]
      },
      {
        "id": "2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d",
        "author": "support",
        "authorName": "Rabbitflare Support",
        "body": "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 page loads again. Could you try an order?",
        "html": "<p>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 page loads again. Could you try an order?</p>",
        "via": "email",
        "createdAt": "2026-11-16T10:12:40.000Z",
        "files": []
      }
    ],
    "history": [
      {
        "id": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
        "kind": "reminder",
        "by": null,
        "createdAt": "2026-11-18T10:13:05.000Z"
      },
      {
        "id": "0c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f",
        "kind": "closed",
        "by": "customer",
        "createdAt": "2026-11-19T08:29:47.000Z"
      },
      {
        "id": "3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7",
        "kind": "reopened",
        "by": "customer",
        "createdAt": "2026-11-19T09:02:11.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

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

Added on .

Popular

API docs