ActionModel
A delivery instruction that fires when operator results meet its condition.
- typeType: string · Typeenumrequired
webhookposts to your endpoint;whispersynthesises a text operator's output into the audio.values- webhook
- whisper
- conditionType: object · ConditionModelnullable
Optional condition narrowing when the action fires. Omit for an unconditional action.
An action condition: a single clause, or a compound of clauses combined with
all/any.- allType: array object[] | null · Allnullable
Compound AND — the action fires only when every clause is met.
- anyType: array object[] | null · Anynullable
Compound OR — the action fires when any clause is met.
- expressionType: string · Expressionnullable
Single-clause form: the expression to evaluate.
- operatorType: string · Operatornullable
Single-clause form: the operator to test.
- contentType: object · Contentnullable
For a
whisperaction,{"operator": "<text-operator-name>"}— the text operator to voice.- propertyType: anything
Name
- onceType: boolean · Once Per Session
_per _session When true, the action fires at most once per session, suppressing later matches.
- triggerType: string · Trigger
What the action fires on. Only
operator_resultis currently accepted; lifecycle triggers are reserved and rejected with 422 until supported. - webhookType: object · Webhook Headersnullable
_headers Optional headers to send with the webhook, e.g. an auth token.
- propertyType: anything
Name
- webhookType: string · Webhook Urlnullable
_url Destination URL for a
webhookaction. - whisperType: string · Whisper Channelenumnullable
_channel For a
whisperaction, which side of the conversation the synthesised audio is injected into.values- caller
- recipient