---
title: "Update trigger"
method: PUT
path: "/ccaas/2/conversation-forms/triggers/{id}"
tags: ["customer-engagement", "conversations", "conversation-forms"]
---

# Update trigger

`PUT /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)
- URL: `https://api.infobip.com/ccaas/2/conversation-forms/triggers/{id}`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Use this method to update 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>

## Path parameters

- `id` string, required

## Request body

- 9620629c173fbd1e947e2693ffe57e0c353c3961ef0ef2018c058c14e6f698abUpdateTriggerApiRequest
  - `title` string, required: Trigger title.
  - `expression` object, required: Condition which resolves in destination form.
  - `orderIndex` integer, required: Trigger order.
  - `isEnabled` boolean: Is trigger enabled.
  - `formId` string, required: Destination form.

## Response `200`

OK

- 9620629c173fbd1e947e2693ffe57e0c353c3961ef0ef2018c058c14e6f698abTriggerApiResponse
  - `title` string: Trigger title.
  - `expression` object: Condition which resolves in destination form.
  - `orderIndex` integer: Trigger order.
  - `isEnabled` boolean: Is trigger enabled.
  - `formId` string: Destination form.
  - `timesTriggered` integer: Number of trigger resolution.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
