13.13
Obtener un ticket
GET
/<guild_id>/api/tickets/<ticket_id>Obtiene los metadatos de un ticket, incluidos su canal, su panel, quien lo creó, quienes lo asumieron y las marcas de tiempo. Requiere el permiso `view_ticket`.
Ejemplo de petición
curl -X GET \
-H "Authorization: Bearer <API_TOKEN>" \
https://api.ticketsx.xyz/<guild_id>/api/tickets/<ticket_id>Ejemplo de respuesta
{
"ticket": {
"TicketId": 42,
"ChannelId": "1098765432101234567",
"ChannelName": "ticket-42",
"PanelId": 1,
"PanelName": "Support",
"CreatorId": "123456789",
"CreatedAt": 1732200000,
"ClaimedIds": ["987654321"],
"open": true
}
}