GET/desk/api/v2/tickets/{id}.json

Get a single ticket by id.

The following values are allowed in the includes query parameter:

  • agentsnotified
  • businesshours
  • companies
  • companycustomers
  • contacts
  • customers
  • customerticketsreads
  • customfieldoptions
  • customfields
  • files
  • happinessratingoptions
  • happinessratings
  • inboxes
  • likes
  • messages
  • notifications
  • pinnednotes
  • reactions
  • reviewcomments
  • scheduledemails
  • sentiments
  • tags
  • threademailrefs
  • threadreactions
  • ticketactivities
  • ticketpriorities
  • ticketreviews
  • tickets
  • ticketsources
  • ticketstatuses
  • tickettypes
  • timelogs
  • users
  • all

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TicketAPIBody is the request/response format for the API
  • 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

TicketAPIBody
{  "delayed": true,  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",