POST
/
chat
/
whatsappNumbers
/
{instance}
WhatsApp Numbers
curl --request POST \
  --url https://{server-url}/chat/whatsappNumbers/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "numbers": [
    "<string>"
  ]
}'
[
  {
    "exists": true,
    "jid": "553198296801@s.whatsapp.net",
    "number": "553198296801"
  }
]

Authorizations

apikey
string
header
required

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
numbers
string[]

Phone numbers (with country code) to be checked

Response

200 - application/json

Ok

Array of objects representing WhatsApp account existence information.

exists
boolean

Indicates whether the WhatsApp account exists.

jid
string

The JID of the WhatsApp account.

number
string

The phone number associated with the WhatsApp account.