GET
/api/public/v1/tickets/{ticketId}Get a ticket
Retrieve a ticket with assignee, reporter, sprint, and comments.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ticketId | string | Required | Ticket ID. |
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/tickets/{ticketId}" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key"200Example response
json
{
"message": "Ticket retrieved successfully!",
"content": {
"ticket": {
"id": "tkt_1",
"number": 1,
"title": "Wire up auth",
"comments": []
}
}
}