curl --request GET \
--url https://api.jurichat.com/funnel-column/ \
--header 'x-jurichat-api-key: <api-key>'import requests
url = "https://api.jurichat.com/funnel-column/"
headers = {"x-jurichat-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-jurichat-api-key': '<api-key>'}};
fetch('https://api.jurichat.com/funnel-column/', 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.jurichat.com/funnel-column/",
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-jurichat-api-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.jurichat.com/funnel-column/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-jurichat-api-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.jurichat.com/funnel-column/")
.header("x-jurichat-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jurichat.com/funnel-column/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-jurichat-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"showBadgeProgress": true,
"timeLimitDays": 123,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"index": 123,
"kind": "NORMAL",
"funnelId": "<string>",
"columnCards": {
"items": [
{
"columnChangedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"channel": "<string>",
"columnId": "<string>",
"user": {
"id": "<string>",
"name": "<string>"
},
"conversationId": "<string>",
"unreadCount": 1,
"person": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"imageUrl": "<string>",
"phoneNumber": "<string>"
},
"customFields": [
{
"id": "<string>",
"value": "<string>"
}
],
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}
],
"legalArea": {
"id": "<string>",
"name": "<string>",
"color": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"page": 123,
"hasMore": true
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"autoCreateJuridiqLead": true
}
]
}{
"message": "<string>",
"statusCode": 123,
"code": "<string>",
"details": "<string>"
}Listar colunas do funil
Lista as colunas do funil.
curl --request GET \
--url https://api.jurichat.com/funnel-column/ \
--header 'x-jurichat-api-key: <api-key>'import requests
url = "https://api.jurichat.com/funnel-column/"
headers = {"x-jurichat-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-jurichat-api-key': '<api-key>'}};
fetch('https://api.jurichat.com/funnel-column/', 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.jurichat.com/funnel-column/",
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-jurichat-api-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.jurichat.com/funnel-column/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-jurichat-api-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.jurichat.com/funnel-column/")
.header("x-jurichat-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jurichat.com/funnel-column/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-jurichat-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"showBadgeProgress": true,
"timeLimitDays": 123,
"id": "<string>",
"name": "<string>",
"color": "<string>",
"index": 123,
"kind": "NORMAL",
"funnelId": "<string>",
"columnCards": {
"items": [
{
"columnChangedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"channel": "<string>",
"columnId": "<string>",
"user": {
"id": "<string>",
"name": "<string>"
},
"conversationId": "<string>",
"unreadCount": 1,
"person": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"imageUrl": "<string>",
"phoneNumber": "<string>"
},
"customFields": [
{
"id": "<string>",
"value": "<string>"
}
],
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}
],
"legalArea": {
"id": "<string>",
"name": "<string>",
"color": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"page": 123,
"hasMore": true
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"autoCreateJuridiqLead": true
}
]
}{
"message": "<string>",
"statusCode": 123,
"code": "<string>",
"details": "<string>"
}Authorizations
Chave de API do escritório (criada no painel). Envie o valor no header x-jurichat-api-key.
Query Parameters
ID do funil.
^[cC][^\s-]{8,}$Início do período (ISO 8601, meia-noite local). Exige type.
Fim do período (ISO 8601, meia-noite local do último dia). Opcional; sem end filtra a partir de start.
Campo filtrado por start/end: criação do card no CRM ou última mensagem.
createdAt, lastInteraction Legado: filtra cards criados no dia desta data. Prefira start/end + type.
Legado: filtra pelo último contato no dia desta data. Prefira start/end + type.
Filtra pelo responsável do card.
^[cC][^\s-]{8,}$IDs de etiquetas separados por vírgula.
Filtra por uma coluna do funil.
^[cC][^\s-]{8,}$Filtra pelo canal do lead.
Busca por nome, e-mail ou telefone do contato.
Quando verdadeiro, retorna apenas os cards cujo contato tem mensagem não lida.
Campo de ordenação dos cards.
manual, name, createdAt, lastInteraction Direção da ordenação.
asc, desc Número da página.
x >= 1Quantidade de cards por coluna.
x >= 1Response
Default Response
Show child attributes
Show child attributes