customer-engagement
conversations
conversation-forms

Get triggers

Use this method to get a list of triggers with pagination and filtering options. Using a filter is optional. The result can be filtered by one or many optional filter described in the parameters.

get/ccaas/2/conversation-forms/triggers

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Query parameters

titlestring

Optional filter. Trigger title.

limitinteger

Size of the result page.

pageinteger

Number of the current page.

orderBystring

This parameter is used to order your results. If an order is not given, the default order id:asc will be applied. Possible ordering fields are properties. Ordering direction can be specified with modifiers asc for the ascending ordering or desc for the descending one.

Response

OK

Example response

{
  "items": [
    {
      "id": "b3695d3c-6415-4bdd-82fc-07f9309933ec",
      "title": "AJ Queue",
      "expression": {
        "$neq": {
          "queue": "AJ Queue"
        }
      },
      "orderIndex": 5,
      "isEnabled": true,
      "formId": "75f57446-1d65-478a-87ed-22d17dc3d077",
      "timesTriggered": 149
    },
    {
      "id": "bef60d38-98fa-4c14-b40e-34918b399964",
      "title": "Feedback form triggers",
      "expression": {
        "$or": [
          {
            "$eq": {
              "queue": "Default queue"
            }
          },
          {
            "$and": [
              {
                "$eq": {
                  "customer.country": "Croatia"
                }
              },
              {
                "$eq": {
                  "company.name": "AAA Infotek"
                }
              }
            ]
          }
        ]
      },
      "orderIndex": 1,
      "isEnabled": true,
      "formId": "90a91386-6e6d-44da-889f-783705cec020",
      "timesTriggered": 245
    }
  ],
  "pagination": {
    "totalItems": 2,
    "page": 0,
    "limit": 10,
    "orderBy": {
      "property": "id",
      "direction": "ASC"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.