Cancel Message API
End Point: https://wbiztool.com/api/v1/cancel_msg/
Request Type: POST
Fields in Response
-
message (String)
- Readable status of your request -
status (Integer)
- 0/1 if status is 0 then there is some error with this request explanation will be given in message key
Example
The following example uses curl to make an API request. Note the use of the api key, client id, whatsapp client id and the setting of the Content-Type header.
curl -X POST https://wbiztool.com/api/v1/cancel_msg/ -d '{
"client_id": <your_client_id>,
"api_key": "<your_api_key>",
"msg_id": <your_msg_id>,
}' -H "Content-Type: application/json"
// Response
{"status": 1, "message": "Cancelled"}
import requests
data={
"client_id" : <client_id>,
"api_key" : "<api_key>",
"msg_id" : <your_msg_id>,
}
url = 'https://wbiztool.com/api/v1/cancel_msg/'
response = requests.post(url,data=data).text
$url = 'https://wbiztool.com/api/v1/cancel_msg/';
$myvars = 'client_id=<client_id>&api_key=<api_key>&msg_id=<your_msg_id>';
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_POST, 1);
curl_setopt( $ch, CURLOPT_POSTFIELDS, $myvars);
$response = curl_exec( $ch );
echo $response;
<ul class="nav nav-pills bg-nav-pills nav-justified mb-3">
<li class="nav-item">
<a href="#home1" data-toggle="tab" aria-expanded="false" class="nav-link rounded-0">
<i class="mdi mdi-home-variant d-md-none d-block"></i>
<span class="d-none d-md-block">Home</span>
</a>
</li>
<li class="nav-item">
<a href="#profile1" data-toggle="tab" aria-expanded="true" class="nav-link rounded-0 active">
<i class="mdi mdi-account-circle d-md-none d-block"></i>
<span class="d-none d-md-block">Profile</span>
</a>
</li>
<li class="nav-item">
<a href="#settings1" data-toggle="tab" aria-expanded="false" class="nav-link rounded-0">
<i class="mdi mdi-settings-outline d-md-none d-block"></i>
<span class="d-none d-md-block">Settings</span>
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane" id="home1">
<p>...</p>
</div>
<div class="tab-pane show active" id="profile1">
<p>...</p>
</div>
<div class="tab-pane" id="settings1">
<p>...</p>
</div>
</div>