Criar atendimento
curl --request POST \
--url https://api.juridiq.com.br/consulting/ \
--header 'Content-Type: application/json' \
--header 'x-juridiq-api-key: <api-key>' \
--data '
{
"personId": "<string>",
"subject": "<string>",
"registers": [
{
"content": "<string>"
}
],
"officeId": "<string>",
"lawSuitId": "<string>",
"isPrivate": false,
"consultingColumnId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tags": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"responsibleIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"customFields": [
{
"fieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
]
}
'import requests
url = "https://api.juridiq.com.br/consulting/"
payload = {
"personId": "<string>",
"subject": "<string>",
"registers": [{ "content": "<string>" }],
"officeId": "<string>",
"lawSuitId": "<string>",
"isPrivate": False,
"consultingColumnId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"tags": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"responsibleIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"customFields": [
{
"fieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
]
}
headers = {
"x-juridiq-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-juridiq-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
personId: '<string>',
subject: '<string>',
registers: [{content: '<string>'}],
officeId: '<string>',
lawSuitId: '<string>',
isPrivate: false,
consultingColumnId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
taskIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
tags: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
responsibleIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
customFields: [{fieldId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', value: '<string>'}]
})
};
fetch('https://api.juridiq.com.br/consulting/', 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.juridiq.com.br/consulting/",
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([
'personId' => '<string>',
'subject' => '<string>',
'registers' => [
[
'content' => '<string>'
]
],
'officeId' => '<string>',
'lawSuitId' => '<string>',
'isPrivate' => false,
'consultingColumnId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'taskIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'tags' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'responsibleIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'customFields' => [
[
'fieldId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'value' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-juridiq-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.juridiq.com.br/consulting/"
payload := strings.NewReader("{\n \"personId\": \"<string>\",\n \"subject\": \"<string>\",\n \"registers\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"officeId\": \"<string>\",\n \"lawSuitId\": \"<string>\",\n \"isPrivate\": false,\n \"consultingColumnId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"responsibleIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"customFields\": [\n {\n \"fieldId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"value\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-juridiq-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.juridiq.com.br/consulting/")
.header("x-juridiq-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"personId\": \"<string>\",\n \"subject\": \"<string>\",\n \"registers\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"officeId\": \"<string>\",\n \"lawSuitId\": \"<string>\",\n \"isPrivate\": false,\n \"consultingColumnId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"responsibleIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"customFields\": [\n {\n \"fieldId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"value\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.juridiq.com.br/consulting/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-juridiq-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"personId\": \"<string>\",\n \"subject\": \"<string>\",\n \"registers\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"officeId\": \"<string>\",\n \"lawSuitId\": \"<string>\",\n \"isPrivate\": false,\n \"consultingColumnId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"responsibleIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"customFields\": [\n {\n \"fieldId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"value\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>"
}{
"message": "<string>",
"issues": "<unknown>"
}{
"message": "<string>",
"statusCode": 123,
"translateMessage": "<string>"
}{
"message": "<string>",
"statusCode": 123,
"translateMessage": "<string>"
}Consulting
Criar atendimento
POST
/
consulting
/
Criar atendimento
curl --request POST \
--url https://api.juridiq.com.br/consulting/ \
--header 'Content-Type: application/json' \
--header 'x-juridiq-api-key: <api-key>' \
--data '
{
"personId": "<string>",
"subject": "<string>",
"registers": [
{
"content": "<string>"
}
],
"officeId": "<string>",
"lawSuitId": "<string>",
"isPrivate": false,
"consultingColumnId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"tags": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"responsibleIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"customFields": [
{
"fieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
]
}
'import requests
url = "https://api.juridiq.com.br/consulting/"
payload = {
"personId": "<string>",
"subject": "<string>",
"registers": [{ "content": "<string>" }],
"officeId": "<string>",
"lawSuitId": "<string>",
"isPrivate": False,
"consultingColumnId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"taskIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"tags": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"responsibleIds": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"],
"customFields": [
{
"fieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
]
}
headers = {
"x-juridiq-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-juridiq-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
personId: '<string>',
subject: '<string>',
registers: [{content: '<string>'}],
officeId: '<string>',
lawSuitId: '<string>',
isPrivate: false,
consultingColumnId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
taskIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
tags: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
responsibleIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a'],
customFields: [{fieldId: '3c90c3cc-0d44-4b50-8888-8dd25736052a', value: '<string>'}]
})
};
fetch('https://api.juridiq.com.br/consulting/', 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.juridiq.com.br/consulting/",
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([
'personId' => '<string>',
'subject' => '<string>',
'registers' => [
[
'content' => '<string>'
]
],
'officeId' => '<string>',
'lawSuitId' => '<string>',
'isPrivate' => false,
'consultingColumnId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'taskIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'tags' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'responsibleIds' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'customFields' => [
[
'fieldId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'value' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-juridiq-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.juridiq.com.br/consulting/"
payload := strings.NewReader("{\n \"personId\": \"<string>\",\n \"subject\": \"<string>\",\n \"registers\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"officeId\": \"<string>\",\n \"lawSuitId\": \"<string>\",\n \"isPrivate\": false,\n \"consultingColumnId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"responsibleIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"customFields\": [\n {\n \"fieldId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"value\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-juridiq-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.juridiq.com.br/consulting/")
.header("x-juridiq-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"personId\": \"<string>\",\n \"subject\": \"<string>\",\n \"registers\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"officeId\": \"<string>\",\n \"lawSuitId\": \"<string>\",\n \"isPrivate\": false,\n \"consultingColumnId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"responsibleIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"customFields\": [\n {\n \"fieldId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"value\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.juridiq.com.br/consulting/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-juridiq-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"personId\": \"<string>\",\n \"subject\": \"<string>\",\n \"registers\": [\n {\n \"content\": \"<string>\"\n }\n ],\n \"officeId\": \"<string>\",\n \"lawSuitId\": \"<string>\",\n \"isPrivate\": false,\n \"consultingColumnId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"taskIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"responsibleIds\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"customFields\": [\n {\n \"fieldId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"value\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>"
}{
"message": "<string>",
"issues": "<unknown>"
}{
"message": "<string>",
"statusCode": 123,
"translateMessage": "<string>"
}{
"message": "<string>",
"statusCode": 123,
"translateMessage": "<string>"
}Authorizations
Chave de API do escritório (criada no painel). Envie o valor no header x-juridiq-api-key. A API aberta aplica rate limit por chave (veja a documentação de integradores).
Body
application/json
ID da pessoa
Assunto
Registros iniciais
Show child attributes
Show child attributes
Ignorado: o escritório vem da credencial (JWT ou API key)
ID do processo
Atendimento privado
ID da coluna do funil
IDs de tarefas já existentes
IDs de etiquetas
IDs dos responsáveis
Campos personalizados
Maximum array length:
100Show child attributes
Show child attributes
Response
Default Response
ID do atendimento criado

