Documentation
Learn TicketsX faster
Setup guides, the full command reference, Premium features, and the REST API in one place.
API Reference
The TicketsX REST API lets you integrate external tools with your server’s ticket system. Create, close, and manage tickets programmatically without the Discord UI.
Base URL
https://api.ticketsx.xyzBearer Token
Every request requires an API token passed as a Bearer token in the Authorization header. Tokens are scoped to a single guild and can be restricted per action.
Authorization: Bearer <API_TOKEN>Replace <guild_id> with your Discord server ID and <ticket_id> with the target ticket’s ID in all endpoint paths below.
Content-Type: application/json is required for all POST request bodies. 4xx responses include a JSON error field; 401 means the token is invalid or revoked.
