Whatsapp Clients List API
End Point: https://wbiztool.com/api/v1/whatsapp-client/list/
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 -
whatsapp_clients (Json Array)
- List of whatsapp clients.
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/whatsapp-client/status/ -d '{
"client_id": <your_client_id>,
"api_key": "<your_api_key>",
}' -H "Content-Type: application/json"
// Response
{"status": 1, "message": "okay", "whatsapp_clients":[{"whatsapp_client_id":2113,"is_connected":True}]}
import requests
data={
"client_id" : <client_id>,
"api_key" : "<api_key>",
}
url = 'https://wbiztool.com/api/v1/whatsapp-client/list/'
response = requests.post(url,data=data).text
$url = 'https://wbiztool.com/api/v1/whatsapp-client/list/';
$myvars = 'client_id=<client_id>&api_key=<api_key>';
$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>