Get support ticket

Return one support ticket with the opening body, root attachments, and conversation messages. id should normally come from GET /api/v2/support/tickets data[].id; the route also accepts the numeric support ticket number during migration.

Support Tickets

Authentication

Required API scope: read:support

Use Authorization: Bearer <token> for API keys. Dashboard sessions may also use hostup_session.

Context

Path Parameters

id string required Example: tkt_01hxa3b4c5d6e7f8g9h0j1k2m3

Public support ticket ID. Get it from GET /api/v2/support/tickets `data[].id`. Numeric ticket numbers are accepted during migration. Do not invent this value; use the exact ID returned by the referenced API response.

Headers

Accept Example
Content-Type Example

Responses

200 Support ticket.
id string · Example: tkt_01hxa3b4c5d6e7f8g9h0j1k2m3
number string · Example: 149943

Customer-facing support ticket number. Normally numeric; public IDs are exposed separately as id.

subject stringnull · Example: Question about my VPS
body stringnull · Example: My VPS is not reachable from the internet.

Only present on ticket detail/create responses.

status string · enum · Example: open
open
answered
customer_reply
in_progress
on_hold
closed
unknown
priority string · enum · Example: low
low
medium
high
urgent
critical
departmentSlug string · Example: billing
departmentName stringnull · Example: Billing
createdAt stringnull · Example: 2026-04-27T11:45:00.000Z
updatedAt stringnull · Example: 2026-04-27T12:05:00.000Z
lastMessageAt stringnull · Example: 2026-04-27T12:05:00.000Z
ccEmails array<string> · Example: ["[email protected]"]
requesterName stringnull · Example: Jane Example
messageCount integer · Example: 2
linkedServices array<object>
linkedServices[].serviceType string required · Example: vps
linkedServices[].serviceId stringnull required · Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3
linkedServices[].serviceName stringnull required · Example: app-01
linkedServices[].details objectnull required · Example: {"status":"active","planName":"VPS XS","ipAddress":"192.0.2.10"}
attachments array<object>

Only present on ticket detail/create responses.

attachments[].id string required · Example: tatt_01hxa3b4c5d6e7f8g9h0j1k2m3
attachments[].filename stringnull required · Example: error-log.txt
attachments[].extension stringnull required · Example: txt
attachments[].mimeType stringnull required · Example: text/plain
attachments[].downloadUrl string required · Example: /api/v2/support/attachments/tatt_01hxa3b4c5d6e7f8g9h0j1k2m3?ticketId=tkt_01hxa3b4c5d6e7...
messages array<object>

Only present on ticket detail/create responses.

messages[].id string required · Example: tmsg_01hxa3b4c5d6e7f8g9h0j1k2m3
messages[].ticketId string required · Example: tkt_01hxa3b4c5d6e7f8g9h0j1k2m3
messages[].sentAt stringnull required · Example: 2026-04-27T11:45:00.000Z
messages[].body stringnull required · Example: My VPS is not reachable from the internet.
messages[].sender string · enum required · Example: customer
customer
staff
automation
messages[].senderName stringnull required · Example: Jane Example
messages[].encrypted boolean required · Example: false
messages[].attachments array<object> required · Example: []
400 Invalid request. The response body is an RFC 7807 Problem Details document.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on `detail`.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when `code` is `invalid_request`.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
401 Unauthorized. Authentication is required.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on `detail`.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when `code` is `invalid_request`.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
403 Forbidden. The caller lacks a required scope or does not own the resource.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on `detail`.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when `code` is `invalid_request`.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
404 Not found. The resource does not exist or is not owned by the caller.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on `detail`.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when `code` is `invalid_request`.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
429 Rate limited. Retry after the limit resets. 429 responses include `Retry-After` seconds plus `X-RateLimit-*` headers.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on `detail`.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when `code` is `invalid_request`.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
500 Internal error. Retry later or contact support if the issue persists.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on `detail`.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when `code` is `invalid_request`.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
GET https://cloud.hostup.se/api/v2/support/tickets/{id}
For AI assistants
View as Markdown
cURL
curl -X GET "https://cloud.hostup.se/api/v2/support/tickets/tkt_01hxa3b4c5d6e7f8g9h0j1k2m3" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Response
{
  "id": "tkt_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "number": "930734",
  "subject": "Question about my domain",
  "body": "I need help updating my domain nameservers.",
  "status": "customer_reply",
  "priority": "low",
  "departmentSlug": "domain-names",
  "departmentName": "Domain names",
  "createdAt": "2026-04-27T11:45:00.000Z",
  "updatedAt": "2026-04-27T12:05:00.000Z",
  "lastMessageAt": "2026-04-27T12:05:00.000Z",
  "ccEmails": [],
  "requesterName": "Jane Example",
  "messageCount": 2,
  "linkedServices": [
    {
      "serviceType": "hosting",
      "serviceId": "acct_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "serviceName": "example.se",
      "details": {
        "status": "Active",
        "hostname": "example.com",
        "nextDueAt": "2026-04-27T12:34:56.000Z"
      }
    }
  ],
  "attachments": [],
  "messages": [
    {
      "id": "tmsg_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "ticketId": "tkt_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "sentAt": "2026-04-27T11:45:00.000Z",
      "body": "I need help updating my domain nameservers.",
      "sender": "customer",
      "senderName": "Jane Example",
      "encrypted": false,
      "attachments": []
    },
    {
      "id": "tmsg_01hxa3b4c5d6e7f8g9h0j1k2m4",
      "ticketId": "tkt_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "sentAt": "2026-04-27T12:05:00.000Z",
      "body": "We have checked the domain and replied with the next steps.",
      "sender": "staff",
      "senderName": "Support Team",
      "encrypted": false,
      "attachments": []
    }
  ]
}