Skip to main content
PATCH
Update Calling Settings
Change WhatsApp’s calling settings for your number (calling) and/or who answers incoming calls (answered_by). Send only what you change; the response shows the settings WhatsApp now holds.

Basic Usage


Body Parameters


Response

Success (200)


Turning on calling.sip hands every call on the number to your SIP server: FlowIQ then gets no call events, the FlowIQ inbox and voice AI no longer see calls, and the other call endpoints stop working for the number until SIP is off again.
WhatsApp checks each value; a refused change answers 400 with WhatsApp’s reason in message and changes nothing.

Authorizations

Authorization
string
header
required

Your FlowIQ organisation API key (Settings → API Keys), sent as a bearer token. Format: Bearer fiq_YOUR_API_KEY

Body

application/json
calling
object

WhatsApp's calling settings for your number, as WhatsApp returns them

answered_by
enum<string>

api: incoming calls are left for your server (the FlowIQ inbox does not ring, FlowIQ's AI does not pick up); you answer with POST /v1/calls/accept. stream: FlowIQ answers every incoming call and streams the audio to stream.url. flowiq: FlowIQ answers (the inbox rings, or the voice AI when it is on)

Available options:
api,
stream,
flowiq
stream
object

Have FlowIQ answer the call and stream its audio to your WebSocket (media stream), instead of answering with sdp

Response

Success

organization_id
string<uuid>
success
boolean
calling
object

WhatsApp's calling settings for your number, as WhatsApp returns them

answered_by
enum<string>
Available options:
api,
stream,
flowiq
flowiq_ai_answers
boolean
stream
object | null

The media stream set for this number (header values hidden)