Skip to main content
POST
Pre-accept Call
Optional. Send your SDP answer before you accept, so the audio path is ready and the customer hears you the instant you accept. Without it, the first moments of the call can be clipped while the connection sets up.

Basic Usage


Body Parameters


Response

Success (200)


Errors

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
call_id
string
required

The call's id from the call webhook

Example:

"wacid.HBgLMjc4MjAwMDAwMDAVAgARGBI2RjQ3QkU1RjA5Q0UyMkEzQjQA"

sdp
string
required

Your SDP answer to the offer in call.session.sdp (leave out when you send stream)

biz_opaque_callback_data
string

Your own reference; WhatsApp sends it back on later events for this call

Maximum string length: 512

Response

Success

organization_id
string<uuid>
success
boolean
call_id
string
action
enum<string>
Available options:
pre_accept,
accept,
reject,
terminate