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

Get a single trigger by id.

The following values are allowed in the includes query parameter:

  • conditions
  • customfieldoptions
  • inboxes
  • tickets
  • triggeractions
  • triggernotifications
  • triggertasktemplates
  • users
  • all

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

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

TriggerAPIBody
{  "applyToExistingTickets": true,  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",