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

GET_v2_ticketsread_{id}.json

Get a single ticketsread by id. Read status is always scoped to the current user. If you are wanting to find out whether a customer has read a specific ticket you should use the listing endpoint /api/v2/ticketsread.json with a filter on ticketId or the ticket endpoint /api/v2/tickets/:id.json and include ticketsreads to get a list of all of the users who have read the ticket and the date which they read it.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TicketsReadAPIBody handles the get/create/update request/response for ticketsread.
  • 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

TicketsReadAPIBody
{  "included": {    "messages": [      {        "agentsNotified": [          {            "delete": true,            "id": 0,            "meta": {},            "type": 0          }        ],        "archivedTickets_id": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },