GET/desk/api/v2/triggers.json

Get a paginated list of triggers.

The following values are allowed in the filter query parameter:

  • id
  • name
  • type
  • isShared
  • agentHasAccess
  • description
  • addToNewInboxes
  • state
  • isSystem
  • createdAt
  • updatedAt
  • deletedAt
  • createdBy
  • updatedBy
  • deletedBy

The following values are allowed in the orderBy query parameter:

  • id
  • name
  • type
  • isShared
  • agentHasAccess
  • description
  • addToNewInboxes
  • state
  • isSystem
  • createdAt
  • updatedAt
  • deletedAt
  • createdBy
  • updatedBy
  • deletedBy
  • tickets.id
  • inboxes.id

Responses

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

TriggersAPIBody
{  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",        "createdAt": "2024-07-26T20:26:26.553Z",