Update call settings
Required scope: sessions:manage
Changes the settings you send; omitted settings keep their current values. Send expectedRevision to refuse the update when someone else changed the settings after you read them.
Authorizations
Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.
Path Parameters
Identifier of the connected Polymorfa session.
Value constraints
1 - 128Body
Set to false to refuse new and incoming calls on the session; true allows them again.
Set to true so that the participants you connect to a call hear each other as well as the WhatsApp party, or false so that each hears only the WhatsApp party.
Specifies inbound route for this management platform access update call settings request.
Allowed values
clients, sip_trunk The SIP trunk for sip_trunk: a trunk in the session's project whose direction is outbound or both. Required when switching the route to sip_trunk; omit it to keep the stored trunk. With clients send null or omit it: a trunk ID is refused, and clients clears the stored trunk.
Accepted alternatives
Value constraints
Whether an answer from the SIP trunk claims the call.
Set to true to have Polymorfa Calls answer the session's Cloud API calls instead of your Graph API integration. Applies to calls that arrive after the change.
Apply the update only if the settings still have this revision (0 for a session using the defaults). Otherwise the update fails with 409 state_conflict.
Value constraints
x >= 0Response
Call settings saved. Audio settings apply to a call the next time a participant answers or connects to it, including calls in progress. Routing settings apply to calls that arrive after the change.