Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
16 views

doc-evolution-api-com-v2-api-reference-get-information (1)

The document outlines the API functionalities for managing instances, including creating, fetching, and deleting instances, as well as sending messages and setting webhooks. It provides example cURL commands for various operations and indicates the expected responses. Additionally, it includes links to API documentation and the API manager for further reference.

Uploaded by

aurpersonaluse
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

doc-evolution-api-com-v2-api-reference-get-information (1)

The document outlines the API functionalities for managing instances, including creating, fetching, and deleting instances, as well as sending messages and setting webhooks. It provides example cURL commands for various operations and indicates the expected responses. Additionally, it includes links to API documentation and the API manager for further reference.

Uploaded by

aurpersonaluse
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like