Documentation

Learn TicketsX faster

Setup guides, the full command reference, Premium features, and the REST API in one place.

Authentication

API tokens are created and managed from the server sidebar in the TicketsX dashboard. Each token is tied to a single guild.

Creating a Token


  • Open the server sidebar and go to API Access.
  • Name the token (e.g., "Support Bot" or "CRM Sync").
  • Click Create Token and copy the value shown.
  • Store it in a secret store; you cannot view it again after closing the banner.

Revoking a token immediately invalidates it for all endpoints. Create a replacement first if you need zero downtime.

Using a Token


Send the token as a Bearer header on every request. All requests are scoped to the guild that created the token.

Example authenticated request
curl -X GET \
  -H "Authorization: Bearer <API_TOKEN>" \
  https://api.ticketsx.xyz/<guild_id>/api/tickets