Reorder the ticket types
/api/settings/discord-tickets/types/orderSet the order of the panel's buttons. Send every type's id once.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/settings/discord-tickets/types/order" \ -H "Content-Type: application/json" \ -d '{ "ids": null }'{ "transcriptChannelId": null, "types": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "staffRoleId": null, "staffRoleName": null, "openingMessage": "string", "holdsPrivateImages": true, "position": 0, "openTickets": 0 } ]}Update a ticket type PUT
Change a ticket type's button label, staff role, opening message or private images switch. Tickets already open keep the private images rule they were opened with. Needs the `ManageSettings` permission.
Post the ticket panel POST
Post a message in a channel with one button for each ticket type, in order. Members press a button to open a private thread with staff. Needs the bot to be connected and to write in that channel. Needs the `ManageSettings` permission.