GET/desk/api/v2/triggers.json

Get a paginated list of triggers.

The following values are allowed in the filter query parameter:

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

The following values are allowed in the orderBy query parameter:

  • addToNewInboxes

  • agentHasAccess

  • createdAt

  • createdBy

  • deletedAt

  • deletedBy

  • description

  • id

  • inboxes.id

  • isShared

  • isSystem

  • name

  • state

  • tickets.id

  • type

  • updatedAt

  • updatedBy

         The following values are allowed in the [includes](https://apidocs.teamwork.com/guides/desk/relationships-and-includes) query parameter:
     
    
  • conditions

  • customfieldoptions

  • inboxes

  • tickets

  • triggeractions

  • triggernotifications

  • triggertasktemplates

  • users

  • all

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-10-10T18:19:43.547Z",