Listas
Listas manuales e inteligentes de contactos, importaciones y exportaciones.
Valores de los ejemplos
Escríbelos una vez y todos los ejemplos de esta página los usan. La clave de API se queda solo en esta página y nunca se guarda.
GET/v1/lists
Lista las listas de contactos.
ListarSi va bien: 200.Permiso: Leer.
Ejemplo
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
Crea una lista: manual, o inteligente a partir de filtros.
CrearSi va bien: 201.Permiso: Crear.
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
name | string | Sí | 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" | Sí | |
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 | Sí | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Sí | |
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 | Sí | min length 1 · max length 64 |
addMatching.custom[].op | "equals" | "isSet" | "isNotSet" | Sí | |
addMatching.custom[].value | string | number | boolean | No |
Respuesta
17 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
color | string | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
description | null en los ejemplos | Sí |
filters | object | Sí |
filters.lifecycleStages | array of string | No |
filters.tagIds | array of string (uuid) | No |
id | string (uuid) | Sí |
kind | string | Sí |
limit | integer | Sí |
matchingCount | integer | Sí |
memberCount | integer | Sí |
name | string | Sí |
organizationId | string (uuid) | Sí |
paused | boolean | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
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();Respuesta (201), con valores de ejemplo:
{
"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}
Elimina una lista; sus contactos se mantienen.
EliminarSi va bien: 204.Permiso: Eliminar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Ejemplo
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}
Devuelve una lista con sus filtros y tamaño.
Ver unoSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
15 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
color | string | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
description | null en los ejemplos | Sí |
filters | object | Sí |
id | string (uuid) | Sí |
kind | string | Sí |
limit | integer | Sí |
matchingCount | integer | Sí |
memberCount | integer | Sí |
name | string | Sí |
organizationId | string (uuid) | Sí |
paused | boolean | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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}
Cambia el nombre o los filtros de una lista.
ActualizarSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 | Sí | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Sí | |
filters.custom[].value | string | number | boolean | No |
Respuesta
20 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
color | string | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
description | null en los ejemplos | Sí |
filters | object | Sí |
filters.custom | array of object | No |
filters.custom[].key | string | Sí |
filters.custom[].op | string | Sí |
filters.custom[].value | string | No |
filters.hasEmail | boolean | No |
id | string (uuid) | Sí |
kind | string | Sí |
limit | integer | Sí |
matchingCount | integer | Sí |
memberCount | integer | Sí |
name | string | Sí |
organizationId | string (uuid) | Sí |
paused | boolean | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Convierte una lista inteligente en manual, con los contactos que encuentra ahora.
Actualizar/{id}/convertSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Respuesta
15 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
color | string | Sí |
createdAt | string (date-time) | Sí |
createdBy | string (uuid) | Sí |
description | null en los ejemplos | Sí |
filters | object | Sí |
id | string (uuid) | Sí |
kind | string | Sí |
limit | integer | Sí |
matchingCount | integer | Sí |
memberCount | integer | Sí |
name | string | Sí |
organizationId | string (uuid) | Sí |
paused | boolean | Sí |
updatedAt | string (date-time) | Sí |
updatedBy | string (uuid) | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Descarga los contactos de una lista en CSV.
Leer/{id}/exportSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Ejemplo
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
Importa hasta 500 filas de una hoja de cálculo a una lista, creando o actualizando contactos.
Actualizar/{id}/importSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
rows | array of object | Sí | min items 1 · max items 500 |
rows[].email | string | Sí | 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 |
Respuesta
22 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
added | integer | Sí |
created | integer | Sí |
errors | array of object | Sí |
errors[].code | string | Sí |
errors[].row | integer | Sí |
list | object | Sí |
list.color | string | Sí |
list.createdAt | string (date-time) | Sí |
list.createdBy | string (uuid) | Sí |
list.description | null en los ejemplos | Sí |
list.filters | object | Sí |
list.id | string (uuid) | Sí |
list.kind | string | Sí |
list.limit | integer | Sí |
list.matchingCount | integer | Sí |
list.memberCount | integer | Sí |
list.name | string | Sí |
list.organizationId | string (uuid) | Sí |
list.paused | boolean | Sí |
list.updatedAt | string (date-time) | Sí |
list.updatedBy | string (uuid) | Sí |
matched | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Lista los contactos de una lista.
Leer/{id}/membersSi va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Parámetros de consulta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 |
Respuesta
20 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
data | array of object | Sí |
data[].addedAt | string | null | Sí |
data[].companyName | null en los ejemplos | Sí |
data[].createdAt | string (date-time) | Sí |
data[].email | string | null (email) | Sí |
data[].firstName | string | Sí |
data[].id | string (uuid) | Sí |
data[].jobTitle | null en los ejemplos | Sí |
data[].lastName | string | null | Sí |
data[].leadStatus | null en los ejemplos | Sí |
data[].lifecycleStage | string | null | Sí |
data[].marketingOptIn | boolean | Sí |
data[].ownerId | string | null (uuid) | Sí |
data[].ownerName | string | null | Sí |
data[].phone | string | null | Sí |
data[].source | string | null | Sí |
data[].tags | string | null | Sí |
page | integer | Sí |
pageSize | integer | Sí |
total | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Añade contactos a una lista manual.
Actualizar/{id}/membersSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
contactIds | array of string (uuid) | Sí | min items 1 · max items 1000 |
Respuesta
18 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
added | integer | Sí |
alreadyInList | integer | Sí |
list | object | Sí |
list.color | string | Sí |
list.createdAt | string (date-time) | Sí |
list.createdBy | string (uuid) | Sí |
list.description | null en los ejemplos | Sí |
list.filters | object | Sí |
list.id | string (uuid) | Sí |
list.kind | string | Sí |
list.limit | integer | Sí |
list.matchingCount | integer | Sí |
list.memberCount | integer | Sí |
list.name | string | Sí |
list.organizationId | string (uuid) | Sí |
list.paused | boolean | Sí |
list.updatedAt | string (date-time) | Sí |
list.updatedBy | string (uuid) | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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
Cambia el responsable, la etapa del ciclo de vida o el estado de lead de los contactos de una lista.
Actualizar/{id}/members/bulkSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
contactIds | array of string (uuid) | Sí | min items 1 · max items 500 |
set | object | Sí | |
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 |
Respuesta
1 campo
| Campo | Tipo | Siempre presente |
|---|---|---|
updated | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"updated": 1
}POST/v1/lists/{id}/members/remove
Quita contactos de una lista manual.
Actualizar/{id}/members/removeSi va bien: 200.Permiso: Actualizar.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
id | string | Sí |
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
contactIds | array of string (uuid) | Sí | min items 1 · max items 1000 |
Respuesta
17 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
list | object | Sí |
list.color | string | Sí |
list.createdAt | string (date-time) | Sí |
list.createdBy | string (uuid) | Sí |
list.description | null en los ejemplos | Sí |
list.filters | object | Sí |
list.id | string (uuid) | Sí |
list.kind | string | Sí |
list.limit | integer | Sí |
list.matchingCount | integer | Sí |
list.memberCount | integer | Sí |
list.name | string | Sí |
list.organizationId | string (uuid) | Sí |
list.paused | boolean | Sí |
list.updatedAt | string (date-time) | Sí |
list.updatedBy | string (uuid) | Sí |
removed | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"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}
Las listas en las que está un contacto.
Leer/for-contact/{contactId}Si va bien: 200.Permiso: Leer.
Parámetros de ruta
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
contactId | string | Sí |
Respuesta
4 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
[].color | string | Sí |
[].id | string (uuid) | Sí |
[].kind | string | Sí |
[].name | string | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
[
{
"color": "…",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"name": "Ana Lima"
}
]POST/v1/lists/preview
Cuántos contactos encuentran unos filtros ahora; no cambia nada.
Leer/previewSi va bien: 200.Permiso: Leer.
Cuerpo
| Campo | Tipo | Obligatorio | Notas |
|---|---|---|---|
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 | Sí | min length 1 · max length 64 |
filters.custom[].op | "equals" | "isSet" | "isNotSet" | Sí | |
filters.custom[].value | string | number | boolean | No |
Respuesta
3 campos
| Campo | Tipo | Siempre presente |
|---|---|---|
limit | integer | Sí |
matchingCount | integer | Sí |
memberCount | integer | Sí |
Ejemplo
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();Respuesta (200), con valores de ejemplo:
{
"matchingCount": 1,
"memberCount": 1,
"limit": 1
}Eventos de webhook
Cambios de esta funcionalidad que los webhooks pueden enviar.
list.createdCrearlist.updatedActualizarlist.members_addedActualizarlist.members_removedActualizarlist.deletedEliminar