Trillet AI logo

Change call flow settings

Trillet OEM API: Send only the settings to change, nested as in the settings object.

PATCHhttps://api.trillet.ai/partner/v1/tenants/{tenantId}/call-flows/{callFlowId}/settings

Send only the settings to change, nested as in the settings object. Values are not converted, and a field this endpoint does not manage is refused with 400 unknown_setting. If the flow has an active draft, the same settings are copied onto it. Needs resources:write. Idempotency-Key is optional.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenantIdstringrequired

The tenant ID.

Pattern: ^[a-fA-F0-9]{24}$
callFlowIdstringrequired

A call flow in the tenant. For a node flow, pathway._id from GET /v2/api/node-graphs/{id}.

Pattern: ^[a-fA-F0-9]{24}$

Header Parameters

Idempotency-Keystring

Optional. Works as on the endpoints that require it.

Length: >= 1, <= 255

Body

greetingobject
greeting.inboundobject
greeting.outboundobject
greeting.delaySecondsnumber
Required range: x >= 0, x <= 5
speechobject
speech.responsivenessnumber
Required range: x >= 1, x <= 10
speech.interruptionSensitivitynumber
Required range: x >= 1, x <= 10
recordingobject
recording.enabledboolean
callHandlingobject
callHandling.maxCallDurationSecondsinteger
Required range: x >= 10, x <= 1800
callHandling.checkInAfterSeconds10 | 20 | 30
Allowed values: 10 | 20 | 30
callHandling.checkInAttempts0 | 1 | 2 | 3
Allowed values: 0 | 1 | 2 | 3
callHandling.hangUpAfterCheckInSeconds10 | 20 | 30
Allowed values: 10 | 20 | 30

Response

application/json

The full settings after the change.

Last updated on