Documentation
Learn TicketsX faster
Setup guides, the full command reference, Premium features, and the REST API in one place.
Get a Ticket
GET
/<guild_id>/api/tickets/<ticket_id>Fetch metadata for a single ticket, including its channel, panel, creator, claimers, and timestamps. Requires the `view_ticket` permission.
Example request
curl -X GET \
-H "Authorization: Bearer <API_TOKEN>" \
https://api.ticketsx.xyz/<guild_id>/api/tickets/<ticket_id>Example response
{
"ticket": {
"TicketId": 42,
"ChannelId": "1098765432101234567",
"ChannelName": "ticket-42",
"PanelId": 1,
"PanelName": "Support",
"CreatorId": "123456789",
"CreatedAt": 1732200000,
"ClaimedIds": ["987654321"],
"open": true
}
}