Skip to main content
GET
/
v1
/
tickets
/
{id}
Get ticket
curl --request GET \
  --url https://api.craftcx.com/v1/tickets/{id}
import requests

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

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.craftcx.com/v1/tickets/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "id": "pfh0haxfpzowht3oi213cqos",
  "externalId": "1234567890",
  "subject": "Test ticket",
  "createdAt": 1756692778077
}
{
"status": 404,
"title": "<string>",
"type": "about:blank",
"detail": "<string>"
}
{
"status": 500,
"title": "<string>",
"type": "about:blank",
"detail": "<string>"
}

Path Parameters

id
string
required

The ID of the evaluation run

Example:

"pfh0haxfpzowht3oi213cqos"

Response

High level information about a ticket

id
string
required

The ID of the ingested event

Example:

"pfh0haxfpzowht3oi213cqos"

externalId
string
required

The external ID of the ticket

Example:

"1234567890"

subject
string | null
required

The subject of the ticket

Example:

"Test ticket"

createdAt
number
required

The created at of the ticket as an Epoch timestamp at millisecond granularity

Example:

1756692778077