Evolution GO
List all labels
Returns every label defined on the connected number.
GET
/
label
/
list
List all labels
curl --request GET \
--url https://pilotstatus.com.br/api/layer/evolution-go/label/list \
--header 'apikey: <api-key>'import requests
url = "https://pilotstatus.com.br/api/layer/evolution-go/label/list"
headers = {"apikey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apikey: '<api-key>'}};
fetch('https://pilotstatus.com.br/api/layer/evolution-go/label/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pilotstatus.com.br/api/layer/evolution-go/label/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"apikey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/api/layer/evolution-go/label/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apikey", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pilotstatus.com.br/api/layer/evolution-go/label/list")
.header("apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/api/layer/evolution-go/label/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "b3f1c2e4-9a7d-4c2b-8e15-6d0f2a3b4c5d",
"instance_id": "a1e2d3c4-5b6a-4789-9c0d-1e2f3a4b5c6d",
"label_id": "1",
"label_name": "Novo cliente",
"label_color": "0",
"predefined_id": "1"
},
{
"id": "c4a2d3f5-0b8e-4d3c-9f26-7e1a3b4c5d6e",
"instance_id": "a1e2d3c4-5b6a-4789-9c0d-1e2f3a4b5c6d",
"label_id": "2",
"label_name": "Pagamento pendente",
"label_color": "5",
"predefined_id": ""
}
]{
"status": 400,
"error": "Bad Request",
"message": "Invalid payload"
}Authorizations
Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.
Response
Success — provider-native response body.
Internal record UUID (primary key) for this label row
UUID of the instance the label belongs to
WhatsApp label identifier used when (un)labeling chats/messages
Display name of the label
WhatsApp label color index (stored as a string)
Predefined label identifier, empty for user-created labels
Was this page helpful?
⌘I
List all labels
curl --request GET \
--url https://pilotstatus.com.br/api/layer/evolution-go/label/list \
--header 'apikey: <api-key>'import requests
url = "https://pilotstatus.com.br/api/layer/evolution-go/label/list"
headers = {"apikey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apikey: '<api-key>'}};
fetch('https://pilotstatus.com.br/api/layer/evolution-go/label/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pilotstatus.com.br/api/layer/evolution-go/label/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"apikey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/api/layer/evolution-go/label/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apikey", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pilotstatus.com.br/api/layer/evolution-go/label/list")
.header("apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/api/layer/evolution-go/label/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "b3f1c2e4-9a7d-4c2b-8e15-6d0f2a3b4c5d",
"instance_id": "a1e2d3c4-5b6a-4789-9c0d-1e2f3a4b5c6d",
"label_id": "1",
"label_name": "Novo cliente",
"label_color": "0",
"predefined_id": "1"
},
{
"id": "c4a2d3f5-0b8e-4d3c-9f26-7e1a3b4c5d6e",
"instance_id": "a1e2d3c4-5b6a-4789-9c0d-1e2f3a4b5c6d",
"label_id": "2",
"label_name": "Pagamento pendente",
"label_color": "5",
"predefined_id": ""
}
]{
"status": 400,
"error": "Bad Request",
"message": "Invalid payload"
}