"API_SECRET", // your API secret from (Tools -> API Keys) page
"account" => "90cf7d40a467d5f40a39fca222c216449cb9abee73e5e2b0b321060c2ae06a8fa9e45486",
"recipient" => "+905012345678",
"type" => "text",
"message" => "Hello World!"
];
$cURL = curl_init("https://service.forcemsg.com/api/send/whatsapp");
curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cURL, CURLOPT_POSTFIELDS, $chat);
$response = curl_exec($cURL);
curl_close($cURL);
$result = json_decode($response, true);
// do something with response
print_r($result);