Documentation
Learn TicketsX faster
Setup guides, the full command reference, Premium features, and the REST API in one place.
Rename a Ticket
PATCH
/<guild_id>/api/tickets/<ticket_id>Rename a ticket’s channel or thread. The name is sanitised to valid channel characters. Requires the `rename_ticket` permission (off by default).
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | required | New channel/thread name (1–100 chars after sanitisation). |
Discord limits channel renames to roughly twice per 10 minutes per channel; this endpoint is rate limited to match and returns 429 with retry_after when exceeded.
Example request
curl -X PATCH \
-H "Authorization: Bearer <API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"name":"billing-issue-42"}' \
https://api.ticketsx.xyz/<guild_id>/api/tickets/<ticket_id>