Skip to main content
PATCH
Error

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Path Parameters

id
string
required

The compiled trigger id (returned by createOutboundTrigger / listOutboundTriggers).

Body

application/json
enabled
boolean
required

Enable (originate calls on matched events) or disable the trigger.

Required true to ENABLE — the standing consent attestation.

Response

The updated trigger.

success
boolean
required
data
object
required

A compiled outbound trigger ("when {event} in {provider} → call {agent}"). The server-authored fields (agentId, callerNumberId, messageCategory, intentType, consentBasis) are PINNED at compile; the inbound payload can never choose them. It lands disabled and the operator enables it (a standing consent attestation).

message
string
errors
object[]