"whatsapp", // "to" => $from, // "type" => "text", // "text" => ["body" => $reply] // ]; // // $ch = curl_init($url); // curl_setopt($ch, CURLOPT_HTTPHEADER, [ // "Authorization: Bearer $token", // "Content-Type: application/json" // ]); // curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload)); // curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // curl_exec($ch); // curl_close($ch); // // echo json_encode(["status" => "ok"]); // exit; //} //?>