Listar status
curl --request GET \
--url https://api.liderhub.com.br/v1/settings/status \
--header 'x-company-key: <api-key>'import requests
url = "https://api.liderhub.com.br/v1/settings/status"
headers = {"x-company-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-company-key': '<api-key>'}};
fetch('https://api.liderhub.com.br/v1/settings/status', 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://api.liderhub.com.br/v1/settings/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-company-key: <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://api.liderhub.com.br/v1/settings/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-company-key", "<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://api.liderhub.com.br/v1/settings/status")
.header("x-company-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.liderhub.com.br/v1/settings/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-company-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "d6291111-9f95-4972-b20c-402a0656d200",
"name": "Novo lead"
},
{
"id": "7b3e8c14-2a56-4d97-b8f1-0c5e9a2d4f83",
"name": "Em negociação"
},
{
"id": "e4a7d0b6-5f83-4c19-9a25-1d6b8e3f7a04",
"name": "Contrato assinado"
}
]Settings
Listar status
Retorna todos os status cadastrados no workspace. O status representa a etapa do funil em que a conversa está (ex.: Novo lead, Em negociação, Contrato assinado).
Use esta chamada para descobrir o id do status antes de atribuí-lo a um contato com PATCH /v1/settings/status.
GET
/
v1
/
settings
/
status
Listar status
curl --request GET \
--url https://api.liderhub.com.br/v1/settings/status \
--header 'x-company-key: <api-key>'import requests
url = "https://api.liderhub.com.br/v1/settings/status"
headers = {"x-company-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-company-key': '<api-key>'}};
fetch('https://api.liderhub.com.br/v1/settings/status', 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://api.liderhub.com.br/v1/settings/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-company-key: <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://api.liderhub.com.br/v1/settings/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-company-key", "<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://api.liderhub.com.br/v1/settings/status")
.header("x-company-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.liderhub.com.br/v1/settings/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-company-key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "d6291111-9f95-4972-b20c-402a0656d200",
"name": "Novo lead"
},
{
"id": "7b3e8c14-2a56-4d97-b8f1-0c5e9a2d4f83",
"name": "Em negociação"
},
{
"id": "e4a7d0b6-5f83-4c19-9a25-1d6b8e3f7a04",
"name": "Contrato assinado"
}
]Autorizações
Chave de autenticação do workspace (gerada na plataforma Liderhub)
Última modificação em 19 de agosto de 2026
Esta página foi útil?
⌘I