Check If A Number Is On WhatsApp
Note :
in case the token not authorized , the message will add to queue and will be sent when the WhatsApp token is ready.
Request URL
https://api.wachat.net/isonwa
Request body
token *Required
receiver *Required

Phone number with international format e.g. 6287766969318

{"success":true,"receiver":"6287766969318","isonwa":true}

Rest API

  $response1 => file_get_contents('https://api.wachat.net/isonwa?receiver=$receiver&token=$token');

  echo $response1; // output {success:true/false, isonwa:true/false}

Note : don't forget to URL encode your query params like base64 or utf-8