Instances
Fetch Instances
Início
Instances
Settings
Send Message
Chat Controller
Profile Settings
Group Controller
- POSTCreate Group
- PUTUpdate Group Picture
- PUTUpdate Group Subject
- PUTUpdate Group Description
- GETFetch Invite Code
- GETAccept Invite Code
- PUTRevoke Invite Code
- POSTSend Group Invite
- GETFind Group by Invite Code
- GETFind Group by JID
- GETFetch All Groups
- GETFind Group Members
- PUTUpdate Group Members
- PUTUpdate Group Setting
- PUTToggle Ephemeral
- DELLeave Group
Chatwoot
RabbitMQ
WebSocket
Instances
Fetch Instances
Returns the instance with the name informed in the parameter, or all the instances if empty.
GET
/
instance
/
fetchInstances
Copy
curl --request GET \
--url https://{server-url}/instance/fetchInstances \
--header 'apikey: <api-key>'
Copy
[
{
"instance": {
"instanceName": "example-name",
"instanceId": "421a4121-a3d9-40cc-a8db-c3a1df353126",
"owner": "553198296801@s.whatsapp.net",
"profileName": "Guilherme Gomes",
"profilePictureUrl": null,
"profileStatus": "This is the profile status.",
"status": "open",
"serverUrl": "https://example.evolution-api.com",
"apikey": "B3844804-481D-47A4-B69C-F14B4206EB56",
"integration": {
"integration": "WHATSAPP-BAILEYS",
"webhook_wa_business": "https://example.evolution-api.com/webhook/whatsapp/db5e11d3-ded5-4d91-b3fb-48272688f206"
}
}
},
{
"instance": {
"instanceName": "teste-docs",
"instanceId": "af6c5b7c-ee27-4f94-9ea8-192393746ddd",
"status": "close",
"serverUrl": "https://example.evolution-api.com",
"apikey": "123456",
"integration": {
"token": "123456",
"webhook_wa_business": "https://example.evolution-api.com/webhook/whatsapp/teste-docs"
}
}
}
]
Authorizations
Your authorization key header
Query Parameters
Name of the instance to be fetched
Copy
curl --request GET \
--url https://{server-url}/instance/fetchInstances \
--header 'apikey: <api-key>'
Copy
[
{
"instance": {
"instanceName": "example-name",
"instanceId": "421a4121-a3d9-40cc-a8db-c3a1df353126",
"owner": "553198296801@s.whatsapp.net",
"profileName": "Guilherme Gomes",
"profilePictureUrl": null,
"profileStatus": "This is the profile status.",
"status": "open",
"serverUrl": "https://example.evolution-api.com",
"apikey": "B3844804-481D-47A4-B69C-F14B4206EB56",
"integration": {
"integration": "WHATSAPP-BAILEYS",
"webhook_wa_business": "https://example.evolution-api.com/webhook/whatsapp/db5e11d3-ded5-4d91-b3fb-48272688f206"
}
}
},
{
"instance": {
"instanceName": "teste-docs",
"instanceId": "af6c5b7c-ee27-4f94-9ea8-192393746ddd",
"status": "close",
"serverUrl": "https://example.evolution-api.com",
"apikey": "123456",
"integration": {
"token": "123456",
"webhook_wa_business": "https://example.evolution-api.com/webhook/whatsapp/teste-docs"
}
}
}
]