Pular para o conteúdo principal
GET
/
api
/
instances
/
{instanceId}
/
contacts
/
check
/
{phone}
Verificar se um número de telefone existe no WhatsApp
curl --request GET \
  --url https://api.wappfy.io/api/instances/{instanceId}/contacts/check/{phone} \
  --header 'Authorization: Bearer <token>'
{
  "numberExists": true,
  "chatId": "[email protected]"
}

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

instanceId
string<uuid>
obrigatório

UUID da instância WhatsApp

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

phone
string
obrigatório

Número de telefone (ex: 5511999999999)

Resposta

Resultado da verificação do número

numberExists
boolean
obrigatório

Se o número de telefone está registrado no WhatsApp

Exemplo:

true

chatId
string

ID da conversa se o número existir