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));{
"created_at": 1756692778077,
"external_id": "1234567890",
"id": "pfh0haxfpzowht3oi213cqos",
"subject": "Test ticket"
}{
"status": 404,
"title": "<string>",
"detail": "<string>",
"type": "about:blank"
}{
"status": 500,
"title": "<string>",
"detail": "<string>",
"type": "about:blank"
}Tickets
Get ticket
Get a ticket by ID
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));{
"created_at": 1756692778077,
"external_id": "1234567890",
"id": "pfh0haxfpzowht3oi213cqos",
"subject": "Test ticket"
}{
"status": 404,
"title": "<string>",
"detail": "<string>",
"type": "about:blank"
}{
"status": 500,
"title": "<string>",
"detail": "<string>",
"type": "about:blank"
}Path Parameters
The ID of the evaluation run
Example:
"pfh0haxfpzowht3oi213cqos"
Response
High level information about a ticket
The created at of the ticket as an Epoch timestamp at millisecond granularity
Example:
1756692778077
The external ID of the ticket
Example:
"1234567890"
The ID of the ingested event
Example:
"pfh0haxfpzowht3oi213cqos"
The subject of the ticket
Example:
"Test ticket"