Pular para o conteúdo

Realtime WhatsApp Detection

Este conteúdo não está disponível em sua língua ainda.

Check in realtime whether the input global number is a WhatsApp account.

Code example:

curl --location --request POST 'https://api.ekycpro.com/v1/realtime/whatsapp' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'X-API-Key: AbcdEfgh' \
--data-urlencode 'number=628138800001&country=ID'

Response for the input number have already registered whatsapp

{
"status": "OK",
"message": {
"number": "+628138800001",
"whatsapp": "yes"
},
"pricingStrategy": "PAY",
"transactionId": "tphxc6te38gpcoyk8hkvwc"
}

Response for the input number not register whatsapp

{
"status": "OK",
"message": {
"number": "+628138800001",
"whatsapp": "no"
},
"pricingStrategy": "PAY",
"transactionId": "tphxc6te38gpcoyk8hkvwc"
}

HTTP request

POST https://api.ekycpro.com/v1/realtime/whatsapp

Request parameters

parameterdescription
numberstring, phone number
countrystring, Country abbreviation. Brazil: BR, Mexico: MX, Nigeria: NG, India: IN.
callbackoptional, string, callback url. Strongly recommended to use callback url

Response format

fieldsdescription
statusstatus code
messagenumber: phone number
whatsapp: conclusion

Status code

statusdescription
OKcharge, message contains the result
FAILfree, invalid query
INVALID_INPUTfree, invalid input
RETRY_LATERfree, server error, please try again later