Listes
Listes manuelles et intelligentes de contacts, imports et exports.
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/lists
Liste les listes de contacts.
ListerEn cas de succès : 200.Permission : Lire.
Exemple
curl -X GET "https://api.firmado.app/v1/lists" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/lists",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists");
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/lists")
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/lists", 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/lists"))
.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/lists");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/lists
Crée une liste : manuelle, ou intelligente à partir de filtres.
CréerEn cas de succès : 201.Permission : Créer.
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
name | string | Oui | min length 1 · max length 100 |
description | string | null | Non | |
color | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | Non | default "gray" |
kind | "manual" | "smart" | Oui | |
filters | object | Non | |
filters.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | Non | max items 10 |
filters.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | Non | max items 10 |
filters.ownerIds | array of string | Non | max items 50 |
filters.companyIds | array of string (uuid) | Non | max items 50 |
filters.tagIds | array of string (uuid) | Non | max items 50 |
filters.sources | array of string | Non | max items 20 |
filters.hasEmail | boolean | Non | |
filters.hasPhone | boolean | Non | |
filters.marketingOptIn | boolean | Non | |
filters.createdFrom | string (date) | Non | |
filters.createdTo | string (date) | Non | |
filters.custom | array of object | Non | max items 10 |
filters.custom[].key | string | Oui | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Oui | |
filters.custom[].value | string | number | boolean | Non | |
addMatching | object | Non | |
addMatching.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | Non | max items 10 |
addMatching.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | Non | max items 10 |
addMatching.ownerIds | array of string | Non | max items 50 |
addMatching.companyIds | array of string (uuid) | Non | max items 50 |
addMatching.tagIds | array of string (uuid) | Non | max items 50 |
addMatching.sources | array of string | Non | max items 20 |
addMatching.hasEmail | boolean | Non | |
addMatching.hasPhone | boolean | Non | |
addMatching.marketingOptIn | boolean | Non | |
addMatching.createdFrom | string (date) | Non | |
addMatching.createdTo | string (date) | Non | |
addMatching.custom | array of object | Non | max items 10 |
addMatching.custom[].key | string | Oui | min length 1 · max length 64 |
addMatching.custom[].op | "equals" | "isSet" | "isNotSet" | Oui | |
addMatching.custom[].value | string | number | boolean | Non |
Réponse
17 champs
| Champ | Type | Toujours présent |
|---|---|---|
color | string | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | null dans les exemples | Oui |
filters | object | Oui |
filters.lifecycleStages | array of string | Non |
filters.tagIds | array of string (uuid) | Non |
id | string (uuid) | Oui |
kind | string | Oui |
limit | integer | Oui |
matchingCount | integer | Oui |
memberCount | integer | Oui |
name | string | Oui |
organizationId | string (uuid) | Oui |
paused | boolean | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"kind": "manual",
"description": "…",
"color": "gray"
}'const res = await fetch("https://api.firmado.app/v1/lists", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"kind": "manual",
"description": "…",
"color": "gray"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"kind": "manual",
"description": "…",
"color": "gray",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists");
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",
"kind": "manual",
"description": "…",
"color": "gray"
}
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/lists")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"kind": "manual",
"description": "…",
"color": "gray"
}
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",
"kind": "manual",
"description": "…",
"color": "gray"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/lists", 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/lists"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"kind": "manual",
"description": "…",
"color": "gray"
}
"""))
.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/lists");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"kind": "manual",
"description": "…",
"color": "gray"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (201), avec des valeurs d’exemple :
{
"color": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": null,
"filters": {
"lifecycleStages": [
"…"
],
"tagIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"limit": 1,
"matchingCount": 1,
"memberCount": 1,
"name": "Ana Lima",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paused": true,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}DELETE/v1/lists/{id}
Supprime une liste ; ses contacts 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/lists/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists/{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/lists/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{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/lists/{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/lists/{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/lists/{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/lists/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/lists/{id}
Renvoie une liste avec ses filtres et sa taille.
Voir unEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
15 champs
| Champ | Type | Toujours présent |
|---|---|---|
color | string | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | null dans les exemples | Oui |
filters | object | Oui |
id | string (uuid) | Oui |
kind | string | Oui |
limit | integer | Oui |
matchingCount | integer | Oui |
memberCount | integer | Oui |
name | string | Oui |
organizationId | string (uuid) | Oui |
paused | boolean | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/lists/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/lists/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{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/lists/{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/lists/{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/lists/{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/lists/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"color": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": null,
"filters": {},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"limit": 1,
"matchingCount": 1,
"memberCount": 1,
"name": "Ana Lima",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paused": true,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}PATCH/v1/lists/{id}
Modifie le nom ou les filtres d’une liste.
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 100 |
description | string | null | Non | |
color | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | Non | default "gray" |
filters | object | Non | |
filters.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | Non | max items 10 |
filters.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | Non | max items 10 |
filters.ownerIds | array of string | Non | max items 50 |
filters.companyIds | array of string (uuid) | Non | max items 50 |
filters.tagIds | array of string (uuid) | Non | max items 50 |
filters.sources | array of string | Non | max items 20 |
filters.hasEmail | boolean | Non | |
filters.hasPhone | boolean | Non | |
filters.marketingOptIn | boolean | Non | |
filters.createdFrom | string (date) | Non | |
filters.createdTo | string (date) | Non | |
filters.custom | array of object | Non | max items 10 |
filters.custom[].key | string | Oui | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Oui | |
filters.custom[].value | string | number | boolean | Non |
Réponse
20 champs
| Champ | Type | Toujours présent |
|---|---|---|
color | string | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | null dans les exemples | Oui |
filters | object | Oui |
filters.custom | array of object | Non |
filters.custom[].key | string | Oui |
filters.custom[].op | string | Oui |
filters.custom[].value | string | Non |
filters.hasEmail | boolean | Non |
id | string (uuid) | Oui |
kind | string | Oui |
limit | integer | Oui |
matchingCount | integer | Oui |
memberCount | integer | Oui |
name | string | Oui |
organizationId | string (uuid) | Oui |
paused | boolean | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X PATCH "https://api.firmado.app/v1/lists/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}'const res = await fetch("https://api.firmado.app/v1/lists/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/lists/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber",
],
"leadStatuses": [
"new",
],
"ownerIds": [
"…",
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
],
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{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": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"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/lists/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"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(`{
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/lists/{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/lists/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"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("PATCH"), "https://api.firmado.app/v1/lists/{id}");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"description": "…",
"color": "gray",
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}
"""", 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",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"description": null,
"color": "…",
"kind": "…",
"filters": {
"custom": [
{}
],
"hasEmail": true
},
"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",
"memberCount": 1,
"matchingCount": 1,
"limit": 1,
"paused": true
}POST/v1/lists/{id}/convert
Transforme une liste intelligente en liste manuelle, avec les contacts qu’elle trouve maintenant.
Modifier/{id}/convertEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Réponse
15 champs
| Champ | Type | Toujours présent |
|---|---|---|
color | string | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
description | null dans les exemples | Oui |
filters | object | Oui |
id | string (uuid) | Oui |
kind | string | Oui |
limit | integer | Oui |
matchingCount | integer | Oui |
memberCount | integer | Oui |
name | string | Oui |
organizationId | string (uuid) | Oui |
paused | boolean | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists/{id}/convert" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists/{id}/convert", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists/{id}/convert",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/convert");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
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/lists/{id}/convert")
req = Net::HTTP::Post.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("POST", "https://api.firmado.app/v1/lists/{id}/convert", 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/lists/{id}/convert"))
.header("X-Api-Key", "fmd_...")
.method("POST", 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("POST"), "https://api.firmado.app/v1/lists/{id}/convert");
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",
"name": "Ana Lima",
"description": null,
"color": "…",
"kind": "…",
"filters": {},
"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",
"memberCount": 1,
"matchingCount": 1,
"limit": 1,
"paused": true
}GET/v1/lists/{id}/export
Télécharge les contacts d’une liste en CSV.
Lire/{id}/exportEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/lists/{id}/export" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists/{id}/export", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/lists/{id}/export",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/export");
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/lists/{id}/export")
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/lists/{id}/export", 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/lists/{id}/export"))
.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/lists/{id}/export");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();POST/v1/lists/{id}/import
Importe jusqu’à 500 lignes de tableur dans une liste, en créant ou mettant à jour des contacts.
Modifier/{id}/importEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
rows | array of object | Oui | min items 1 · max items 500 |
rows[].email | string | Oui | max length 320 |
rows[].firstName | string | null | Non | |
rows[].lastName | string | null | Non | |
rows[].phone | string | null | Non | |
rows[].jobTitle | string | null | Non | |
rows[].source | string | null | Non |
Réponse
22 champs
| Champ | Type | Toujours présent |
|---|---|---|
added | integer | Oui |
created | integer | Oui |
errors | array of object | Oui |
errors[].code | string | Oui |
errors[].row | integer | Oui |
list | object | Oui |
list.color | string | Oui |
list.createdAt | string (date-time) | Oui |
list.createdBy | string (uuid) | Oui |
list.description | null dans les exemples | Oui |
list.filters | object | Oui |
list.id | string (uuid) | Oui |
list.kind | string | Oui |
list.limit | integer | Oui |
list.matchingCount | integer | Oui |
list.memberCount | integer | Oui |
list.name | string | Oui |
list.organizationId | string (uuid) | Oui |
list.paused | boolean | Oui |
list.updatedAt | string (date-time) | Oui |
list.updatedBy | string (uuid) | Oui |
matched | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists/{id}/import" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}'const res = await fetch("https://api.firmado.app/v1/lists/{id}/import", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists/{id}/import",
headers={"X-Api-Key": "fmd_..."},
json={
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…",
},
],
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/import");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}
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/lists/{id}/import")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}
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(`{
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/lists/{id}/import", 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/lists/{id}/import"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}
"""))
.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/lists/{id}/import");
request.Content = new StringContent(""""
{
"rows": [
{
"email": "[email protected]",
"firstName": "Ana",
"lastName": "Lima",
"phone": "…"
}
]
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"added": 1,
"created": 1,
"errors": [
{
"row": 1,
"code": "…"
}
],
"list": {
"color": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": null,
"filters": {},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"limit": 1,
"matchingCount": 1,
"memberCount": 1,
"name": "Ana Lima",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paused": true,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
},
"matched": 1
}GET/v1/lists/{id}/members
Liste les contacts d’une liste.
Lire/{id}/membersEn 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 |
|---|---|---|---|
page | integer | Non | min 1 · default 1 |
pageSize | integer | Non | min 1 · max 100 · default 50 |
q | string | Non | min length 1 · max length 200 |
Réponse
20 champs
| Champ | Type | Toujours présent |
|---|---|---|
data | array of object | Oui |
data[].addedAt | string | null | Oui |
data[].companyName | null dans les exemples | Oui |
data[].createdAt | string (date-time) | Oui |
data[].email | string | null (email) | Oui |
data[].firstName | string | Oui |
data[].id | string (uuid) | Oui |
data[].jobTitle | null dans les exemples | Oui |
data[].lastName | string | null | Oui |
data[].leadStatus | null dans les exemples | Oui |
data[].lifecycleStage | string | null | Oui |
data[].marketingOptIn | boolean | Oui |
data[].ownerId | string | null (uuid) | Oui |
data[].ownerName | string | null | Oui |
data[].phone | string | null | Oui |
data[].source | string | null | Oui |
data[].tags | string | null | Oui |
page | integer | Oui |
pageSize | integer | Oui |
total | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/lists/{id}/members" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists/{id}/members", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/lists/{id}/members",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/members");
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/lists/{id}/members")
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/lists/{id}/members", 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/lists/{id}/members"))
.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/lists/{id}/members");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"data": [
{
"addedAt": "…",
"companyName": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"email": "[email protected]",
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": null,
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"marketingOptIn": true,
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerName": "Ana Lima",
"phone": "…",
"source": "…",
"tags": "…"
}
],
"page": 1,
"pageSize": 1,
"total": 1
}POST/v1/lists/{id}/members
Ajoute des contacts à une liste manuelle.
Modifier/{id}/membersEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
contactIds | array of string (uuid) | Oui | min items 1 · max items 1000 |
Réponse
18 champs
| Champ | Type | Toujours présent |
|---|---|---|
added | integer | Oui |
alreadyInList | integer | Oui |
list | object | Oui |
list.color | string | Oui |
list.createdAt | string (date-time) | Oui |
list.createdBy | string (uuid) | Oui |
list.description | null dans les exemples | Oui |
list.filters | object | Oui |
list.id | string (uuid) | Oui |
list.kind | string | Oui |
list.limit | integer | Oui |
list.matchingCount | integer | Oui |
list.memberCount | integer | Oui |
list.name | string | Oui |
list.organizationId | string (uuid) | Oui |
list.paused | boolean | Oui |
list.updatedAt | string (date-time) | Oui |
list.updatedBy | string (uuid) | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists/{id}/members" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}'const res = await fetch("https://api.firmado.app/v1/lists/{id}/members", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists/{id}/members",
headers={"X-Api-Key": "fmd_..."},
json={
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
],
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/members");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"contactIds": [
"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/lists/{id}/members")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"contactIds": [
"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(`{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/lists/{id}/members", 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/lists/{id}/members"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"contactIds": [
"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/lists/{id}/members");
request.Content = new StringContent(""""
{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"added": 1,
"alreadyInList": 1,
"list": {
"color": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"description": null,
"filters": {},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"limit": 1,
"matchingCount": 1,
"memberCount": 1,
"name": "Ana Lima",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"paused": true,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
}POST/v1/lists/{id}/members/bulk
Modifie le responsable, l’étape du cycle de vie ou le statut de lead des contacts d’une liste.
Modifier/{id}/members/bulkEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
contactIds | array of string (uuid) | Oui | min items 1 · max items 500 |
set | object | Oui | |
set.ownerId | string | null | Non | |
set.lifecycleStage | "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | null | Non | |
set.leadStatus | "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | null | Non |
Réponse
1 champ
| Champ | Type | Toujours présent |
|---|---|---|
updated | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists/{id}/members/bulk" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}'const res = await fetch("https://api.firmado.app/v1/lists/{id}/members/bulk", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists/{id}/members/bulk",
headers={"X-Api-Key": "fmd_..."},
json={
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new",
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/members/bulk");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}
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/lists/{id}/members/bulk")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}
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(`{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/lists/{id}/members/bulk", 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/lists/{id}/members/bulk"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}
"""))
.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/lists/{id}/members/bulk");
request.Content = new StringContent(""""
{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
],
"set": {
"ownerId": "…",
"lifecycleStage": "subscriber",
"leadStatus": "new"
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"updated": 1
}POST/v1/lists/{id}/members/remove
Retire des contacts d’une liste manuelle.
Modifier/{id}/members/removeEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
contactIds | array of string (uuid) | Oui | min items 1 · max items 1000 |
Réponse
17 champs
| Champ | Type | Toujours présent |
|---|---|---|
list | object | Oui |
list.color | string | Oui |
list.createdAt | string (date-time) | Oui |
list.createdBy | string (uuid) | Oui |
list.description | null dans les exemples | Oui |
list.filters | object | Oui |
list.id | string (uuid) | Oui |
list.kind | string | Oui |
list.limit | integer | Oui |
list.matchingCount | integer | Oui |
list.memberCount | integer | Oui |
list.name | string | Oui |
list.organizationId | string (uuid) | Oui |
list.paused | boolean | Oui |
list.updatedAt | string (date-time) | Oui |
list.updatedBy | string (uuid) | Oui |
removed | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists/{id}/members/remove" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}'const res = await fetch("https://api.firmado.app/v1/lists/{id}/members/remove", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists/{id}/members/remove",
headers={"X-Api-Key": "fmd_..."},
json={
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
],
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/{id}/members/remove");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"contactIds": [
"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/lists/{id}/members/remove")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"contactIds": [
"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(`{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/lists/{id}/members/remove", 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/lists/{id}/members/remove"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"contactIds": [
"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/lists/{id}/members/remove");
request.Content = new StringContent(""""
{
"contactIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"removed": 1,
"list": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"description": null,
"color": "…",
"kind": "…",
"filters": {},
"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",
"memberCount": 1,
"matchingCount": 1,
"limit": 1,
"paused": true
}
}GET/v1/lists/for-contact/{contactId}
Les listes dont fait partie un contact.
Lire/for-contact/{contactId}En cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
contactId | string | Oui |
Réponse
4 champs
| Champ | Type | Toujours présent |
|---|---|---|
[].color | string | Oui |
[].id | string (uuid) | Oui |
[].kind | string | Oui |
[].name | string | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/lists/for-contact/{contactId}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/lists/for-contact/{contactId}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/lists/for-contact/{contactId}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/for-contact/{contactId}");
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/lists/for-contact/{contactId}")
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/lists/for-contact/{contactId}", 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/lists/for-contact/{contactId}"))
.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/lists/for-contact/{contactId}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
[
{
"color": "…",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"name": "Ana Lima"
}
]POST/v1/lists/preview
Combien de contacts des filtres trouvent maintenant ; ne change rien.
Lire/previewEn cas de succès : 200.Permission : Lire.
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
filters | object | Non | |
filters.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | Non | max items 10 |
filters.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | Non | max items 10 |
filters.ownerIds | array of string | Non | max items 50 |
filters.companyIds | array of string (uuid) | Non | max items 50 |
filters.tagIds | array of string (uuid) | Non | max items 50 |
filters.sources | array of string | Non | max items 20 |
filters.hasEmail | boolean | Non | |
filters.hasPhone | boolean | Non | |
filters.marketingOptIn | boolean | Non | |
filters.createdFrom | string (date) | Non | |
filters.createdTo | string (date) | Non | |
filters.custom | array of object | Non | max items 10 |
filters.custom[].key | string | Oui | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Oui | |
filters.custom[].value | string | number | boolean | Non |
Réponse
3 champs
| Champ | Type | Toujours présent |
|---|---|---|
limit | integer | Oui |
matchingCount | integer | Oui |
memberCount | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/lists/preview" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}'const res = await fetch("https://api.firmado.app/v1/lists/preview", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/lists/preview",
headers={"X-Api-Key": "fmd_..."},
json={
"filters": {
"lifecycleStages": [
"subscriber",
],
"leadStatuses": [
"new",
],
"ownerIds": [
"…",
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
],
},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/lists/preview");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"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/lists/preview")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"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(`{
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/lists/preview", 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/lists/preview"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"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/lists/preview");
request.Content = new StringContent(""""
{
"filters": {
"lifecycleStages": [
"subscriber"
],
"leadStatuses": [
"new"
],
"ownerIds": [
"…"
],
"companyIds": [
"3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
]
}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"matchingCount": 1,
"memberCount": 1,
"limit": 1
}Événements de webhook
Les changements de cette fonctionnalité que les webhooks peuvent envoyer.
list.createdCréerlist.updatedModifierlist.members_addedModifierlist.members_removedModifierlist.deletedSupprimer