Projets
Les projets, leurs éléments, notes et chiffres.
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/projects
Liste les projets, par statut ou responsable.
ListerEn cas de succès : 200.Permission : Lire.
Exemple
curl -X GET "https://api.firmado.app/v1/projects" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects");
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/projects")
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/projects", 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/projects"))
.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/projects");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
[]POST/v1/projects
Crée un projet.
CréerEn cas de succès : 201.Permission : Créer.
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
name | string | Oui | min length 1 · max length 120 |
description | string | null | Non | |
startDate | string (date) | null | Non | |
endDate | string (date) | null | Non | |
ownerIds | array of string | Non | max items 100 |
Réponse
16 champs
| Champ | Type | Toujours présent |
|---|---|---|
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | string | null | Oui |
endDate | string | null (date) | Oui |
endingNotifiedFor | null dans les exemples | Oui |
id | string (uuid) | Oui |
itemCount | integer | Oui |
name | string | Oui |
owners | array of object | Oui |
owners[].id | string (uuid) | Oui |
owners[].image | null dans les exemples | Oui |
owners[].name | string | Oui |
startDate | string | null (date) | Oui |
status | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/projects" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}'const res = await fetch("https://api.firmado.app/v1/projects", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/projects",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
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/projects")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
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(`{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/projects", 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/projects"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
"""))
.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/projects");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (201), avec des valeurs d’exemple :
{
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": "…",
"endDate": "2026-11-21",
"endingNotifiedFor": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"itemCount": 1,
"name": "Ana Lima",
"owners": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
}
],
"startDate": "2026-11-21",
"status": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}DELETE/v1/projects/{id}
Supprime un projet ; ses enregistrements restent.
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/projects/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{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/projects/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{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/projects/{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/projects/{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/projects/{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/projects/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/projects/{id}
Renvoie un projet avec ses chiffres.
Voir unEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
13 champs
| Champ | Type | Toujours présent |
|---|---|---|
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | null dans les exemples | Oui |
endDate | null dans les exemples | Oui |
endingNotifiedFor | null dans les exemples | Oui |
id | string (uuid) | Oui |
itemCount | integer | Oui |
name | string | Oui |
owners | array of any | Oui |
startDate | null dans les exemples | Oui |
status | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/projects/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{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/projects/{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/projects/{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/projects/{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/projects/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": null,
"endDate": null,
"endingNotifiedFor": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"itemCount": 1,
"name": "Ana Lima",
"owners": [],
"startDate": null,
"status": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}PATCH/v1/projects/{id}
Modifie un projet : nom, dates, responsables et statut.
ModifierEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
name | string | Non | min length 1 · max length 120 |
description | string | null | Non | |
startDate | string (date) | null | Non | |
endDate | string (date) | null | Non | |
ownerIds | array of string | Non | max items 100 |
status | "active" | "paused" | "completed" | "archived" | Non |
Réponse
16 champs
| Champ | Type | Toujours présent |
|---|---|---|
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | null dans les exemples | Oui |
endDate | string | null (date) | Oui |
endingNotifiedFor | string | null (date) | Oui |
id | string (uuid) | Oui |
itemCount | integer | Oui |
name | string | Oui |
owners | array of object | Oui |
owners[].id | string (uuid) | Oui |
owners[].image | null dans les exemples | Oui |
owners[].name | string | Oui |
startDate | string | null (date) | Oui |
status | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X PATCH "https://api.firmado.app/v1/projects/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}'const res = await fetch("https://api.firmado.app/v1/projects/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/projects/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
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/projects/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
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(`{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/projects/{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/projects/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
"""))
.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/projects/{id}");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"description": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"description": null,
"status": "…",
"startDate": "2026-11-21",
"endDate": "2026-11-21",
"endingNotifiedFor": "2026-11-21",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"owners": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"image": null
}
],
"itemCount": 1
}GET/v1/projects/{id}/activity
Ce qui s’est passé dans les enregistrements d’un projet.
Lire/{id}/activityEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
scope | "period" | "all" | Non | default "period" |
Réponse
9 champs
| Champ | Type | Toujours présent |
|---|---|---|
from | string (date) | Oui |
series | array of object | Oui |
series[].clicks | integer | Oui |
series[].date | string (date) | Oui |
series[].downloads | integer | Oui |
series[].responses | integer | Oui |
series[].submissions | integer | Oui |
series[].views | integer | Oui |
to | string (date) | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/projects/{id}/activity" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}/activity", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects/{id}/activity",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/activity");
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/projects/{id}/activity")
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/projects/{id}/activity", 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/projects/{id}/activity"))
.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/projects/{id}/activity");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"from": "2026-11-21",
"to": "2026-11-21",
"series": [
{
"date": "2026-11-21",
"views": 1,
"clicks": 1,
"submissions": 1,
"responses": 1,
"downloads": 1
}
]
}GET/v1/projects/{id}/candidates
Les enregistrements d’un type qui peuvent être ajoutés à un projet.
Lire/{id}/candidatesEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
kind | "contact" | "company" | "list" | "deal" | "invoice" | "approval" | "contract" | "catalogPage" | "task" | "bookingPage" | "form" | "survey" | "linkPage" | "shortLink" | "sharedFile" | "postAutomation" | "socialPost" | Oui | |
q | string | Non | max length 100 |
Réponse
14 champs
| Champ | Type | Toujours présent |
|---|---|---|
[].amount | null dans les exemples | Oui |
[].closedAt | null dans les exemples | Oui |
[].currency | null dans les exemples | Oui |
[].detail | null dans les exemples | Oui |
[].dueAt | null dans les exemples | Oui |
[].id | string (uuid) | Oui |
[].kind | string | Oui |
[].metrics | object | Oui |
[].metrics.accounts | integer | Non |
[].metrics.comments | integer | Non |
[].metrics.reactions | integer | Non |
[].metrics.shares | integer | Non |
[].name | string | Oui |
[].status | string | null | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/projects/{id}/candidates" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}/candidates", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects/{id}/candidates",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/candidates");
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/projects/{id}/candidates")
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/projects/{id}/candidates", 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/projects/{id}/candidates"))
.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/projects/{id}/candidates");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
[
{
"amount": null,
"closedAt": null,
"currency": null,
"detail": null,
"dueAt": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"metrics": {
"accounts": 1,
"comments": 1,
"reactions": 1,
"shares": 1
},
"name": "Ana Lima",
"status": "…"
}
]GET/v1/projects/{id}/items
Les enregistrements d’un projet, par type, avec leurs chiffres.
Lire/{id}/itemsEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
scope | "period" | "all" | Non | default "period" |
Réponse
45 champs
| Champ | Type | Toujours présent |
|---|---|---|
groups | array of object | Oui |
groups[].items | array of object | Oui |
groups[].items[].amount | integer | null | Oui |
groups[].items[].closedAt | string | null (date-time) | Oui |
groups[].items[].currency | string | null | Oui |
groups[].items[].detail | null dans les exemples | Oui |
groups[].items[].dueAt | null dans les exemples | Oui |
groups[].items[].id | string (uuid) | Oui |
groups[].items[].kind | string | Oui |
groups[].items[].metrics | object | Oui |
groups[].items[].metrics.accounts | integer | Non |
groups[].items[].metrics.appointments | integer | Non |
groups[].items[].metrics.clicks | integer | Non |
groups[].items[].metrics.comments | integer | Non |
groups[].items[].metrics.contacts | integer | Non |
groups[].items[].metrics.reactions | integer | Non |
groups[].items[].metrics.shares | integer | Non |
groups[].items[].metrics.submissions | integer | Non |
groups[].items[].metrics.views | integer | Non |
groups[].items[].name | string | Oui |
groups[].items[].status | string | null | Oui |
groups[].kind | string | Oui |
range | object | null | Oui |
range.from | string (date) | Oui |
range.to | string (date) | Oui |
summary | object | Oui |
summary.appointments | integer | Oui |
summary.clicks | integer | Oui |
summary.dealsAccepted | array of object | Oui |
summary.dealsAccepted[].amount | integer | Oui |
summary.dealsAccepted[].currency | string | Oui |
summary.dealsOpen | array of any | Oui |
summary.downloads | integer | Oui |
summary.invoicesOpen | array of any | Oui |
summary.invoicesPaid | array of any | Oui |
summary.items | integer | Oui |
summary.leads | integer | Oui |
summary.postComments | integer | Oui |
summary.postReactions | integer | Oui |
summary.requests | integer | Oui |
summary.responses | integer | Oui |
summary.submissions | integer | Oui |
summary.tasksDone | integer | Oui |
summary.tasksTotal | integer | Oui |
summary.views | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/projects/{id}/items" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}/items", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects/{id}/items",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/items");
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/projects/{id}/items")
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/projects/{id}/items", 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/projects/{id}/items"))
.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/projects/{id}/items");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"groups": [
{
"items": [],
"kind": "…"
}
],
"range": {
"from": "2026-11-21",
"to": "2026-11-21"
},
"summary": {
"appointments": 1,
"clicks": 1,
"dealsAccepted": [
{}
],
"dealsOpen": [],
"downloads": 1,
"invoicesOpen": [],
"invoicesPaid": [],
"items": 1,
"leads": 1,
"postComments": 1,
"postReactions": 1,
"requests": 1,
"responses": 1,
"submissions": 1,
"tasksDone": 1,
"tasksTotal": 1,
"views": 1
}
}POST/v1/projects/{id}/items
Ajoute des enregistrements à un projet.
Créer/{id}/itemsEn cas de succès : 201.Permission : Créer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
kind | "contact" | "company" | "list" | "deal" | "invoice" | "approval" | "contract" | "catalogPage" | "task" | "bookingPage" | "form" | "survey" | "linkPage" | "shortLink" | "sharedFile" | "postAutomation" | "socialPost" | Oui | |
ids | array of string (uuid) | Oui | min items 1 · max items 100 |
Réponse
60 champs
| Champ | Type | Toujours présent |
|---|---|---|
groups | array of object | Oui |
groups[].items | array of object | Oui |
groups[].items[].amount | integer | null | Oui |
groups[].items[].closedAt | string | null (date-time) | Oui |
groups[].items[].currency | string | null | Oui |
groups[].items[].detail | string | null | Oui |
groups[].items[].dueAt | string | null (date-time) | Oui |
groups[].items[].id | string (uuid) | Oui |
groups[].items[].kind | string | Oui |
groups[].items[].metrics | object | Oui |
groups[].items[].metrics.accounts | integer | Non |
groups[].items[].metrics.appointments | integer | Non |
groups[].items[].metrics.approved | integer | Non |
groups[].items[].metrics.approvers | integer | Non |
groups[].items[].metrics.clicks | integer | Non |
groups[].items[].metrics.comments | integer | Non |
groups[].items[].metrics.contacts | integer | Non |
groups[].items[].metrics.downloads | integer | Non |
groups[].items[].metrics.handled | integer | Non |
groups[].items[].metrics.invited | integer | Non |
groups[].items[].metrics.leads | integer | Non |
groups[].items[].metrics.reactions | integer | Non |
groups[].items[].metrics.requests | integer | Non |
groups[].items[].metrics.responses | integer | Non |
groups[].items[].metrics.sales | integer | Non |
groups[].items[].metrics.shares | integer | Non |
groups[].items[].metrics.signed | integer | Non |
groups[].items[].metrics.signers | integer | Non |
groups[].items[].metrics.submissions | integer | Non |
groups[].items[].metrics.views | integer | Non |
groups[].items[].name | string | Oui |
groups[].items[].status | string | null | Oui |
groups[].kind | string | Oui |
range | object | null | Oui |
range.from | string (date) | Oui |
range.to | string (date) | Oui |
summary | object | Oui |
summary.appointments | integer | Oui |
summary.clicks | integer | Oui |
summary.dealsAccepted | array of object | Oui |
summary.dealsAccepted[].amount | integer | Oui |
summary.dealsAccepted[].currency | string | Oui |
summary.dealsOpen | array of object | Oui |
summary.dealsOpen[].amount | integer | Oui |
summary.dealsOpen[].currency | string | Oui |
summary.downloads | integer | Oui |
summary.invoicesOpen | array of any | Oui |
summary.invoicesPaid | array of object | Oui |
summary.invoicesPaid[].amount | integer | Oui |
summary.invoicesPaid[].currency | string | Oui |
summary.items | integer | Oui |
summary.leads | integer | Oui |
summary.postComments | integer | Oui |
summary.postReactions | integer | Oui |
summary.requests | integer | Oui |
summary.responses | integer | Oui |
summary.submissions | integer | Oui |
summary.tasksDone | integer | Oui |
summary.tasksTotal | integer | Oui |
summary.views | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/projects/{id}/items" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}'const res = await fetch("https://api.firmado.app/v1/projects/{id}/items", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/projects/{id}/items",
headers={"X-Api-Key": "fmd_..."},
json={
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
],
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/items");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
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/projects/{id}/items")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
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(`{
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/projects/{id}/items", 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/projects/{id}/items"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
"""))
.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/projects/{id}/items");
request.Content = new StringContent(""""
{
"kind": "contact",
"ids": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (201), avec des valeurs d’exemple :
{
"groups": [
{
"items": [],
"kind": "…"
}
],
"range": {
"from": "2026-11-21",
"to": "2026-11-21"
},
"summary": {
"appointments": 1,
"clicks": 1,
"dealsAccepted": [
{}
],
"dealsOpen": [
{}
],
"downloads": 1,
"invoicesOpen": [],
"invoicesPaid": [
{}
],
"items": 1,
"leads": 1,
"postComments": 1,
"postReactions": 1,
"requests": 1,
"responses": 1,
"submissions": 1,
"tasksDone": 1,
"tasksTotal": 1,
"views": 1
}
}DELETE/v1/projects/{id}/items/{kind}/{itemId}
Retire un enregistrement d’un projet.
Supprimer/{id}/items/{kind}/{itemId}En cas de succès : 204.Permission : Supprimer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui | |
kind | string | Oui | |
itemId | string | Oui |
Exemple
curl -X DELETE "https://api.firmado.app/v1/projects/{id}/items/{kind}/{itemId}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}/items/{kind}/{itemId}", {
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/projects/{id}/items/{kind}/{itemId}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/items/{kind}/{itemId}");
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/projects/{id}/items/{kind}/{itemId}")
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/projects/{id}/items/{kind}/{itemId}", 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/projects/{id}/items/{kind}/{itemId}"))
.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/projects/{id}/items/{kind}/{itemId}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/projects/{id}/notes
Les notes d’un projet.
Lire/{id}/notesEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
7 champs
| Champ | Type | Toujours présent |
|---|---|---|
[].authorId | string (uuid) | Oui |
[].authorImage | null dans les exemples | Oui |
[].authorName | string | Oui |
[].body | string | Oui |
[].createdAt | string (date-time) | Oui |
[].id | string (uuid) | Oui |
[].updatedAt | string (date-time) | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/projects/{id}/notes" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}/notes", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects/{id}/notes",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/notes");
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/projects/{id}/notes")
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/projects/{id}/notes", 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/projects/{id}/notes"))
.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/projects/{id}/notes");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
[
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"body": "…",
"authorId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"authorName": "Ana Lima",
"authorImage": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z"
}
]POST/v1/projects/{id}/notes
Écrit une note sur un projet (tout membre).
Créer/{id}/notesEn cas de succès : 201.Permission : Créer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
body | string | Oui | min length 1 · max length 5000 |
Réponse
7 champs
| Champ | Type | Toujours présent |
|---|---|---|
authorId | string (uuid) | Oui |
authorImage | null dans les exemples | Oui |
authorName | string | Oui |
body | string | Oui |
createdAt | string (date-time) | Oui |
id | string (uuid) | Oui |
updatedAt | string (date-time) | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/projects/{id}/notes" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"body": "…"
}'const res = await fetch("https://api.firmado.app/v1/projects/{id}/notes", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"body": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/projects/{id}/notes",
headers={"X-Api-Key": "fmd_..."},
json={
"body": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/notes");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"body": "…"
}
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/projects/{id}/notes")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"body": "…"
}
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(`{
"body": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/projects/{id}/notes", 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/projects/{id}/notes"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"body": "…"
}
"""))
.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/projects/{id}/notes");
request.Content = new StringContent(""""
{
"body": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (201), avec des valeurs d’exemple :
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"body": "…",
"authorId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"authorName": "Ana Lima",
"authorImage": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z"
}DELETE/v1/projects/{id}/notes/{noteId}
Supprime une note.
Supprimer/{id}/notes/{noteId}En cas de succès : 204.Permission : Supprimer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui | |
noteId | string | Oui |
Exemple
curl -X DELETE "https://api.firmado.app/v1/projects/{id}/notes/{noteId}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/{id}/notes/{noteId}", {
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/projects/{id}/notes/{noteId}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/notes/{noteId}");
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/projects/{id}/notes/{noteId}")
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/projects/{id}/notes/{noteId}", 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/projects/{id}/notes/{noteId}"))
.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/projects/{id}/notes/{noteId}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/projects/{id}/notes/{noteId}
Modifie une note.
Modifier/{id}/notes/{noteId}En cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui | |
noteId | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
body | string | Oui | min length 1 · max length 5000 |
Réponse
7 champs
| Champ | Type | Toujours présent |
|---|---|---|
authorId | string (uuid) | Oui |
authorImage | null dans les exemples | Oui |
authorName | string | Oui |
body | string | Oui |
createdAt | string (date-time) | Oui |
id | string (uuid) | Oui |
updatedAt | string (date-time) | Oui |
Exemple
curl -X PATCH "https://api.firmado.app/v1/projects/{id}/notes/{noteId}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"body": "…"
}'const res = await fetch("https://api.firmado.app/v1/projects/{id}/notes/{noteId}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"body": "…"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/projects/{id}/notes/{noteId}",
headers={"X-Api-Key": "fmd_..."},
json={
"body": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/{id}/notes/{noteId}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"body": "…"
}
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/projects/{id}/notes/{noteId}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"body": "…"
}
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(`{
"body": "…"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/projects/{id}/notes/{noteId}", 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/projects/{id}/notes/{noteId}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"body": "…"
}
"""))
.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/projects/{id}/notes/{noteId}");
request.Content = new StringContent(""""
{
"body": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"body": "…",
"authorId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"authorName": "Ana Lima",
"authorImage": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z"
}GET/v1/projects/for-item
Les projets dont fait partie un enregistrement.
Lire/for-itemEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
kind | "contact" | "company" | "list" | "deal" | "invoice" | "approval" | "contract" | "catalogPage" | "task" | "bookingPage" | "form" | "survey" | "linkPage" | "shortLink" | "sharedFile" | "postAutomation" | "socialPost" | Oui | |
itemId | string (uuid) | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/projects/for-item" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/projects/for-item", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/projects/for-item",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/projects/for-item");
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/projects/for-item")
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/projects/for-item", 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/projects/for-item"))
.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/projects/for-item");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
[
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]Événements de webhook
Les changements de cette fonctionnalité que les webhooks peuvent envoyer.
project.createdCréerproject.updatedModifierproject.items_addedModifierproject.item_removedModifierproject.deletedSupprimer