Skip to main content
POST
cURL
See Global Triggers for how calls and agents use it.

Authorizations

X-API-Key
string
header
required

API key

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

201 - 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