Documentation
Learn TicketsX faster
Setup guides, the full command reference, Premium features, and the REST API in one place.
Server Info
GET
/<guild_id>/api/guildFetch high-level server info: name, icon, member count, open ticket count, and panel count. Useful when managing multiple servers from one place. Requires the `view_guild` permission.
Example request
curl -X GET \
-H "Authorization: Bearer <API_TOKEN>" \
https://api.ticketsx.xyz/<guild_id>/api/guildExample response
{
"guild": {
"id": "123",
"name": "My Server",
"icon_url": "https://cdn.discordapp.com/...",
"member_count": 1200,
"open_ticket_count": 7,
"panel_count": 3
}
}