Connect a WhatsApp number
Start linking a WhatsApp number (Advanced and Enterprise plans). The call only starts it: the QR code (login_method=qr, default) or an 8-character pairing code (login_method=phone) arrives at webhook_url (see the whatsappConnect webhook), followed by connected or not_connected. A request not picked up within 10 minutes expires. The JSON body is served with Content-Type: text/html; parse it as JSON whatever the header says.
Request
- Base URL: https://wbiztool.com/api/v1
- URL: https://wbiztool.com/api/v1/whatsapp/connect/
- Auth: none required
Request body
Example request
{
"client_id": 12345,
"api_key": "YOUR_API_KEY",
"whatsapp_number": "919876543210"
}Response
Connection request created (status: 1) or refused (status: 0): Auth Error (also for an invalid JSON body), Higher Subscription Required, WhatsApp Account Limit Reached. Upgrade your account to get more whatsapp limit, Already Connected With Given Number; a non-POST request returns {}.
Changes
No recorded changes to this operation across all 1 revision of this API.