Skip to main content
PUT
cURL
Updating a single field in a trigger is not supported. The entire trigger definition must be provided. Agents that use the trigger are updated too. If the change would make any agent’s triggers invalid, the update fails with a 409 and nothing changes. Calls that have already been created keep the version they started with.

Authorizations

X-API-Key
string
header
required

API key

Path Parameters

trigger_id
string<uuid>
required

Body

application/json
trigger
object
required

A rule that sends data messages into a call when an event occurs and a condition is met. Triggers run shortly after their events, in the order the events occur, so their actions may interleave with other activity in the call. If one of its conditions can't be evaluated, that run of the trigger stops, and a trigger whose runs fail three times in a row is dropped for the rest of the call.

Response

200 - application/json
triggerId
string<uuid>
required
read-only
created
string<date-time>
required
read-only
trigger
object
required

A rule that sends data messages into a call when an event occurs and a condition is met. Triggers run shortly after their events, in the order the events occur, so their actions may interleave with other activity in the call. If one of its conditions can't be evaluated, that run of the trigger stops, and a trigger whose runs fail three times in a row is dropped for the rest of the call.

ownership
enum<string>
required
Available options:
public,
private