Skip to main content
GET
/
support
/
tickets
/
{id}
Get ticket
curl --request GET \
  --url https://xquik.com/api/v1/support/tickets/{id} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://xquik.com/api/v1/support/tickets/{id}"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://xquik.com/api/v1/support/tickets/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://xquik.com/api/v1/support/tickets/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
Free - does not consume credits
Support tickets are free for all authenticated users.
curl -X GET https://xquik.com/api/v1/support/tickets/tkt_a1b2c3d4e5f6a1b2c3d4e5f6 \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq
const ticketId = "tkt_a1b2c3d4e5f6a1b2c3d4e5f6";
const response = await fetch(`https://xquik.com/api/v1/support/tickets/${ticketId}`, {
  method: "GET",
  headers: {
    "x-api-key": "xq_YOUR_KEY_HERE",
  },
});
const data = await response.json();
import requests

ticket_id = "tkt_a1b2c3d4e5f6a1b2c3d4e5f6"
response = requests.get(
    f"https://xquik.com/api/v1/support/tickets/{ticket_id}",
    headers={"x-api-key": "xq_YOUR_KEY_HERE"},
)
data = response.json()
package main

import (
    "encoding/json"
    "fmt"
    "net/http"
)

func main() {
    ticketID := "tkt_a1b2c3d4e5f6a1b2c3d4e5f6"
    req, err := http.NewRequest("GET", "https://xquik.com/api/v1/support/tickets/"+ticketID, nil)
    if err != nil {
        panic(err)
    }
    req.Header.Set("x-api-key", "xq_YOUR_KEY_HERE")

    resp, err := http.DefaultClient.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    var data map[string]interface{}
    if err := json.NewDecoder(resp.Body).Decode(&data); err != nil {
        panic(err)
    }
    fmt.Println(data)
}

Path parameters

id
string
required
The ticket public ID (e.g. tkt_a1b2c3d4e5f6a1b2c3d4e5f6). Returned when you create a ticket or list tickets.

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

publicId
string
Unique ticket public ID.
subject
string
Ticket subject.
status
string
Current status: open, in_progress, resolved, or closed.
createdAt
string
ISO 8601 creation timestamp.
updatedAt
string
ISO 8601 last update timestamp.
messages
object[]
Array of message objects, ordered chronologically.
messages[].body
string
Message content.
messages[].sender
string
Who sent the message: user or support.
messages[].createdAt
string
ISO 8601 timestamp of when the message was sent.
{
  "publicId": "tkt_a1b2c3d4e5f6a1b2c3d4e5f6",
  "subject": "Cannot connect X account",
  "status": "open",
  "createdAt": "2026-03-18T10:00:00Z",
  "updatedAt": "2026-03-18T12:30:00Z",
  "messages": [
    {
      "body": "I keep getting a connection error when trying to link my account.",
      "sender": "user",
      "createdAt": "2026-03-18T10:00:00Z"
    },
    {
      "body": "Could you try disconnecting and reconnecting your account from the dashboard?",
      "sender": "support",
      "createdAt": "2026-03-18T11:15:00Z"
    }
  ]
}
Related: Reply to Ticket to add a message, or Update Ticket Status to change the ticket status.
Last modified on May 6, 2026