Header

Body Params

LANGUAGE


<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.cripsa.com/v2/whatsapp/response',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
  "phone_number": "9191919191",
  "domain": "example.com",
  "otp": "964422",
  "sessionId": "AYABeHWyGBPXwR9S3e2WiapIsIcAHQABAAdTZXJ2aWNlABBDb2duaXRvVXNlclBvb2xzAAEAB2F3cy1rbXMAS2Fybjphd3M6a21zOnVzLWVhc3QtMTo3NDU2MjM0Njc1NTU6a2V5L2IxNTVhZmNhLWJmMjktNGVlZC1hZmQ4LWE5ZTA5MzY1M2RiZQC4AQIBAHgDHnKSW2nDRJSDSLf55TGFyX5On_wV32whMfiMxuCEIAFEapyWxAnAexgxJazvfQm6AAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMLmz4LaEfeO1MwVjPAgEQgDtvPWpB72wboakrcH1GftzgF0M1yPnCrT4R3plR0YzLQqBZJPQlFoIrQnVC_-G3N12fsxItvBNn5-uI1QIAAAAADAAAEAAAAAAAAAAAAAAAAADi4wCtturZBaywEx2x_RbJ_____wAAAAEAAAAAAAAAAAAAAAEAAAEk0sJVe5eZeYm4nawoGd5k46lb0jkEmSUQ_xLkrEQZkJ85F-zpAB0wZZL7Ep8V_jkMWyu1heakpHnyBRBQG2ZU_sYi7MP6EZJsoYVkYMlLDKOJYRIAzyXqobMe9TPp5CI23oLktvZnBt6DxlC_zBNdl7-O878UjPw6_8x1byKpGtQXkUN-h08khqeo2ME4VNHanPwb74lDrXaS1Qta3dLFKfneN0hik_zBIp67SremqxVE2CudNwqgkMReLwSF_ipO2cmYiZIFZwzEjW1tIyutqFlf5t4w6ldhugsRbUqKFmM-beF_DB2YP37XcLm1XEPazXl1pD5SR1KSxtXRpjX5z7yzcv5KuCVuJ-cvdjt7TW6SKCJ_V6Uhi0N-A1v1hp5C3Ixgd8Vprik4evh1cBOYuJjykeI",
  "clientId": "6knfde2q21p77q9k05k43scmfj",
  "clientSecret": "lh6pe53nsejc7t5rq1ovanmd2jsuj706oqeggcq7k19suvnodeu"
}',
  CURLOPT_HTTPHEADER => array(
    'x-api-key: IOjWbS1stM9bT5zyAxvufUfdCGH8Xt2aBq5VT4hf',
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;