Documentation
Learn TicketsX faster
Setup guides, the full command reference, Premium features, and the REST API in one place.
Get a Panel
GET
/<guild_id>/api/panels/<panel_id>Fetch the full configuration of a single panel: name, ticket mode, embed message, button styling, and (for multi panels) the dropdown setup. Requires the `list_panels` permission.
Example request
curl -X GET \
-H "Authorization: Bearer <API_TOKEN>" \
https://api.ticketsx.xyz/<guild_id>/api/panels/<panel_id>Example response
{
"panel": {
"PanelId": 1,
"Type": "single",
"PanelName": "Support",
"TicketMode": "channel",
"MessageId": "1234567890123456789",
"PanelMessage": {
"PanelChannel": "1098765432101234567",
"PanelTitle": "Open a ticket!",
"PanelDescription": "Click the button below to contact staff.",
"PanelColor": "#5865F2",
"ButtonColor": "primary",
"ButtonText": "Open Ticket",
"ButtonEmoji": "\ud83d\udce9",
"DisablePanel": false
}
}
}