Skip to main content
POST
End Call
Hang up a call in progress (one you answered, or one you started). WhatsApp then sends the terminate event with the call’s duration to your webhook.

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"

Response

Success

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