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

Get a single cannedresponse by id.

The following values are allowed in the includes query parameter:

  • files
  • inboxes
  • users
  • all

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    CannedResponseAPIBody handles request/response for a single canned response
  • 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

CannedResponseAPIBody
{  "cannedresponse": {    "createdAt": "2024-11-07T11:40:04.250Z",    "createdBy": {      "delete": true,      "id": 0,      "meta": {        "additionalProp": "Unknown Type: any"      },      "type": 0    },    "deletedAt": "2024-11-07T11:40:04.250Z",    "deletedBy": {      "delete": true,      "id": 0,      "meta": {        "additionalProp": "Unknown Type: any"      },