GET/desk/api/v2/tickettypes.json

Get a paginated list of tickettypes.

The following values are allowed in the filter query parameter:

  • createdAt
  • createdBy
  • default
  • displayOrder
  • enabledForFutureInboxes
  • id
  • name
  • state
  • updatedAt
  • updatedBy

The following values are allowed in the orderBy query parameter:

  • createdAt

  • createdBy

  • default

  • displayOrder

  • enabledForFutureInboxes

  • id

  • inbox.id

  • name

  • state

  • updatedAt

  • updatedBy

         The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
     
    
  • inboxes

  • users

  • all

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TicketTypesAPIBody is used when returning multiple ticket types with includes and pagination
  • 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.

Examples

200 OK

TicketTypesAPIBody
{  "included": {    "inboxes": [      {        "autoReplyEnabled": true,        "autoReplyFromUserId": 0,        "autoReplyMessage": "string",        "autoReplySubject": "string",        "clientOnly": true,        "createdAt": "2024-10-10T18:19:43.436Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {            "additionalProp": "Unknown Type: any"          },          "type": 0        },