Realtime WhatsApp Detection
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
parameter | description |
---|---|
number | string , phone number |
country | string , Country abbreviation. Brazil: BR, Mexico: MX, Nigeria: NG, India: IN. |
callback | optional , string , callback url. Strongly recommended to use callback url |
Response format
fields | description |
---|---|
status | status code |
message | number : phone number whatsapp : conclusion |
Status code
status | description |
---|---|
OK | charge , message contains the result |
FAIL | free , invalid query |
INVALID_INPUT | free , invalid input |
RETRY_LATER | free , server error, please try again later |