curl --request GET \
--url https://console.advinservers.com/api/v1/client/tickets/{ticket} \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.advinservers.com/api/v1/client/tickets/{ticket}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.advinservers.com/api/v1/client/tickets/{ticket}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://console.advinservers.com/api/v1/client/tickets/{ticket}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.advinservers.com/api/v1/client/tickets/{ticket}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.advinservers.com/api/v1/client/tickets/{ticket}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.advinservers.com/api/v1/client/tickets/{ticket}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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": "https://img.icons8.com/color/48/ubuntu.png",
"windows": false
},
"url": "https://clients.advinservers.com/viewticket.php?tid=NQX-482913&c=Hx7kQ2Rm",
"messages": [
{
"id": 0,
"author": "Gordon Freeman",
"is_staff": false,
"posted_at": "2026-09-14T09:12:44+00:00",
"body": "Since about 08:30 UTC lambda-core has been dropping around 5% of packets from the Sector C labs. MTR output from 192.0.2.44 is attached. sector-c-db in the same location is not affected, so we have paused the anti-mass spectrometer test runs for now.",
"attachments": [
{
"index": 0,
"filename": "mtr-lambda-core.txt",
"url": "/api/v1/client/tickets/5316/messages/0/attachments/0"
}
]
}
]
}{
"message": "Unauthenticated."
}{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}{
"message": "Not found."
}{
"message": "Too Many Attempts."
}Get a ticket
Overview
Returns a ticket’s full conversation, oldest message first. Use the numeric id from the ticket list as {ticket}, not the emailed reference such as #ABC-123456. That reference is returned as number. Each message includes its author, whether it is from support, and attachment download URLs. Tickets belonging to another account return 404.
Permissions
Requires the account permission tickets.read (View support tickets).
curl --request GET \
--url https://console.advinservers.com/api/v1/client/tickets/{ticket} \
--header 'Authorization: Bearer <token>'import requests
url = "https://console.advinservers.com/api/v1/client/tickets/{ticket}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://console.advinservers.com/api/v1/client/tickets/{ticket}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://console.advinservers.com/api/v1/client/tickets/{ticket}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://console.advinservers.com/api/v1/client/tickets/{ticket}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://console.advinservers.com/api/v1/client/tickets/{ticket}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://console.advinservers.com/api/v1/client/tickets/{ticket}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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": "https://img.icons8.com/color/48/ubuntu.png",
"windows": false
},
"url": "https://clients.advinservers.com/viewticket.php?tid=NQX-482913&c=Hx7kQ2Rm",
"messages": [
{
"id": 0,
"author": "Gordon Freeman",
"is_staff": false,
"posted_at": "2026-09-14T09:12:44+00:00",
"body": "Since about 08:30 UTC lambda-core has been dropping around 5% of packets from the Sector C labs. MTR output from 192.0.2.44 is attached. sector-c-db in the same location is not affected, so we have paused the anti-mass spectrometer test runs for now.",
"attachments": [
{
"index": 0,
"filename": "mtr-lambda-core.txt",
"url": "/api/v1/client/tickets/5316/messages/0/attachments/0"
}
]
}
]
}{
"message": "Unauthenticated."
}{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}{
"message": "Not found."
}{
"message": "Too Many Attempts."
}Authorizations
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.
Path Parameters
The ticket number returned by the support endpoints.
5316
Response
The record, as a JSON object. There is no envelope.
A support ticket and its current status.
The id ID.
5316
The ticket reference sent by email, such as #ABC-123456. Use the numeric ticket ID for API requests.
"NQX-482913"
The subject line for the message.
"Packet loss on lambda-core"
The value of status.
"Open"
The value of priority.
"Medium"
The value of department.
"Technical Support"
The date and time for opened at, in UTC.
"2026-09-14T09:12:44+00:00"
The date and time for last replied at, in UTC.
"2026-09-14T09:12:44+00:00"
Whether the customer is the one being waited on.
false
The value of closed.
false
The value of service.
null
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
Show child attributes
{ "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": "https://img.icons8.com/color/48/ubuntu.png", "windows": false }
The ticket's external portal URL. Use it for actions or attachment types unavailable in the panel.
"https://clients.advinservers.com/viewticket.php?tid=NQX-482913&c=Hx7kQ2Rm"
The conversation, oldest first, and only where it was asked for.