Reopen a support ticket
POST /api/v2/support/tickets/{id}/actions/reopen
Sets a support ticket back to open and returns the updated ticket. Reopen a closed ticket before you reply to it with POST /api/v2/support/tickets/{id}/messages.
Authentication: An API key with the scope write:support. About keys and scopes
Request
Path parameters
idstringrequiredThe ticket ID (
tkt_…) or the ticket number.Example
curl -X POST "https://cloud.hostup.se/api/v2/support/tickets/tkt_01hxa3b4c5d6e7f8g9h0j1k2m3/actions/reopen" \ -H "Authorization: Bearer $HOSTUP_API_KEY" \ -H "Content-Type: application/json"Responses
200 The ticket, now with status open.
{ "id": "tkt_01hxa3b4c5d6e7f8g9h0j1k2m3", "number": "10001", "subject": "Question about my domain", "body": "I need help updating my domain nameservers.", "status": "open", "priority": "low", "departmentSlug": "domain-names", "departmentName": "Domain names", "createdAt": "2026-04-27T11:45:00.000Z", "updatedAt": "2026-04-27T12:10:00.000Z", "lastMessageAt": "2026-04-27T12:05:00.000Z", "ccEmails": [], "requesterName": "Jane Example", "messageCount": 2, "linkedServices": [ { "serviceType": "domain", "serviceId": "dom_01hxa3b4c5d6e7f8g9h0j1k2m3", "serviceName": "example.com", "details": { "status": "Active", "autoRenew": true } } ], "attachments": [], "messages": [ { "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": [] } ]}Response fields
idstringnumberstringThe ticket number shown to the customer, usually digits. The ticket ID is
id.subjectstring or nullbodystring or nullPresent only on the ticket detail and on the create response.
statusstringOne of
open, answered, customer_reply, in_progress, on_hold, closed, unknown.prioritystringOne of
low, medium, high, urgent, critical.departmentSlugstringdepartmentNamestring or nullcreatedAtstring or nullupdatedAtstring or nulllastMessageAtstring or nullccEmailsarray of stringrequesterNamestring or nullmessageCountintegerlinkedServicesarray of objectserviceTypestringserviceIdstring or nullserviceNamestring or nulldetailsobject or nullattachmentsarray of objectPresent only on the ticket detail and on the create response.
idstringfilenamestring or nullextensionstring or nullmimeTypestring or nulldownloadUrlstringmessagesarray of objectPresent only on the ticket detail and on the create response.
idstringticketIdstringsentAtstring or nullbodystring or nullsenderstringOne of
customer, staff, automation.senderNamestring or nullencryptedbooleanattachmentsarray of objectErrors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 401 | Unauthorized. Authentication is required. |
| 403 | code is forbidden. The ticket is not yours. |
| 404 | code is ticket_not_found. No ticket has this ID. |
| 429 | Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers. |
| 500 | Internal error. Retry later or contact support if the issue persists. |
| 502 | Upstream failure. A dependent provider request failed; the Problem Details code is upstream_failed. Retry later or contact support if the issue persists. |