Validate Numbers for WhatsApp Availability
POST/api/v2/instance/:instanceId/chat/validate-numbers
Verify if a phone number is registered on WhatsApp.
Request
Path Parameters
instanceId stringrequired
ID of the instance.
- application/json
Body
required
numbers string[]required
Whatsapp number list.
Responses
- 200
- 400
- 401
IsOnWhatsApp
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
jid stringrequired
exists booleanrequired
[
{
"jid": "string",
"exists": true
}
]
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...