POST

https://{server-url}

/
chat
/
whatsappNumbers
/
{instance}
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
headerrequired

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
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.