WhatsApp numbers

Get connection status

Whether one WhatsApp number is connected. Disconnected also has status: 0, like an error, so check message. The JSON body is served with Content-Type: text/html; parse it as JSON whatever the header says.

post/whatsapp-client/status/

Request

  • Base URL: https://wbiztool.com/api/v1
  • URL: https://wbiztool.com/api/v1/whatsapp-client/status/
  • Auth: none required

Request body

client_idinteger required

Your API Client ID from Settings → API keys.

api_keystring required

One of your API keys from the same page. Keep it secret.

whatsapp_clientinteger required

ID of the WhatsApp number (or Telegram account) to send from, shown as "ID …" on the number's card on WhatsApp numbers in the dashboard.

Example request

{
  "client_id": 12345,
  "api_key": "YOUR_API_KEY",
  "whatsapp_client": 678
}

Response

Connected (status: 1), Disconnected (status: 0), or an error with status: 0: Auth Error, Auth Error 2 (the ID is not in this workspace), Demo Account can not access apis.

status0 | 1 required

1 success, 0 failure.

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.