curl --request POST \
--url https://api.jurichat.com/funnel-column-card/ \
--header 'Content-Type: application/json' \
--header 'x-jurichat-api-key: <api-key>' \
--data '
{
"funnelId": "<string>",
"columnId": "<string>",
"personId": "<string>",
"channel": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"options": "<unknown>",
"value": "<unknown>"
}
],
"tags": [
"<string>"
],
"userId": "<string>"
}
'import requests
url = "https://api.jurichat.com/funnel-column-card/"
payload = {
"funnelId": "<string>",
"columnId": "<string>",
"personId": "<string>",
"channel": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"options": "<unknown>",
"value": "<unknown>"
}
],
"tags": ["<string>"],
"userId": "<string>"
}
headers = {
"x-jurichat-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-jurichat-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
funnelId: '<string>',
columnId: '<string>',
personId: '<string>',
channel: '<string>',
customFields: [
{
id: '<string>',
name: '<string>',
type: '<string>',
options: '<unknown>',
value: '<unknown>'
}
],
tags: ['<string>'],
userId: '<string>'
})
};
fetch('https://api.jurichat.com/funnel-column-card/', 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-card/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'funnelId' => '<string>',
'columnId' => '<string>',
'personId' => '<string>',
'channel' => '<string>',
'customFields' => [
[
'id' => '<string>',
'name' => '<string>',
'type' => '<string>',
'options' => '<unknown>',
'value' => '<unknown>'
]
],
'tags' => [
'<string>'
],
'userId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jurichat.com/funnel-column-card/"
payload := strings.NewReader("{\n \"funnelId\": \"<string>\",\n \"columnId\": \"<string>\",\n \"personId\": \"<string>\",\n \"channel\": \"<string>\",\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"options\": \"<unknown>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"userId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-jurichat-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.jurichat.com/funnel-column-card/")
.header("x-jurichat-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"funnelId\": \"<string>\",\n \"columnId\": \"<string>\",\n \"personId\": \"<string>\",\n \"channel\": \"<string>\",\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"options\": \"<unknown>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"userId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jurichat.com/funnel-column-card/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-jurichat-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"funnelId\": \"<string>\",\n \"columnId\": \"<string>\",\n \"personId\": \"<string>\",\n \"channel\": \"<string>\",\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"options\": \"<unknown>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"userId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"showBadgeProgress": true,
"timeLimitDays": 123,
"columnChangedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"channel": "<string>",
"funnelId": "<string>",
"columnId": "<string>",
"personId": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"options": "<unknown>",
"value": "<unknown>"
}
],
"tags": [
"<string>"
],
"userId": "<string>"
}{
"message": "<string>",
"statusCode": 123,
"details": "<unknown>"
}{
"message": "<string>",
"statusCode": 123,
"details": "<unknown>"
}Criar card de CRM
Cria um novo card em uma etapa do funil de CRM, vinculando um contato existente.
curl --request POST \
--url https://api.jurichat.com/funnel-column-card/ \
--header 'Content-Type: application/json' \
--header 'x-jurichat-api-key: <api-key>' \
--data '
{
"funnelId": "<string>",
"columnId": "<string>",
"personId": "<string>",
"channel": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"options": "<unknown>",
"value": "<unknown>"
}
],
"tags": [
"<string>"
],
"userId": "<string>"
}
'import requests
url = "https://api.jurichat.com/funnel-column-card/"
payload = {
"funnelId": "<string>",
"columnId": "<string>",
"personId": "<string>",
"channel": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"options": "<unknown>",
"value": "<unknown>"
}
],
"tags": ["<string>"],
"userId": "<string>"
}
headers = {
"x-jurichat-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-jurichat-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
funnelId: '<string>',
columnId: '<string>',
personId: '<string>',
channel: '<string>',
customFields: [
{
id: '<string>',
name: '<string>',
type: '<string>',
options: '<unknown>',
value: '<unknown>'
}
],
tags: ['<string>'],
userId: '<string>'
})
};
fetch('https://api.jurichat.com/funnel-column-card/', 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-card/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'funnelId' => '<string>',
'columnId' => '<string>',
'personId' => '<string>',
'channel' => '<string>',
'customFields' => [
[
'id' => '<string>',
'name' => '<string>',
'type' => '<string>',
'options' => '<unknown>',
'value' => '<unknown>'
]
],
'tags' => [
'<string>'
],
'userId' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.jurichat.com/funnel-column-card/"
payload := strings.NewReader("{\n \"funnelId\": \"<string>\",\n \"columnId\": \"<string>\",\n \"personId\": \"<string>\",\n \"channel\": \"<string>\",\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"options\": \"<unknown>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"userId\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-jurichat-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.jurichat.com/funnel-column-card/")
.header("x-jurichat-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"funnelId\": \"<string>\",\n \"columnId\": \"<string>\",\n \"personId\": \"<string>\",\n \"channel\": \"<string>\",\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"options\": \"<unknown>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"userId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jurichat.com/funnel-column-card/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-jurichat-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"funnelId\": \"<string>\",\n \"columnId\": \"<string>\",\n \"personId\": \"<string>\",\n \"channel\": \"<string>\",\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": \"<string>\",\n \"options\": \"<unknown>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"userId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"showBadgeProgress": true,
"timeLimitDays": 123,
"columnChangedAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"channel": "<string>",
"funnelId": "<string>",
"columnId": "<string>",
"personId": "<string>",
"customFields": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"options": "<unknown>",
"value": "<unknown>"
}
],
"tags": [
"<string>"
],
"userId": "<string>"
}{
"message": "<string>",
"statusCode": 123,
"details": "<unknown>"
}{
"message": "<string>",
"statusCode": 123,
"details": "<unknown>"
}Authorizations
Chave de API do escritório (criada no painel). Envie o valor no header x-jurichat-api-key.
Body
ID do funil de CRM onde o card será criado.
^[cC][^\s-]{8,}$ID da etapa (coluna) do funil onde o card será posicionado.
^[cC][^\s-]{8,}$ID do contato vinculado ao card.
^[cC][^\s-]{8,}$Canal de origem do lead (ex.: WhatsApp, web). Opcional.
Campos personalizados do card preenchidos na criação.
Show child attributes
Show child attributes
IDs das tags associadas ao card.
ID do usuário responsável pelo card. Opcional.
^[cC][^\s-]{8,}$Response
Default Response
Indica se a etapa exibe indicador de progresso por tempo.
Limite de dias configurado na etapa para permanência do card.
Data e hora em que o card foi movido para a etapa atual.
ID do card criado.
^[cC][^\s-]{8,}$Canal de origem do lead. Null se não informado.
ID do funil ao qual o card pertence.
^[cC][^\s-]{8,}$ID da etapa atual do card.
^[cC][^\s-]{8,}$ID do contato vinculado ao card.
^[cC][^\s-]{8,}$Campos personalizados do card.
Show child attributes
Show child attributes
IDs das tags associadas ao card.
ID do usuário responsável pelo card.
^[cC][^\s-]{8,}$