stop typing
POSThttps://app.hypersender.com/api/whatsapp/v1/:instance/stop-typing
Stop Typing
stop typing in the chat.
Request
Responses
- 201
- 404
- 422
- 500
Successful response
Not Found
Validation Error
Internal Server Error
Authorization: http
name: Authorizationtype: httpscheme: bearer
- php
- curl
- python
- go
- nodejs
- ruby
- csharp
- java
- powershell
- CURL
- GUZZLE
- HTTP_REQUEST2
- PECL_HTTP
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://app.hypersender.com/api/whatsapp/v1/:instance/stop-typing',
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 =>'{
"chatId": "string"
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Accept: application/json',
'Authorization: Bearer <token>'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;