Lists
Manual and smart lists of contacts, imports and exports.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/lists
Lists the contact lists.
ListOn success: 200.Permission: Read.
Example
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
Creates a list: manual, or smart from filters.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | min length 1 · max length 100 |
description | string | null | No | |
color | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | No | default "gray" |
kind | "manual" | "smart" | Yes | |
filters | object | No | |
filters.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | No | max items 10 |
filters.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | No | max items 10 |
filters.ownerIds | array of string | No | max items 50 |
filters.companyIds | array of string (uuid) | No | max items 50 |
filters.tagIds | array of string (uuid) | No | max items 50 |
filters.sources | array of string | No | max items 20 |
filters.hasEmail | boolean | No | |
filters.hasPhone | boolean | No | |
filters.marketingOptIn | boolean | No | |
filters.createdFrom | string (date) | No | |
filters.createdTo | string (date) | No | |
filters.custom | array of object | No | max items 10 |
filters.custom[].key | string | Yes | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Yes | |
filters.custom[].value | string | number | boolean | No | |
addMatching | object | No | |
addMatching.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | No | max items 10 |
addMatching.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | No | max items 10 |
addMatching.ownerIds | array of string | No | max items 50 |
addMatching.companyIds | array of string (uuid) | No | max items 50 |
addMatching.tagIds | array of string (uuid) | No | max items 50 |
addMatching.sources | array of string | No | max items 20 |
addMatching.hasEmail | boolean | No | |
addMatching.hasPhone | boolean | No | |
addMatching.marketingOptIn | boolean | No | |
addMatching.createdFrom | string (date) | No | |
addMatching.createdTo | string (date) | No | |
addMatching.custom | array of object | No | max items 10 |
addMatching.custom[].key | string | Yes | min length 1 · max length 64 |
addMatching.custom[].op | "equals" | "isSet" | "isNotSet" | Yes | |
addMatching.custom[].value | string | number | boolean | No |
Response
17 fields
| Field | Type | Always there |
|---|---|---|
color | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
description | null in the examples | Yes |
filters | object | Yes |
filters.lifecycleStages | array of string | No |
filters.tagIds | array of string (uuid) | No |
id | string (uuid) | Yes |
kind | string | Yes |
limit | integer | Yes |
matchingCount | integer | Yes |
memberCount | integer | Yes |
name | string | Yes |
organizationId | string (uuid) | Yes |
paused | boolean | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
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();Response (201), with sample values:
{
"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}
Deletes a list; its contacts stay.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
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}
Returns a list with its filters and size.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
15 fields
| Field | Type | Always there |
|---|---|---|
color | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
description | null in the examples | Yes |
filters | object | Yes |
id | string (uuid) | Yes |
kind | string | Yes |
limit | integer | Yes |
matchingCount | integer | Yes |
memberCount | integer | Yes |
name | string | Yes |
organizationId | string (uuid) | Yes |
paused | boolean | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
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();Response (200), with sample values:
{
"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}
Changes a list’s name or filters.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | No | min length 1 · max length 100 |
description | string | null | No | |
color | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | No | default "gray" |
filters | object | No | |
filters.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | No | max items 10 |
filters.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | No | max items 10 |
filters.ownerIds | array of string | No | max items 50 |
filters.companyIds | array of string (uuid) | No | max items 50 |
filters.tagIds | array of string (uuid) | No | max items 50 |
filters.sources | array of string | No | max items 20 |
filters.hasEmail | boolean | No | |
filters.hasPhone | boolean | No | |
filters.marketingOptIn | boolean | No | |
filters.createdFrom | string (date) | No | |
filters.createdTo | string (date) | No | |
filters.custom | array of object | No | max items 10 |
filters.custom[].key | string | Yes | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Yes | |
filters.custom[].value | string | number | boolean | No |
Response
20 fields
| Field | Type | Always there |
|---|---|---|
color | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
description | null in the examples | Yes |
filters | object | Yes |
filters.custom | array of object | No |
filters.custom[].key | string | Yes |
filters.custom[].op | string | Yes |
filters.custom[].value | string | No |
filters.hasEmail | boolean | No |
id | string (uuid) | Yes |
kind | string | Yes |
limit | integer | Yes |
matchingCount | integer | Yes |
memberCount | integer | Yes |
name | string | Yes |
organizationId | string (uuid) | Yes |
paused | boolean | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
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();Response (200), with sample values:
{
"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
Turns a smart list into a manual one with the contacts it matches now.
Update/{id}/convertOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
15 fields
| Field | Type | Always there |
|---|---|---|
color | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
description | null in the examples | Yes |
filters | object | Yes |
id | string (uuid) | Yes |
kind | string | Yes |
limit | integer | Yes |
matchingCount | integer | Yes |
memberCount | integer | Yes |
name | string | Yes |
organizationId | string (uuid) | Yes |
paused | boolean | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
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();Response (200), with sample values:
{
"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
Downloads a list’s contacts as a CSV file.
Read/{id}/exportOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
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
Imports up to 500 spreadsheet rows into a list, creating or updating contacts.
Update/{id}/importOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
rows | array of object | Yes | min items 1 · max items 500 |
rows[].email | string | Yes | max length 320 |
rows[].firstName | string | null | No | |
rows[].lastName | string | null | No | |
rows[].phone | string | null | No | |
rows[].jobTitle | string | null | No | |
rows[].source | string | null | No |
Response
22 fields
| Field | Type | Always there |
|---|---|---|
added | integer | Yes |
created | integer | Yes |
errors | array of object | Yes |
errors[].code | string | Yes |
errors[].row | integer | Yes |
list | object | Yes |
list.color | string | Yes |
list.createdAt | string (date-time) | Yes |
list.createdBy | string (uuid) | Yes |
list.description | null in the examples | Yes |
list.filters | object | Yes |
list.id | string (uuid) | Yes |
list.kind | string | Yes |
list.limit | integer | Yes |
list.matchingCount | integer | Yes |
list.memberCount | integer | Yes |
list.name | string | Yes |
list.organizationId | string (uuid) | Yes |
list.paused | boolean | Yes |
list.updatedAt | string (date-time) | Yes |
list.updatedBy | string (uuid) | Yes |
matched | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
Lists a list’s contacts.
Read/{id}/membersOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 100 · default 50 |
q | string | No | min length 1 · max length 200 |
Response
20 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].addedAt | string | null | Yes |
data[].companyName | null in the examples | Yes |
data[].createdAt | string (date-time) | Yes |
data[].email | string | null (email) | Yes |
data[].firstName | string | Yes |
data[].id | string (uuid) | Yes |
data[].jobTitle | null in the examples | Yes |
data[].lastName | string | null | Yes |
data[].leadStatus | null in the examples | Yes |
data[].lifecycleStage | string | null | Yes |
data[].marketingOptIn | boolean | Yes |
data[].ownerId | string | null (uuid) | Yes |
data[].ownerName | string | null | Yes |
data[].phone | string | null | Yes |
data[].source | string | null | Yes |
data[].tags | string | null | Yes |
page | integer | Yes |
pageSize | integer | Yes |
total | integer | Yes |
Example
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();Response (200), with sample values:
{
"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
Adds contacts to a manual list.
Update/{id}/membersOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactIds | array of string (uuid) | Yes | min items 1 · max items 1000 |
Response
18 fields
| Field | Type | Always there |
|---|---|---|
added | integer | Yes |
alreadyInList | integer | Yes |
list | object | Yes |
list.color | string | Yes |
list.createdAt | string (date-time) | Yes |
list.createdBy | string (uuid) | Yes |
list.description | null in the examples | Yes |
list.filters | object | Yes |
list.id | string (uuid) | Yes |
list.kind | string | Yes |
list.limit | integer | Yes |
list.matchingCount | integer | Yes |
list.memberCount | integer | Yes |
list.name | string | Yes |
list.organizationId | string (uuid) | Yes |
list.paused | boolean | Yes |
list.updatedAt | string (date-time) | Yes |
list.updatedBy | string (uuid) | Yes |
Example
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();Response (200), with sample values:
{
"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
Changes the owner, lifecycle stage or lead status of a list’s contacts.
Update/{id}/members/bulkOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactIds | array of string (uuid) | Yes | min items 1 · max items 500 |
set | object | Yes | |
set.ownerId | string | null | No | |
set.lifecycleStage | "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | null | No | |
set.leadStatus | "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | null | No |
Response
1 field
| Field | Type | Always there |
|---|---|---|
updated | integer | Yes |
Example
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();Response (200), with sample values:
{
"updated": 1
}POST/v1/lists/{id}/members/remove
Removes contacts from a manual list.
Update/{id}/members/removeOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactIds | array of string (uuid) | Yes | min items 1 · max items 1000 |
Response
17 fields
| Field | Type | Always there |
|---|---|---|
list | object | Yes |
list.color | string | Yes |
list.createdAt | string (date-time) | Yes |
list.createdBy | string (uuid) | Yes |
list.description | null in the examples | Yes |
list.filters | object | Yes |
list.id | string (uuid) | Yes |
list.kind | string | Yes |
list.limit | integer | Yes |
list.matchingCount | integer | Yes |
list.memberCount | integer | Yes |
list.name | string | Yes |
list.organizationId | string (uuid) | Yes |
list.paused | boolean | Yes |
list.updatedAt | string (date-time) | Yes |
list.updatedBy | string (uuid) | Yes |
removed | integer | Yes |
Example
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();Response (200), with sample values:
{
"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}
The lists a contact is in.
Read/for-contact/{contactId}On success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
contactId | string | Yes |
Response
4 fields
| Field | Type | Always there |
|---|---|---|
[].color | string | Yes |
[].id | string (uuid) | Yes |
[].kind | string | Yes |
[].name | string | Yes |
Example
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();Response (200), with sample values:
[
{
"color": "…",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"name": "Ana Lima"
}
]POST/v1/lists/preview
How many contacts some filters match now; changes nothing.
Read/previewOn success: 200.Permission: Read.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
filters | object | No | |
filters.lifecycleStages | array of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | No | max items 10 |
filters.leadStatuses | array of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | No | max items 10 |
filters.ownerIds | array of string | No | max items 50 |
filters.companyIds | array of string (uuid) | No | max items 50 |
filters.tagIds | array of string (uuid) | No | max items 50 |
filters.sources | array of string | No | max items 20 |
filters.hasEmail | boolean | No | |
filters.hasPhone | boolean | No | |
filters.marketingOptIn | boolean | No | |
filters.createdFrom | string (date) | No | |
filters.createdTo | string (date) | No | |
filters.custom | array of object | No | max items 10 |
filters.custom[].key | string | Yes | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Yes | |
filters.custom[].value | string | number | boolean | No |
Response
3 fields
| Field | Type | Always there |
|---|---|---|
limit | integer | Yes |
matchingCount | integer | Yes |
memberCount | integer | Yes |
Example
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();Response (200), with sample values:
{
"matchingCount": 1,
"memberCount": 1,
"limit": 1
}Webhook events
Changes of this feature that webhooks can send.
list.createdCreatelist.updatedUpdatelist.members_addedUpdatelist.members_removedUpdatelist.deletedDelete