Calls · POST
callsAuthCode
Calls (beta): link calling with an 8-character code instead of scanning callsQr. On the phone: WhatsApp > Linked devices > Link a device > Link with phone number instead, then type the code.
Endpoint
POST https://flowapi.pro/waInstance{idInstance}/callsAuthCode/{apiTokenInstance}Request body
{
"phoneNumber": "972501234567"
}Example
curl -X POST "https://flowapi.pro/waInstance{idInstance}/callsAuthCode/{apiTokenInstance}" \
-H "Content-Type: application/json" \
-d '{"phoneNumber":"972501234567"}'Response
{
"status": true,
"code": "ABCD-EFGH"
}Notes
- phoneNumber: the number being linked, in international format, digits only (e.g. 972501234567).
- The code is valid for about 2 minutes; ask for a new one if it expires.
- Returns {"status":false,"message":"calls are already linked for this instance"} when calling is already linked.
More calls methods
Try it on your own number
7 days free, no credit card. Then $10 per number per month.