Tâches
Des tâches avec responsables, échéances et priorités.
Valeurs des exemples
Saisissez-les une fois : tous les exemples de cette page les utilisent. La clé d’API reste sur cette page et n’est jamais enregistrée.
GET/v1/tasks
Liste les tâches, par statut, responsable, priorité ou échéance.
ListerEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
page | integer | Non | min 1 · default 1 |
pageSize | integer | Non | min 1 · max 100 · default 25 |
q | string | Non | min length 1 · max length 200 |
archived | string | Non | |
contactId | string (uuid) | Non | |
companyId | string (uuid) | Non | |
projectId | string (uuid) | Non | |
status | array of "suggested" | "open" | "in_progress" | "done" | "canceled" | Non | min items 1 · max items 10 |
priority | array of "low" | "normal" | "high" | "urgent" | Non | min items 1 · max items 10 |
assigneeId | string | Non | min length 1 |
ownerId | string | Non | min length 1 |
unassigned | string | Non | |
dueFrom | string (date-time) | Non | |
dueBefore | string (date-time) | Non | |
createdFrom | string (date-time) | Non | |
createdBefore | string (date-time) | Non | |
sort | "dueAt" | "createdAt" | "updatedAt" | "priority" | "title" | Non | default "dueAt" |
order | "asc" | "desc" | Non | default "asc" |
Réponse
29 champs
| Champ | Type | Toujours présent |
|---|---|---|
data | array of object | Oui |
data[].assignees | array of object | Oui |
data[].assignees[].id | string (uuid) | Oui |
data[].assignees[].image | null dans les exemples | Oui |
data[].assignees[].name | string | Oui |
data[].companyId | null dans les exemples | Oui |
data[].companyName | null dans les exemples | Oui |
data[].contactId | string | null (uuid) | Oui |
data[].contactName | string | null | Oui |
data[].conversationId | null dans les exemples | Oui |
data[].createdAt | string (date-time) | Oui |
data[].createdBy | string (uuid) | Oui |
data[].createdByName | string | Oui |
data[].description | string | null | Oui |
data[].dueAt | string | null (date-time) | Oui |
data[].evidence | array of any | Oui |
data[].id | string (uuid) | Oui |
data[].organizationId | string (uuid) | Oui |
data[].ownerId | string | null (uuid) | Oui |
data[].ownerName | string | null | Oui |
data[].priority | string | Oui |
data[].sessionId | null dans les exemples | Oui |
data[].sourceKey | null dans les exemples | Oui |
data[].status | string | Oui |
data[].title | string | Oui |
data[].updatedAt | string (date-time) | Oui |
page | integer | Oui |
pageSize | integer | Oui |
total | integer | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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
Crée une tâche, liée ou non à un contact, une entreprise ou une proposition.
CréerEn cas de succès : 201.Permission : Créer.
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | Oui | min length 1 · max length 300 |
description | string | null | Non | |
status | "suggested" | "open" | "in_progress" | "done" | "canceled" | Non | default "open" |
priority | "low" | "normal" | "high" | "urgent" | Non | default "normal" |
dueAt | string (date-time) | null | Non | |
ownerId | string | null | Non | |
assigneeIds | array of string | Non | max items 100 |
contactId | string (uuid) | null | Non | |
companyId | string (uuid) | null | Non |
Réponse
25 champs
| Champ | Type | Toujours présent |
|---|---|---|
assignees | array of object | Oui |
assignees[].id | string (uuid) | Oui |
assignees[].image | null dans les exemples | Oui |
assignees[].name | string | Oui |
companyId | null dans les exemples | Oui |
companyName | null dans les exemples | Oui |
contactId | string | null (uuid) | Oui |
contactName | string | null | Oui |
conversationId | null dans les exemples | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
createdByName | string | Oui |
description | string | null | Oui |
dueAt | string | null (date-time) | Oui |
evidence | array of any | Oui |
id | string (uuid) | Oui |
organizationId | string (uuid) | Oui |
ownerId | string | null (uuid) | Oui |
ownerName | string | null | Oui |
priority | string | Oui |
sessionId | null dans les exemples | Oui |
sourceKey | null dans les exemples | Oui |
status | string | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
Exemple
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();Réponse (201), avec des valeurs d’exemple :
{
"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}
Supprime une tâche.
SupprimerEn cas de succès : 204.Permission : Supprimer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
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}
Renvoie une tâche.
Voir unEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
25 champs
| Champ | Type | Toujours présent |
|---|---|---|
assignees | array of object | Oui |
assignees[].id | string (uuid) | Oui |
assignees[].image | null dans les exemples | Oui |
assignees[].name | string | Oui |
companyId | null dans les exemples | Oui |
companyName | null dans les exemples | Oui |
contactId | null dans les exemples | Oui |
contactName | null dans les exemples | Oui |
conversationId | null dans les exemples | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
createdByName | string | Oui |
description | string | null | Oui |
dueAt | string | null (date-time) | Oui |
evidence | array of any | Oui |
id | string (uuid) | Oui |
organizationId | string (uuid) | Oui |
ownerId | string | null (uuid) | Oui |
ownerName | string | null | Oui |
priority | string | Oui |
sessionId | null dans les exemples | Oui |
sourceKey | null dans les exemples | Oui |
status | string | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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}
Modifie une tâche : statut, responsable, échéance ou priorité.
ModifierEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
title | string | Non | min length 1 · max length 300 |
description | string | null | Non | |
status | "suggested" | "open" | "in_progress" | "done" | "canceled" | Non | |
priority | "low" | "normal" | "high" | "urgent" | Non | |
dueAt | string (date-time) | null | Non | |
ownerId | string | null | Non | |
assigneeIds | array of string | Non | max items 100 |
contactId | string (uuid) | null | Non | |
companyId | string (uuid) | null | Non |
Réponse
25 champs
| Champ | Type | Toujours présent |
|---|---|---|
assignees | array of object | Oui |
assignees[].id | string (uuid) | Oui |
assignees[].image | null dans les exemples | Oui |
assignees[].name | string | Oui |
companyId | null dans les exemples | Oui |
companyName | null dans les exemples | Oui |
contactId | string | null (uuid) | Oui |
contactName | string | null | Oui |
conversationId | string | null (uuid) | Oui |
createdAt | string (date-time) | Oui |
createdBy | string | null (uuid) | Oui |
createdByName | string | null | Oui |
description | string | null | Oui |
dueAt | string | null (date-time) | Oui |
evidence | array of string (uuid) | Oui |
id | string (uuid) | Oui |
organizationId | string (uuid) | Oui |
ownerId | string | null (uuid) | Oui |
ownerName | string | null | Oui |
priority | string | Oui |
sessionId | string | null (uuid) | Oui |
sourceKey | string | null | Oui |
status | string | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"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
Les tâches regroupées par statut, pour un tableau.
Lire/boardEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
page | integer | Non | min 1 · default 1 |
pageSize | integer | Non | min 1 · max 100 · default 25 |
q | string | Non | min length 1 · max length 200 |
archived | string | Non | |
contactId | string (uuid) | Non | |
companyId | string (uuid) | Non | |
projectId | string (uuid) | Non | |
status | array of "suggested" | "open" | "in_progress" | "done" | "canceled" | Non | min items 1 · max items 10 |
priority | array of "low" | "normal" | "high" | "urgent" | Non | min items 1 · max items 10 |
assigneeId | string | Non | min length 1 |
ownerId | string | Non | min length 1 |
unassigned | string | Non | |
dueFrom | string (date-time) | Non | |
dueBefore | string (date-time) | Non | |
createdFrom | string (date-time) | Non | |
createdBefore | string (date-time) | Non | |
sort | "dueAt" | "createdAt" | "updatedAt" | "priority" | "title" | Non | default "dueAt" |
order | "asc" | "desc" | Non | default "asc" |
Réponse
31 champs
| Champ | Type | Toujours présent |
|---|---|---|
columns | array of object | Oui |
columns[].data | array of object | Oui |
columns[].data[].assignees | array of object | Oui |
columns[].data[].assignees[].id | string (uuid) | Oui |
columns[].data[].assignees[].image | null dans les exemples | Oui |
columns[].data[].assignees[].name | string | Oui |
columns[].data[].companyId | null dans les exemples | Oui |
columns[].data[].companyName | null dans les exemples | Oui |
columns[].data[].contactId | null dans les exemples | Oui |
columns[].data[].contactName | null dans les exemples | Oui |
columns[].data[].conversationId | null dans les exemples | Oui |
columns[].data[].createdAt | string (date-time) | Oui |
columns[].data[].createdBy | string (uuid) | Oui |
columns[].data[].createdByName | string | Oui |
columns[].data[].description | string | null | Oui |
columns[].data[].dueAt | string | null (date-time) | Oui |
columns[].data[].evidence | array of any | Oui |
columns[].data[].id | string (uuid) | Oui |
columns[].data[].organizationId | string (uuid) | Oui |
columns[].data[].ownerId | string | null (uuid) | Oui |
columns[].data[].ownerName | string | null | Oui |
columns[].data[].priority | string | Oui |
columns[].data[].sessionId | null dans les exemples | Oui |
columns[].data[].sourceKey | null dans les exemples | Oui |
columns[].data[].status | string | Oui |
columns[].data[].title | string | Oui |
columns[].data[].updatedAt | string (date-time) | Oui |
columns[].page | integer | Oui |
columns[].pageSize | integer | Oui |
columns[].status | string | Oui |
columns[].total | integer | Oui |
Exemple
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();Réponse (200), avec des valeurs d’exemple :
{
"columns": [
{
"data": [],
"page": 1,
"pageSize": 1,
"status": "…",
"total": 1
}
]
}Événements de webhook
Les changements de cette fonctionnalité que les webhooks peuvent envoyer.
task.createdCréertask.updatedModifiertask.deletedSupprimer