POST/desk/api/v2/tickettypes.json
Create a new tickettype.
Body Params
- Name
included
- Type
- object
- Description
- Included allows adding referenced objects on the API response. The included keys should map to the `types` in the Relationship slices/objects.
- Name
tickettype
- Type
- object
- Description
- TicketType represents a TicketType.
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
201 Created
TicketTypeAPIBody
{ "included": { "inboxes": [ { "autoReplyEnabled": true, "autoReplyFromUserId": 0, "autoReplyMessage": "string", "autoReplySubject": "string", "clientOnly": true, "createdAt": "2025-09-04T20:33:44.478Z", "createdBy": { "delete": true, "id": 0, "meta": { "additionalProp": "Unknown Type: any" }, "type": 0 },