v2 GitHub
Português English API
Início Início
cURL Python JavaScript PHP Go Java
GET Get Information
Get Information <?php
Instances
GET Try it $curl = curl_init();
POST Create Instance
curl_setopt_array($curl, [
GET Fetch Instances CURLOPT_URL => "https://{server-url}/",
CURLOPT_RETURNTRANSFER => true,
GET Instance Connect Path Parameters CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
PUT Restart Instance
CURLOPT_TIMEOUT => 30,
GET Connection State instance string required CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
DEL Logout Instance ID of the instance to connect ]);
DEL Delete Instance
$response = curl_exec($curl);
POST Set Presence $err = curl_error($curl);
Response 200 - application/json
curl_close($curl);
Webhook
documentation string
if ($err) {
POST Set Webhook echo "cURL Error #:" . $err;
URL to the detailed API documentation
} else {
GET Find Webhook
echo $response;
}
manager string
Settings
URL to the API manager
POST Set Settings 200
GET Find Settings
message string {
"status": 200,
Send Message Descriptive message about the current state of the API "message": "Welcome to the Evolution API, it is working!"
"version": "1.7.4",
POST Send Plain Text "swagger": "http://example.evolution-api.com/docs",
POST Send Status status integer "manager": "http://example.evolution-api.com/manager",
"documentation": "https://doc.evolution-api.com"
POST Send Media The HTTP status of the response }
POST Send WhatsApp Audio
POST Send Sticker swagger string
POST Send Location URL to the API's Swagger documentation
POST Send Contact
POST Send Reaction version string
POST Send Poll
The current version of the API
POST Send List
POST Send Buttons
Create Instance
Chat Controller
POST Check is WhatsApp
POST Mark Message As Read
Powered by Mintlify
Mark Message As
POST
Unread
POST Archive Chat
Delete Message for