v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-06-11720209.3 KB
Chat Controller

WhatsApp Numbers

Check if numbers are on WhatsApp

post/chat/whatsappNumbers/{instance}

Path parameters

instancestring required

ID of the instance to connect

Request body

numbersstring[]

Phone numbers (with country code) to be checked

Response

Ok

existsboolean

Indicates whether the WhatsApp account exists.

jidstring

The JID of the WhatsApp account.

numberstring

The phone number associated with the WhatsApp account.

Example response

[
  {
    "exists": true,
    "jid": "553198296801@s.whatsapp.net",
    "number": "553198296801"
  }
]