Skip to content

List support tickets

GET/tickets

Overview

Lists account support tickets, newest first, across all teams. There are no filters or pagination; filter the returned list locally. statuses and priorities list possible values. search_truncated is true if more tickets exist than were returned, and search_scan_limit is the number checked. Ticket messages are omitted; fetch an individual ticket to read its conversation.

Permissions

Requires the account permission tickets.read (View support tickets).

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/tickets' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
{
  "statuses": [
    "Open",
    "Answered",
    "Customer-Reply",
    "In Progress",
    "On Hold",
    "Closed"
  ],
  "priorities": [
    "Low",
    "Medium",
    "High"
  ],
  "search_truncated": false,
  "search_scan_limit": 500,
  "items": [
    {
      "id": 5316,
      "number": "NQX-482913",
      "subject": "Packet loss on lambda-core",
      "status": "Open",
      "priority": "Medium",
      "department": "Technical Support",
      "opened_at": "2026-09-14T09:12:44+00:00",
      "last_replied_at": "2026-09-14T09:12:44+00:00",
      "awaiting_customer": false,
      "closed": false,
      "service": null,
      "server": {
        "id": "ecc6f4f1-c89b-4dce-a20b-a330641c5b0b",
        "uuid_short": "ecc6f4f1",
        "name": "lambda-core",
        "hostname": "lambda-core.blackmesa.example.com",
        "template_name": "Ubuntu 24.04",
        "template_icon_url": "/assets/icons/ubuntu.png",
        "windows": false
      }
    }
  ]
}

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Response 200

application/json

The record, as a JSON object. There is no envelope.

statusesstring[]required

The value of statuses.

prioritiesstring[]required

The value of priorities.

search_truncatedbooleanrequired

The value of search_truncated.

search_scan_limitintegerrequired

The value of search_scan_limit.

itemsobject[]required

The tickets, newest first. The messages field is left out here.

Show child attributes
idintegerrequired

The id ID.

numberstringrequired

The ticket reference sent by email, such as #ABC-123456. Use the numeric ticket ID for API requests.

subjectstringrequired

The subject line for the message.

statusstringrequired

The value of status.

prioritystring | nullrequired

The value of priority.

departmentstring | nullrequired

The value of department.

opened_atstring | nullrequired

The date and time for opened at, in UTC.

last_replied_atstring | nullrequired

The date and time for last replied at, in UTC.

awaiting_customerbooleanrequired

Whether the customer is the one being waited on.

closedbooleanrequired

The value of closed.

servicestring | nullrequired

The value of service.

serverobject | nullrequired

The machine it is about, where the service names one. Enough of it to draw the badge the customer recognises and to link to it.

Show child attributes
idstringrequired

The id ID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

hostnamestringrequired

The fully qualified hostname.

template_namestring | nullrequired

The value of template_name.

template_icon_urlstring | nullrequired

The value of template_icon_url.

windowsbooleanrequired

The value of windows.

messagesobject[] | null

The conversation, oldest first, and only where it was asked for.

Show child attributes
idintegerrequired

The id ID.

authorstring | nullrequired

Staff are shown by whatever name the installation puts on their replies, which is often a role rather than a person and is the name the customer already sees in the ticket emails.

is_staffbooleanrequired

Whether the resource is staff.

is_assistantbooleanrequired

A staff reply written by the AI assistant rather than a person.

posted_atstring | nullrequired

The date and time for posted at, in UTC.

bodystringrequired

The message body.

attachmentsobject[]required

The value of attachments.

Show child attributes
indexintegerrequired

The value of index.

filenamestringrequired

The value of filename.

urlstringrequired

The complete URL.

Errors

400
Support tickets are unavailable because billing is not configured.
401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.