customer-engagement
conversations
conversation-forms

Patch trigger

Use this method to patch a trigger. Triggers between 'old' and 'new' position will be set automatically ± one position. <a href="https://www.infobip.com/docs/conversations/supervisor-guide" target="_blank">More info</a>

patch/ccaas/2/conversation-forms/triggers/{id}

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

Path parameters

idstring required

Id of the trigger to patch.

Request body

titlestring

Trigger title.

expressionobject

Condition which resolves in destination form.

orderIndexinteger

Trigger order.

isEnabledboolean

Is trigger enabled.

formIdstring

Destination form.

Response

OK

titlestring

Trigger title.

expressionobject

Condition which resolves in destination form.

orderIndexinteger

Trigger order.

isEnabledboolean

Is trigger enabled.

formIdstring

Destination form.

timesTriggeredinteger

Number of trigger resolution.

Example response

{
  "id": "b3695d3c-6415-4bdd-82fc-07f9309933ec",
  "title": "AJ Queue",
  "expression": {
    "$neq": {
      "queue": "AJ Queue"
    }
  },
  "orderIndex": 0,
  "isEnabled": true,
  "formId": "75f57446-1d65-478a-87ed-22d17dc3d077",
  "timesTriggered": 0
}

Changes

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