GET/desk/api/v2/cannedresponses.json

Get a paginated list of cannedresponses.

The following values are allowed in the filter query parameter:

  • id
  • name
  • reply
  • inbox
  • createdAt
  • updatedAt
  • deletedAt
  • createdBy
  • updatedBy
  • deletedBy
  • state

The following values are allowed in the orderBy query parameter:

  • id
  • name
  • reply
  • inbox
  • createdAt
  • updatedAt
  • deletedAt
  • createdBy
  • updatedBy
  • deletedBy
  • state

Responses

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

CannedResponsesAPIBody
{  "cannedresponses": [    {      "createdAt": "2024-07-19T16:54:23.960Z",      "createdBy": {        "delete": true,        "id": 0,        "meta": {},        "type": 0      },      "deletedAt": "2024-07-19T16:54:23.960Z",      "deletedBy": {        "delete": true,        "id": 0,        "meta": {},        "type": 0      },      "files": [