Set the transcript channel
PUT
/api/settings/discord-tickets/transcript-channelSave the channel a closed ticket's transcript is posted in. Empty for none.
Needs the ManageSettings permission.
AuthorizationBearer <token>
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
curl -X PUT "https://example.com/api/settings/discord-tickets/transcript-channel" \ -H "Content-Type: application/json" \ -d '{ "channelId": null }'{ "transcriptChannelId": null, "types": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "staffRoleId": null, "staffRoleName": null, "openingMessage": "string", "holdsPrivateImages": true, "position": 0, "openTickets": 0 } ]}Get ticket settings GET
The kinds of ticket members can open, how many of each are open, and the channel transcripts go to. Needs the `ManageSettings` permission.
Add a ticket type POST
Add a kind of ticket: its button label, the staff role, the opening message and whether members may post private images. At most five. Needs the `ManageSettings` permission.