Fetch groups
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/fetchgroups
Request body
token *Required
sender *Required

Phone number with international format e.g. 6287766969318

Rest API

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

echo $response; // output {success:true/false, message:response message}


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