Tarefas
Tarefas com responsáveis, prazos e prioridades.
Valores dos exemplos
Digite uma vez e todos os exemplos desta página passam a usá-los. A chave de API fica só nesta página e nunca é guardada.
GET/v1/tasks
Lista tarefas, por status, responsável, prioridade ou prazo.
ListarEm caso de sucesso: 200.Permissão: Ler.
Parâmetros da consulta
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
page | integer | Não | min 1 · default 1 |
pageSize | integer | Não | min 1 · max 100 · default 25 |
q | string | Não | min length 1 · max length 200 |
archived | string | Não | |
contactId | string (uuid) | Não | |
companyId | string (uuid) | Não | |
projectId | string (uuid) | Não | |
status | array of "suggested" | "open" | "in_progress" | "done" | "canceled" | Não | min items 1 · max items 10 |
priority | array of "low" | "normal" | "high" | "urgent" | Não | min items 1 · max items 10 |
assigneeId | string | Não | min length 1 |
ownerId | string | Não | min length 1 |
unassigned | string | Não | |
dueFrom | string (date-time) | Não | |
dueBefore | string (date-time) | Não | |
createdFrom | string (date-time) | Não | |
createdBefore | string (date-time) | Não | |
sort | "dueAt" | "createdAt" | "updatedAt" | "priority" | "title" | Não | default "dueAt" |
order | "asc" | "desc" | Não | default "asc" |
Resposta
29 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
data | array of object | Sim |
data[].assignees | array of object | Sim |
data[].assignees[].id | string (uuid) | Sim |
data[].assignees[].image | null nos exemplos | Sim |
data[].assignees[].name | string | Sim |
data[].companyId | null nos exemplos | Sim |
data[].companyName | null nos exemplos | Sim |
data[].contactId | string | null (uuid) | Sim |
data[].contactName | string | null | Sim |
data[].conversationId | null nos exemplos | Sim |
data[].createdAt | string (date-time) | Sim |
data[].createdBy | string (uuid) | Sim |
data[].createdByName | string | Sim |
data[].description | string | null | Sim |
data[].dueAt | string | null (date-time) | Sim |
data[].evidence | array of any | Sim |
data[].id | string (uuid) | Sim |
data[].organizationId | string (uuid) | Sim |
data[].ownerId | string | null (uuid) | Sim |
data[].ownerName | string | null | Sim |
data[].priority | string | Sim |
data[].sessionId | null nos exemplos | Sim |
data[].sourceKey | null nos exemplos | Sim |
data[].status | string | Sim |
data[].title | string | Sim |
data[].updatedAt | string (date-time) | Sim |
page | integer | Sim |
pageSize | integer | Sim |
total | integer | Sim |
Exemplo
curl -X GET "https://api.firmado.app/v1/tasks" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/tasks", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/tasks",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tasks");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/tasks")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/tasks", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/tasks"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/tasks");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (200), com valores de exemplo:
{
"data": [
{
"assignees": [],
"companyId": null,
"companyName": null,
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactName": "Ana Lima",
"conversationId": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdByName": "Ana Lima",
"description": "…",
"dueAt": "2026-11-21T14:00:00.000Z",
"evidence": [],
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerName": "Ana Lima",
"priority": "…",
"sessionId": null,
"sourceKey": null,
"status": "…",
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z"
}
],
"page": 1,
"pageSize": 1,
"total": 1
}POST/v1/tasks
Cria uma tarefa, ligada ou não a um contato, empresa ou proposta.
CriarEm caso de sucesso: 201.Permissão: Criar.
Corpo
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
title | string | Sim | min length 1 · max length 300 |
description | string | null | Não | |
status | "suggested" | "open" | "in_progress" | "done" | "canceled" | Não | default "open" |
priority | "low" | "normal" | "high" | "urgent" | Não | default "normal" |
dueAt | string (date-time) | null | Não | |
ownerId | string | null | Não | |
assigneeIds | array of string | Não | max items 100 |
contactId | string (uuid) | null | Não | |
companyId | string (uuid) | null | Não |
Resposta
25 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
assignees | array of object | Sim |
assignees[].id | string (uuid) | Sim |
assignees[].image | null nos exemplos | Sim |
assignees[].name | string | Sim |
companyId | null nos exemplos | Sim |
companyName | null nos exemplos | Sim |
contactId | string | null (uuid) | Sim |
contactName | string | null | Sim |
conversationId | null nos exemplos | Sim |
createdAt | string (date-time) | Sim |
createdBy | string (uuid) | Sim |
createdByName | string | Sim |
description | string | null | Sim |
dueAt | string | null (date-time) | Sim |
evidence | array of any | Sim |
id | string (uuid) | Sim |
organizationId | string (uuid) | Sim |
ownerId | string | null (uuid) | Sim |
ownerName | string | null | Sim |
priority | string | Sim |
sessionId | null nos exemplos | Sim |
sourceKey | null nos exemplos | Sim |
status | string | Sim |
title | string | Sim |
updatedAt | string (date-time) | Sim |
Exemplo
curl -X POST "https://api.firmado.app/v1/tasks" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}'const res = await fetch("https://api.firmado.app/v1/tasks", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/tasks",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tasks");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/tasks")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/tasks", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/tasks"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/tasks");
request.Content = new StringContent(""""
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (201), com valores de exemplo:
{
"assignees": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
}
],
"companyId": null,
"companyName": null,
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactName": "Ana Lima",
"conversationId": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdByName": "Ana Lima",
"description": "…",
"dueAt": "2026-11-21T14:00:00.000Z",
"evidence": [],
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerName": "Ana Lima",
"priority": "…",
"sessionId": null,
"sourceKey": null,
"status": "…",
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z"
}DELETE/v1/tasks/{id}
Exclui uma tarefa.
ExcluirEm caso de sucesso: 204.Permissão: Excluir.
Parâmetros do caminho
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
id | string | Sim |
Exemplo
curl -X DELETE "https://api.firmado.app/v1/tasks/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/tasks/{id}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/tasks/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/tasks/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/tasks/{id}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/tasks/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/tasks/{id}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/tasks/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/tasks/{id}
Retorna uma tarefa.
Ver umEm caso de sucesso: 200.Permissão: Ler.
Parâmetros do caminho
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
id | string | Sim |
Resposta
25 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
assignees | array of object | Sim |
assignees[].id | string (uuid) | Sim |
assignees[].image | null nos exemplos | Sim |
assignees[].name | string | Sim |
companyId | null nos exemplos | Sim |
companyName | null nos exemplos | Sim |
contactId | null nos exemplos | Sim |
contactName | null nos exemplos | Sim |
conversationId | null nos exemplos | Sim |
createdAt | string (date-time) | Sim |
createdBy | string (uuid) | Sim |
createdByName | string | Sim |
description | string | null | Sim |
dueAt | string | null (date-time) | Sim |
evidence | array of any | Sim |
id | string (uuid) | Sim |
organizationId | string (uuid) | Sim |
ownerId | string | null (uuid) | Sim |
ownerName | string | null | Sim |
priority | string | Sim |
sessionId | null nos exemplos | Sim |
sourceKey | null nos exemplos | Sim |
status | string | Sim |
title | string | Sim |
updatedAt | string (date-time) | Sim |
Exemplo
curl -X GET "https://api.firmado.app/v1/tasks/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/tasks/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/tasks/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tasks/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/tasks/{id}")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/tasks/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/tasks/{id}"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/tasks/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (200), com valores de exemplo:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"title": "…",
"description": "…",
"status": "…",
"priority": "…",
"dueAt": "2026-11-21T14:00:00.000Z",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactId": null,
"companyId": null,
"sessionId": null,
"sourceKey": null,
"evidence": [],
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"contactName": null,
"companyName": null,
"ownerName": "Ana Lima",
"conversationId": null,
"createdByName": "Ana Lima",
"assignees": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
}
]
}PATCH/v1/tasks/{id}
Altera uma tarefa: status, responsável, prazo ou prioridade.
AtualizarEm caso de sucesso: 200.Permissão: Atualizar.
Parâmetros do caminho
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
id | string | Sim |
Corpo
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
title | string | Não | min length 1 · max length 300 |
description | string | null | Não | |
status | "suggested" | "open" | "in_progress" | "done" | "canceled" | Não | |
priority | "low" | "normal" | "high" | "urgent" | Não | |
dueAt | string (date-time) | null | Não | |
ownerId | string | null | Não | |
assigneeIds | array of string | Não | max items 100 |
contactId | string (uuid) | null | Não | |
companyId | string (uuid) | null | Não |
Resposta
25 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
assignees | array of object | Sim |
assignees[].id | string (uuid) | Sim |
assignees[].image | null nos exemplos | Sim |
assignees[].name | string | Sim |
companyId | null nos exemplos | Sim |
companyName | null nos exemplos | Sim |
contactId | string | null (uuid) | Sim |
contactName | string | null | Sim |
conversationId | string | null (uuid) | Sim |
createdAt | string (date-time) | Sim |
createdBy | string | null (uuid) | Sim |
createdByName | string | null | Sim |
description | string | null | Sim |
dueAt | string | null (date-time) | Sim |
evidence | array of string (uuid) | Sim |
id | string (uuid) | Sim |
organizationId | string (uuid) | Sim |
ownerId | string | null (uuid) | Sim |
ownerName | string | null | Sim |
priority | string | Sim |
sessionId | string | null (uuid) | Sim |
sourceKey | string | null | Sim |
status | string | Sim |
title | string | Sim |
updatedAt | string (date-time) | Sim |
Exemplo
curl -X PATCH "https://api.firmado.app/v1/tasks/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}'const res = await fetch("https://api.firmado.app/v1/tasks/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/tasks/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tasks/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/tasks/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/tasks/{id}", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/tasks/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/tasks/{id}");
request.Content = new StringContent(""""
{
"title": "…",
"description": "…",
"status": "suggested",
"priority": "low"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (200), com valores de exemplo:
{
"assignees": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
}
],
"companyId": null,
"companyName": null,
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"contactName": "Ana Lima",
"conversationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdByName": "Ana Lima",
"description": "…",
"dueAt": "2026-11-21T14:00:00.000Z",
"evidence": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerName": "Ana Lima",
"priority": "…",
"sessionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"sourceKey": "…",
"status": "…",
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z"
}GET/v1/tasks/board
Tarefas agrupadas por status, para um quadro.
Ler/boardEm caso de sucesso: 200.Permissão: Ler.
Parâmetros da consulta
| Campo | Tipo | Obrigatório | Observações |
|---|---|---|---|
page | integer | Não | min 1 · default 1 |
pageSize | integer | Não | min 1 · max 100 · default 25 |
q | string | Não | min length 1 · max length 200 |
archived | string | Não | |
contactId | string (uuid) | Não | |
companyId | string (uuid) | Não | |
projectId | string (uuid) | Não | |
status | array of "suggested" | "open" | "in_progress" | "done" | "canceled" | Não | min items 1 · max items 10 |
priority | array of "low" | "normal" | "high" | "urgent" | Não | min items 1 · max items 10 |
assigneeId | string | Não | min length 1 |
ownerId | string | Não | min length 1 |
unassigned | string | Não | |
dueFrom | string (date-time) | Não | |
dueBefore | string (date-time) | Não | |
createdFrom | string (date-time) | Não | |
createdBefore | string (date-time) | Não | |
sort | "dueAt" | "createdAt" | "updatedAt" | "priority" | "title" | Não | default "dueAt" |
order | "asc" | "desc" | Não | default "asc" |
Resposta
31 campos
| Campo | Tipo | Sempre presente |
|---|---|---|
columns | array of object | Sim |
columns[].data | array of object | Sim |
columns[].data[].assignees | array of object | Sim |
columns[].data[].assignees[].id | string (uuid) | Sim |
columns[].data[].assignees[].image | null nos exemplos | Sim |
columns[].data[].assignees[].name | string | Sim |
columns[].data[].companyId | null nos exemplos | Sim |
columns[].data[].companyName | null nos exemplos | Sim |
columns[].data[].contactId | null nos exemplos | Sim |
columns[].data[].contactName | null nos exemplos | Sim |
columns[].data[].conversationId | null nos exemplos | Sim |
columns[].data[].createdAt | string (date-time) | Sim |
columns[].data[].createdBy | string (uuid) | Sim |
columns[].data[].createdByName | string | Sim |
columns[].data[].description | string | null | Sim |
columns[].data[].dueAt | string | null (date-time) | Sim |
columns[].data[].evidence | array of any | Sim |
columns[].data[].id | string (uuid) | Sim |
columns[].data[].organizationId | string (uuid) | Sim |
columns[].data[].ownerId | string | null (uuid) | Sim |
columns[].data[].ownerName | string | null | Sim |
columns[].data[].priority | string | Sim |
columns[].data[].sessionId | null nos exemplos | Sim |
columns[].data[].sourceKey | null nos exemplos | Sim |
columns[].data[].status | string | Sim |
columns[].data[].title | string | Sim |
columns[].data[].updatedAt | string (date-time) | Sim |
columns[].page | integer | Sim |
columns[].pageSize | integer | Sim |
columns[].status | string | Sim |
columns[].total | integer | Sim |
Exemplo
curl -X GET "https://api.firmado.app/v1/tasks/board" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/tasks/board", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/tasks/board",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tasks/board");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/tasks/board")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/tasks/board", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/tasks/board"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/tasks/board");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Resposta (200), com valores de exemplo:
{
"columns": [
{
"data": [],
"page": 1,
"pageSize": 1,
"status": "…",
"total": 1
}
]
}Eventos de webhook
Mudanças desta funcionalidade que os webhooks podem enviar.
task.createdCriartask.updatedAtualizartask.deletedExcluir