Contacts
People in the CRM: emails, phones, tags, history and custom properties.
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/contacts
Lists and searches contacts, with filters, tags and sorting.
ListOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 100 · default 25 |
q | string | No | min length 1 · max length 200 |
archived | string | No | |
sort | "createdAt" | "updatedAt" | "name" | "lastActivityAt" | No | default "createdAt" |
order | "asc" | "desc" | No | default "desc" |
ownerId | string | No | |
companyId | string (uuid) | No | |
tagId | string (uuid) | No | |
leadStatus | "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | No | |
lifecycleStage | "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | No | |
marketingOptIn | "true" | "false" | No |
Response
53 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].address | null in the examples | Yes |
data[].archived | boolean | Yes |
data[].avatar | null in the examples | Yes |
data[].birthday | string | null (date) | Yes |
data[].city | null in the examples | Yes |
data[].companies | array of object | Yes |
data[].companies[].companyId | string (uuid) | Yes |
data[].companies[].isPrimary | boolean | Yes |
data[].companies[].jobTitle | string | null | Yes |
data[].companies[].name | string | Yes |
data[].country | null in the examples | Yes |
data[].createdAt | string (date-time) | Yes |
data[].createdBy | string | null (uuid) | Yes |
data[].customProperties | object of any | Yes |
data[].department | null in the examples | Yes |
data[].emails | array of object | Yes |
data[].emails[].email | string (email) | Yes |
data[].emails[].id | string (uuid) | Yes |
data[].emails[].isPrimary | boolean | Yes |
data[].emails[].label | null in the examples | Yes |
data[].firstName | string | Yes |
data[].id | string (uuid) | Yes |
data[].jobTitle | null in the examples | Yes |
data[].lastActivityAt | string | null (date-time) | Yes |
data[].lastName | string | null | Yes |
data[].leadStatus | null in the examples | Yes |
data[].lifecycleStage | string | null | Yes |
data[].locale | null in the examples | Yes |
data[].marketingOptIn | boolean | Yes |
data[].marketingOptInAt | string | null (date-time) | Yes |
data[].organizationId | string (uuid) | Yes |
data[].ownerId | string | null (uuid) | Yes |
data[].phones | array of object | Yes |
data[].phones[].id | string (uuid) | Yes |
data[].phones[].isPrimary | boolean | Yes |
data[].phones[].label | null in the examples | Yes |
data[].phones[].phone | string | Yes |
data[].postalCode | null in the examples | Yes |
data[].socialProfiles | object | Yes |
data[].socialProfiles.instagram | string | No |
data[].source | string | null | Yes |
data[].state | null in the examples | Yes |
data[].tags | array of object | Yes |
data[].tags[].color | string | Yes |
data[].tags[].id | string (uuid) | Yes |
data[].tags[].name | string | Yes |
data[].timezone | null in the examples | Yes |
data[].updatedAt | string (date-time) | Yes |
data[].updatedBy | string | null (uuid) | Yes |
page | integer | Yes |
pageSize | integer | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts");
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/contacts")
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/contacts", 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/contacts"))
.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/contacts");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"data": [
{
"address": null,
"archived": true,
"avatar": null,
"birthday": "2026-11-21",
"city": null,
"companies": [],
"country": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"customProperties": {},
"department": null,
"emails": [],
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": null,
"lastActivityAt": "2026-11-21T14:00:00.000Z",
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"locale": null,
"marketingOptIn": true,
"marketingOptInAt": "2026-11-21T14:00:00.000Z",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phones": [],
"postalCode": null,
"socialProfiles": {},
"source": "…",
"state": null,
"tags": [],
"timezone": null,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}
],
"page": 1,
"pageSize": 1,
"total": 1
}POST/v1/contacts
Creates a contact with their emails, phones and properties.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
firstName | string | Yes | min length 1 · max length 100 |
lastName | string | null | No | |
jobTitle | string | null | No | |
department | string | null | No | |
avatar | string (uri) | null | No | |
birthday | string (date) | null | No | |
locale | string | null | No | |
timezone | string | null | No | |
country | string | null | No | |
state | string | null | No | |
city | string | null | No | |
postalCode | string | null | No | |
address | string | null | No | |
source | string | null | No | |
leadStatus | "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | null | No | |
lifecycleStage | "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | null | No | |
marketingOptIn | boolean | No | |
ownerId | string | null | No | |
socialProfiles | object of string | null | No | |
customProperties | object of any | No | |
archived | boolean | No | |
emails | array of object | No | max items 20 |
emails[].email | string (email) | Yes | max length 320 |
emails[].label | string | null | No | |
emails[].isPrimary | boolean | No | |
phones | array of object | No | max items 20 |
phones[].phone | string | Yes | min length 3 · max length 40 |
phones[].label | string | null | No | |
phones[].isPrimary | boolean | No | |
companies | array of object | No | max items 50 |
companies[].companyId | string (uuid) | Yes | |
companies[].jobTitle | string | null | No | |
companies[].isPrimary | boolean | No | |
tagIds | array of string (uuid) | No | max items 500 |
Response
50 fields
| Field | Type | Always there |
|---|---|---|
address | null in the examples | Yes |
archived | boolean | Yes |
avatar | string | null (uri) | Yes |
birthday | string | null (date) | Yes |
city | string | null | Yes |
companies | array of object | Yes |
companies[].companyId | string (uuid) | Yes |
companies[].isPrimary | boolean | Yes |
companies[].jobTitle | string | null | Yes |
companies[].name | string | Yes |
country | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string | null (uuid) | Yes |
customProperties | object of any | Yes |
department | null in the examples | Yes |
emails | array of object | Yes |
emails[].email | string (email) | Yes |
emails[].id | string (uuid) | Yes |
emails[].isPrimary | boolean | Yes |
emails[].label | string | null | Yes |
firstName | string | Yes |
id | string (uuid) | Yes |
jobTitle | string | null | Yes |
lastActivityAt | null in the examples | Yes |
lastName | string | null | Yes |
leadStatus | null in the examples | Yes |
lifecycleStage | string | null | Yes |
locale | null in the examples | Yes |
marketingOptIn | boolean | Yes |
marketingOptInAt | string | null (date-time) | Yes |
organizationId | string (uuid) | Yes |
ownerId | string | null (uuid) | Yes |
phones | array of object | Yes |
phones[].id | string (uuid) | Yes |
phones[].isPrimary | boolean | Yes |
phones[].label | null in the examples | Yes |
phones[].phone | string | Yes |
postalCode | null in the examples | Yes |
socialProfiles | object | Yes |
socialProfiles.instagram | string | No |
socialProfiles.whatsapp | string | No |
source | null in the examples | Yes |
state | null in the examples | Yes |
tags | array of object | Yes |
tags[].color | string | Yes |
tags[].id | string (uuid) | Yes |
tags[].name | string | Yes |
timezone | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string | null (uuid) | Yes |
Example
curl -X POST "https://api.firmado.app/v1/contacts" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}'const res = await fetch("https://api.firmado.app/v1/contacts", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/contacts",
headers={"X-Api-Key": "fmd_..."},
json={
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
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/contacts")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
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(`{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/contacts", 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/contacts"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
"""))
.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/contacts");
request.Content = new StringContent(""""
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"address": null,
"archived": true,
"avatar": "https://example.com",
"birthday": "2026-11-21",
"city": "…",
"companies": [
{
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"jobTitle": "…",
"name": "Ana Lima"
}
],
"country": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"customProperties": {},
"department": null,
"emails": [
{
"email": "[email protected]",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": "…"
}
],
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": "…",
"lastActivityAt": null,
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"locale": null,
"marketingOptIn": true,
"marketingOptInAt": "2026-11-21T14:00:00.000Z",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phones": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": null,
"phone": "…"
}
],
"postalCode": null,
"socialProfiles": {
"instagram": "…",
"whatsapp": "…"
},
"source": null,
"state": null,
"tags": [
{
"color": "…",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
}
],
"timezone": null,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}DELETE/v1/contacts/{id}
Deletes a contact.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/contacts/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{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/contacts/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{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/contacts/{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/contacts/{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/contacts/{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/contacts/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/contacts/{id}
Returns a contact with their emails, phones, companies, tags and properties.
Get oneOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
49 fields
| Field | Type | Always there |
|---|---|---|
address | null in the examples | Yes |
archived | boolean | Yes |
avatar | string | null (uri) | Yes |
birthday | null in the examples | Yes |
city | string | null | Yes |
companies | array of object | Yes |
companies[].companyId | string (uuid) | Yes |
companies[].isPrimary | boolean | Yes |
companies[].jobTitle | null in the examples | Yes |
companies[].name | string | Yes |
country | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string | null (uuid) | Yes |
customProperties | object of any | Yes |
department | null in the examples | Yes |
emails | array of object | Yes |
emails[].email | string (email) | Yes |
emails[].id | string (uuid) | Yes |
emails[].isPrimary | boolean | Yes |
emails[].label | null in the examples | Yes |
firstName | string | Yes |
id | string (uuid) | Yes |
jobTitle | string | null | Yes |
lastActivityAt | null in the examples | Yes |
lastName | string | null | Yes |
leadStatus | null in the examples | Yes |
lifecycleStage | string | null | Yes |
locale | null in the examples | Yes |
marketingOptIn | boolean | Yes |
marketingOptInAt | string | null (date-time) | Yes |
organizationId | string (uuid) | Yes |
ownerId | string | null (uuid) | Yes |
phones | array of object | Yes |
phones[].id | string (uuid) | Yes |
phones[].isPrimary | boolean | Yes |
phones[].label | null in the examples | Yes |
phones[].phone | string | Yes |
postalCode | null in the examples | Yes |
socialProfiles | object | Yes |
socialProfiles.instagram | string (uri) | No |
source | string | null | Yes |
state | null in the examples | Yes |
tags | array of object | Yes |
tags[].color | string | Yes |
tags[].id | string (uuid) | Yes |
tags[].name | string | Yes |
timezone | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string | null (uuid) | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{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/contacts/{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/contacts/{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/contacts/{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/contacts/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"address": null,
"archived": true,
"avatar": "https://example.com",
"birthday": null,
"city": "…",
"companies": [
{
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"jobTitle": null,
"isPrimary": true
}
],
"country": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"customProperties": {},
"department": null,
"emails": [
{
"email": "[email protected]",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": null
}
],
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": "…",
"lastActivityAt": null,
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"locale": null,
"marketingOptIn": true,
"marketingOptInAt": "2026-11-21T14:00:00.000Z",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phones": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": null,
"phone": "…"
}
],
"postalCode": null,
"socialProfiles": {
"instagram": "https://example.com"
},
"source": "…",
"state": null,
"tags": [
{
"color": "…",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
}
],
"timezone": null,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}PATCH/v1/contacts/{id}
Changes a contact’s fields, emails, phones and custom properties.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
firstName | string | No | min length 1 · max length 100 |
lastName | string | null | No | |
jobTitle | string | null | No | |
department | string | null | No | |
avatar | string (uri) | null | No | |
birthday | string (date) | null | No | |
locale | string | null | No | |
timezone | string | null | No | |
country | string | null | No | |
state | string | null | No | |
city | string | null | No | |
postalCode | string | null | No | |
address | string | null | No | |
source | string | null | No | |
leadStatus | "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | null | No | |
lifecycleStage | "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | null | No | |
marketingOptIn | boolean | No | |
ownerId | string | null | No | |
socialProfiles | object of string | null | No | |
customProperties | object of any | No | |
archived | boolean | No | |
emails | array of object | No | max items 20 |
emails[].email | string (email) | Yes | max length 320 |
emails[].label | string | null | No | |
emails[].isPrimary | boolean | No | |
phones | array of object | No | max items 20 |
phones[].phone | string | Yes | min length 3 · max length 40 |
phones[].label | string | null | No | |
phones[].isPrimary | boolean | No | |
companies | array of object | No | max items 50 |
companies[].companyId | string (uuid) | Yes | |
companies[].jobTitle | string | null | No | |
companies[].isPrimary | boolean | No | |
tagIds | array of string (uuid) | No | max items 500 |
Response
49 fields
| Field | Type | Always there |
|---|---|---|
address | null in the examples | Yes |
archived | boolean | Yes |
avatar | string | null (uri) | Yes |
birthday | string | null (date) | Yes |
city | string | null | Yes |
companies | array of object | Yes |
companies[].companyId | string (uuid) | Yes |
companies[].isPrimary | boolean | Yes |
companies[].jobTitle | string | null | Yes |
companies[].name | string | Yes |
country | string | null | Yes |
createdAt | string (date-time) | Yes |
createdBy | string | null (uuid) | Yes |
customProperties | object of any | Yes |
department | null in the examples | Yes |
emails | array of object | Yes |
emails[].email | string (email) | Yes |
emails[].id | string (uuid) | Yes |
emails[].isPrimary | boolean | Yes |
emails[].label | string | null | Yes |
firstName | string | Yes |
id | string (uuid) | Yes |
jobTitle | string | null | Yes |
lastActivityAt | string | null (date-time) | Yes |
lastName | string | null | Yes |
leadStatus | null in the examples | Yes |
lifecycleStage | string | null | Yes |
locale | null in the examples | Yes |
marketingOptIn | boolean | Yes |
marketingOptInAt | string | null (date-time) | Yes |
organizationId | string (uuid) | Yes |
ownerId | string | null (uuid) | Yes |
phones | array of object | Yes |
phones[].id | string (uuid) | Yes |
phones[].isPrimary | boolean | Yes |
phones[].label | null in the examples | Yes |
phones[].phone | string | Yes |
postalCode | null in the examples | Yes |
socialProfiles | object | Yes |
socialProfiles.instagram | string | No |
source | string | null | Yes |
state | null in the examples | Yes |
tags | array of object | Yes |
tags[].color | string | Yes |
tags[].id | string (uuid) | Yes |
tags[].name | string | Yes |
timezone | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X PATCH "https://api.firmado.app/v1/contacts/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}'const res = await fetch("https://api.firmado.app/v1/contacts/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/contacts/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
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/contacts/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
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(`{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/contacts/{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/contacts/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
"""))
.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/contacts/{id}");
request.Content = new StringContent(""""
{
"firstName": "Ana",
"lastName": "Lima",
"jobTitle": "…",
"department": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"address": null,
"archived": true,
"avatar": "https://example.com",
"birthday": "2026-11-21",
"city": "…",
"companies": [
{
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"jobTitle": "…",
"name": "Ana Lima"
}
],
"country": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"customProperties": {},
"department": null,
"emails": [
{
"email": "[email protected]",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": "…"
}
],
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": "…",
"lastActivityAt": "2026-11-21T14:00:00.000Z",
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"locale": null,
"marketingOptIn": true,
"marketingOptInAt": "2026-11-21T14:00:00.000Z",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phones": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": null,
"phone": "…"
}
],
"postalCode": null,
"socialProfiles": {
"instagram": "…"
},
"source": "…",
"state": null,
"tags": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"color": "…"
}
],
"timezone": null,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}GET/v1/contacts/{id}/activity
A contact’s timeline: proposals, invoices, meetings, forms, emails, events and notes.
Read/{id}/activityOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
limit | integer | No | min 1 · max 1000 · default 200 |
Response
40 fields
| Field | Type | Always there |
|---|---|---|
lastViewedAt | string | null (date-time) | Yes |
timeline | array of object | Yes |
timeline[].actorName | string | null | Yes |
timeline[].appointment | object | No |
timeline[].appointment.id | string (uuid) | Yes |
timeline[].appointment.startsAt | string (date-time) | Yes |
timeline[].appointment.status | string | Yes |
timeline[].appointment.title | string | Yes |
timeline[].approval | object | No |
timeline[].approval.id | string (uuid) | Yes |
timeline[].approval.title | string | Yes |
timeline[].contactEvent | object | No |
timeline[].contactEvent.channel | null in the examples | Yes |
timeline[].contactEvent.event | string | Yes |
timeline[].contactEvent.id | string (uuid) | Yes |
timeline[].contactEvent.occurredAt | string (date-time) | Yes |
timeline[].contactEvent.properties | object of any | Yes |
timeline[].contactEvent.reference | null in the examples | Yes |
timeline[].contract | object | No |
timeline[].contract.id | string (uuid) | Yes |
timeline[].contract.title | string | Yes |
timeline[].createdAt | string (date-time) | Yes |
timeline[].data | object of any | Yes |
timeline[].deal | object | null | Yes |
timeline[].deal.id | string (uuid) | Yes |
timeline[].deal.title | string | Yes |
timeline[].form | object | No |
timeline[].form.id | string (uuid) | Yes |
timeline[].form.name | string | Yes |
timeline[].form.submissionId | string (uuid) | Yes |
timeline[].id | string (uuid) | Yes |
timeline[].payment | object | No |
timeline[].payment.appointment | null in the examples | Yes |
timeline[].payment.invoice | object | null | Yes |
timeline[].payment.invoice.id | string (uuid) | Yes |
timeline[].payment.invoice.number | string | Yes |
timeline[].payment.recorded | string | null | Yes |
timeline[].payment.source | string | Yes |
timeline[].type | string | Yes |
viewCount | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}/activity" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/activity", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}/activity",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/activity");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/contacts/{id}/activity")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/contacts/{id}/activity", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/contacts/{id}/activity"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/contacts/{id}/activity");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"lastViewedAt": "2026-11-21T14:00:00.000Z",
"timeline": [
{
"actorName": "Ana Lima",
"createdAt": "2026-11-21T14:00:00.000Z",
"data": {},
"deal": {},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"type": "…",
"appointment": {},
"approval": {},
"contactEvent": {},
"contract": {},
"form": {},
"payment": {}
}
],
"viewCount": 1
}DELETE/v1/contacts/{id}/companies/{companyId}
Unlinks a contact from a company.
Update/{id}/companies/{companyId}On success: 204.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
companyId | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/contacts/{id}/companies/{companyId}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/companies/{companyId}", {
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/contacts/{id}/companies/{companyId}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/companies/{companyId}");
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/contacts/{id}/companies/{companyId}")
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/contacts/{id}/companies/{companyId}", 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/contacts/{id}/companies/{companyId}"))
.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/contacts/{id}/companies/{companyId}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PUT/v1/contacts/{id}/companies/{companyId}
Links a contact to a company, with their role there.
Update/{id}/companies/{companyId}On success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
companyId | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
jobTitle | string | null | No | |
isPrimary | boolean | No |
Response
46 fields
| Field | Type | Always there |
|---|---|---|
address | null in the examples | Yes |
archived | boolean | Yes |
avatar | null in the examples | Yes |
birthday | string | null (date) | Yes |
city | null in the examples | Yes |
companies | array of object | Yes |
companies[].companyId | string (uuid) | Yes |
companies[].isPrimary | boolean | Yes |
companies[].jobTitle | string | null | Yes |
companies[].name | string | Yes |
country | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string | null (uuid) | Yes |
customProperties | object of any | Yes |
department | null in the examples | Yes |
emails | array of object | Yes |
emails[].email | string (email) | Yes |
emails[].id | string (uuid) | Yes |
emails[].isPrimary | boolean | Yes |
emails[].label | null in the examples | Yes |
firstName | string | Yes |
id | string (uuid) | Yes |
jobTitle | string | null | Yes |
lastActivityAt | string | null (date-time) | Yes |
lastName | string | null | Yes |
leadStatus | null in the examples | Yes |
lifecycleStage | string | null | Yes |
locale | null in the examples | Yes |
marketingOptIn | boolean | Yes |
marketingOptInAt | null in the examples | Yes |
organizationId | string (uuid) | Yes |
ownerId | string | null (uuid) | Yes |
phones | array of object | Yes |
phones[].id | string (uuid) | Yes |
phones[].isPrimary | boolean | Yes |
phones[].label | null in the examples | Yes |
phones[].phone | string | Yes |
postalCode | null in the examples | Yes |
socialProfiles | object | Yes |
socialProfiles.instagram | string | No |
source | string | null | Yes |
state | null in the examples | Yes |
tags | array of any | Yes |
timezone | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string | null (uuid) | Yes |
Example
curl -X PUT "https://api.firmado.app/v1/contacts/{id}/companies/{companyId}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"jobTitle": "…",
"isPrimary": true
}'const res = await fetch("https://api.firmado.app/v1/contacts/{id}/companies/{companyId}", {
method: "PUT",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"jobTitle": "…",
"isPrimary": true
}),
})
const data = await res.json()import requests
res = requests.put(
"https://api.firmado.app/v1/contacts/{id}/companies/{companyId}",
headers={"X-Api-Key": "fmd_..."},
json={
"jobTitle": "…",
"isPrimary": True,
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/companies/{companyId}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"jobTitle": "…",
"isPrimary": true
}
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/contacts/{id}/companies/{companyId}")
req = Net::HTTP::Put.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"jobTitle": "…",
"isPrimary": true
}
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(`{
"jobTitle": "…",
"isPrimary": true
}`)
req, _ := http.NewRequest("PUT", "https://api.firmado.app/v1/contacts/{id}/companies/{companyId}", 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/contacts/{id}/companies/{companyId}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PUT", HttpRequest.BodyPublishers.ofString("""
{
"jobTitle": "…",
"isPrimary": true
}
"""))
.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("PUT"), "https://api.firmado.app/v1/contacts/{id}/companies/{companyId}");
request.Content = new StringContent(""""
{
"jobTitle": "…",
"isPrimary": true
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"address": null,
"archived": true,
"avatar": null,
"birthday": "2026-11-21",
"city": null,
"companies": [
{
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"jobTitle": "…",
"name": "Ana Lima"
}
],
"country": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"customProperties": {},
"department": null,
"emails": [
{
"email": "[email protected]",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"isPrimary": true,
"label": null
}
],
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": "…",
"lastActivityAt": "2026-11-21T14:00:00.000Z",
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"locale": null,
"marketingOptIn": true,
"marketingOptInAt": null,
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phones": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phone": "…",
"label": null,
"isPrimary": true
}
],
"postalCode": null,
"socialProfiles": {
"instagram": "…"
},
"source": "…",
"state": null,
"tags": [],
"timezone": null,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}GET/v1/contacts/{id}/duplicates
Contacts sharing an email, phone or social profile with this one (Pro).
Read/{id}/duplicatesOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
12 fields
| Field | Type | Always there |
|---|---|---|
[].contact | object | Yes |
[].contact.createdAt | string (date-time) | Yes |
[].contact.email | string (email) | Yes |
[].contact.firstName | string | Yes |
[].contact.id | string (uuid) | Yes |
[].contact.lastName | null in the examples | Yes |
[].contact.ownerId | string (uuid) | Yes |
[].contact.phone | string | Yes |
[].matches | array of object | Yes |
[].matches[].field | string | Yes |
[].matches[].kind | string | Yes |
[].matches[].value | string | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}/duplicates" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/duplicates", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}/duplicates",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/duplicates");
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/contacts/{id}/duplicates")
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/contacts/{id}/duplicates", 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/contacts/{id}/duplicates"))
.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/contacts/{id}/duplicates");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
[
{
"contact": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"firstName": "Ana",
"lastName": null,
"email": "[email protected]",
"phone": "…",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z"
},
"matches": [
{}
]
}
]GET/v1/contacts/{id}/history
Every change to a contact’s properties, with who made it.
Read/{id}/historyOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
field | string | Yes | max length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$ |
Response
18 fields
| Field | Type | Always there |
|---|---|---|
entries | array of object | Yes |
entries[].changedAt | string (date-time) | Yes |
entries[].changedBy | object | Yes |
entries[].changedBy.id | string (uuid) | Yes |
entries[].changedBy.name | string | Yes |
entries[].id | string (uuid) | Yes |
entries[].newLabel | string | null | Yes |
entries[].newValue | array | string | Yes |
entries[].newValue[].id | string (uuid) | Yes |
entries[].newValue[].jobTitle | string | No |
entries[].newValue[].name | string | Yes |
entries[].oldLabel | null in the examples | Yes |
entries[].oldValue | array | string | null | Yes |
entries[].oldValue[].id | string (uuid) | Yes |
entries[].oldValue[].name | string | Yes |
field | string | Yes |
limit | integer | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}/history" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/history", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}/history",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/history");
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/contacts/{id}/history")
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/contacts/{id}/history", 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/contacts/{id}/history"))
.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/contacts/{id}/history");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"entries": [
{
"changedAt": "2026-11-21T14:00:00.000Z",
"changedBy": {},
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"newLabel": "…",
"newValue": [],
"oldLabel": null,
"oldValue": []
}
],
"field": "…",
"limit": 1,
"total": 1
}POST/v1/contacts/{id}/merge
Merges another contact into this one, moving everything linked to it.
Update/{id}/mergeOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
contactId | string (uuid) | Yes | |
choose | object of "kept" | "merged" | No |
Response
50 fields
| Field | Type | Always there |
|---|---|---|
address | null in the examples | Yes |
archived | boolean | Yes |
avatar | null in the examples | Yes |
birthday | null in the examples | Yes |
city | null in the examples | Yes |
companies | array of object | Yes |
companies[].companyId | string (uuid) | Yes |
companies[].isPrimary | boolean | Yes |
companies[].jobTitle | null in the examples | Yes |
companies[].name | string | Yes |
country | null in the examples | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
customProperties | object of any | Yes |
department | null in the examples | Yes |
emails | array of object | Yes |
emails[].email | string (email) | Yes |
emails[].id | string (uuid) | Yes |
emails[].isPrimary | boolean | Yes |
emails[].label | null in the examples | Yes |
firstName | string | Yes |
id | string (uuid) | Yes |
jobTitle | string | null | Yes |
lastActivityAt | null in the examples | Yes |
lastName | string | null | Yes |
leadStatus | null in the examples | Yes |
lifecycleStage | string | null | Yes |
locale | null in the examples | Yes |
marketingOptIn | boolean | Yes |
marketingOptInAt | null in the examples | Yes |
organizationId | string (uuid) | Yes |
ownerId | string (uuid) | Yes |
phones | array of object | Yes |
phones[].id | string (uuid) | Yes |
phones[].isPrimary | boolean | Yes |
phones[].label | null in the examples | Yes |
phones[].phone | string | Yes |
postalCode | null in the examples | Yes |
socialProfiles | object | Yes |
socialProfiles.instagram | string | No |
socialProfiles.whatsapp | string | No |
source | null in the examples | Yes |
state | null in the examples | Yes |
tags | array of object | Yes |
tags[].color | string | Yes |
tags[].id | string (uuid) | Yes |
tags[].name | string | Yes |
timezone | null in the examples | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X POST "https://api.firmado.app/v1/contacts/{id}/merge" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}'const res = await fetch("https://api.firmado.app/v1/contacts/{id}/merge", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/contacts/{id}/merge",
headers={"X-Api-Key": "fmd_..."},
json={
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {},
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/merge");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}
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/contacts/{id}/merge")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}
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(`{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/contacts/{id}/merge", 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/contacts/{id}/merge"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}
"""))
.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/contacts/{id}/merge");
request.Content = new StringContent(""""
{
"contactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"choose": {}
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"address": null,
"archived": true,
"avatar": null,
"birthday": null,
"city": null,
"companies": [
{
"companyId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"jobTitle": null,
"isPrimary": true
}
],
"country": null,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"customProperties": {},
"department": null,
"emails": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"email": "[email protected]",
"label": null,
"isPrimary": true
}
],
"firstName": "Ana",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"jobTitle": "…",
"lastActivityAt": null,
"lastName": "Lima",
"leadStatus": null,
"lifecycleStage": "…",
"locale": null,
"marketingOptIn": true,
"marketingOptInAt": null,
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phones": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"phone": "…",
"label": null,
"isPrimary": true
}
],
"postalCode": null,
"socialProfiles": {
"instagram": "…",
"whatsapp": "…"
},
"source": null,
"state": null,
"tags": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"color": "…"
}
],
"timezone": null,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}GET/v1/contacts/{id}/merges
The contacts merged into this one, as they were.
Read/{id}/mergesOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Response
105 fields
| Field | Type | Always there |
|---|---|---|
[].automatic | boolean | Yes |
[].createdAt | string (date-time) | Yes |
[].id | string (uuid) | Yes |
[].kept | object | Yes |
[].kept.address | null in the examples | Yes |
[].kept.archived | boolean | Yes |
[].kept.avatar | null in the examples | Yes |
[].kept.birthday | null in the examples | Yes |
[].kept.city | null in the examples | Yes |
[].kept.companies | array of any | Yes |
[].kept.country | null in the examples | Yes |
[].kept.createdAt | string (date-time) | Yes |
[].kept.createdBy | string (uuid) | Yes |
[].kept.customProperties | object of any | Yes |
[].kept.department | null in the examples | Yes |
[].kept.emails | array of object | Yes |
[].kept.emails[].email | string (email) | Yes |
[].kept.emails[].id | string (uuid) | Yes |
[].kept.emails[].isPrimary | boolean | Yes |
[].kept.emails[].label | null in the examples | Yes |
[].kept.firstName | string | Yes |
[].kept.id | string (uuid) | Yes |
[].kept.jobTitle | null in the examples | Yes |
[].kept.lastActivityAt | null in the examples | Yes |
[].kept.lastName | null in the examples | Yes |
[].kept.leadStatus | null in the examples | Yes |
[].kept.lifecycleStage | string | null | Yes |
[].kept.locale | null in the examples | Yes |
[].kept.marketingOptIn | boolean | Yes |
[].kept.marketingOptInAt | null in the examples | Yes |
[].kept.organizationId | string (uuid) | Yes |
[].kept.ownerId | string (uuid) | Yes |
[].kept.phones | array of object | Yes |
[].kept.phones[].id | string (uuid) | Yes |
[].kept.phones[].isPrimary | boolean | Yes |
[].kept.phones[].label | null in the examples | Yes |
[].kept.phones[].phone | string | Yes |
[].kept.postalCode | null in the examples | Yes |
[].kept.socialProfiles | object | Yes |
[].kept.socialProfiles.instagram | string (uri) | No |
[].kept.socialProfiles.whatsapp | string | No |
[].kept.source | null in the examples | Yes |
[].kept.state | null in the examples | Yes |
[].kept.tags | array of any | Yes |
[].kept.timezone | null in the examples | Yes |
[].kept.updatedAt | string (date-time) | Yes |
[].kept.updatedBy | string (uuid) | Yes |
[].matches | array of object | Yes |
[].matches[].field | string | No |
[].matches[].kind | string | Yes |
[].matches[].value | string | Yes |
[].merged | object | Yes |
[].merged.address | null in the examples | Yes |
[].merged.archived | boolean | Yes |
[].merged.avatar | null in the examples | Yes |
[].merged.birthday | null in the examples | Yes |
[].merged.city | null in the examples | Yes |
[].merged.companies | array of object | Yes |
[].merged.companies[].companyId | string (uuid) | Yes |
[].merged.companies[].isPrimary | boolean | Yes |
[].merged.companies[].jobTitle | null in the examples | Yes |
[].merged.companies[].name | string | Yes |
[].merged.country | null in the examples | Yes |
[].merged.createdAt | string (date-time) | Yes |
[].merged.createdBy | string | null (uuid) | Yes |
[].merged.customProperties | object of any | Yes |
[].merged.department | null in the examples | Yes |
[].merged.emails | array of object | Yes |
[].merged.emails[].email | string (email) | Yes |
[].merged.emails[].id | string (uuid) | Yes |
[].merged.emails[].isPrimary | boolean | Yes |
[].merged.emails[].label | null in the examples | Yes |
[].merged.firstName | string | Yes |
[].merged.id | string (uuid) | Yes |
[].merged.jobTitle | string | null | Yes |
[].merged.lastActivityAt | null in the examples | Yes |
[].merged.lastName | string | null | Yes |
[].merged.leadStatus | null in the examples | Yes |
[].merged.lifecycleStage | string | null | Yes |
[].merged.lists | array of string (uuid) | Yes |
[].merged.locale | null in the examples | Yes |
[].merged.marketingOptIn | boolean | Yes |
[].merged.marketingOptInAt | null in the examples | Yes |
[].merged.organizationId | string (uuid) | Yes |
[].merged.ownerId | string | null (uuid) | Yes |
[].merged.phones | array of object | Yes |
[].merged.phones[].id | string (uuid) | Yes |
[].merged.phones[].isPrimary | boolean | Yes |
[].merged.phones[].label | null in the examples | Yes |
[].merged.phones[].phone | string | Yes |
[].merged.postalCode | null in the examples | Yes |
[].merged.socialProfiles | object | Yes |
[].merged.socialProfiles.instagram | string | No |
[].merged.socialProfiles.whatsapp | string | No |
[].merged.source | null in the examples | Yes |
[].merged.state | null in the examples | Yes |
[].merged.tags | array of any | Yes |
[].merged.timezone | null in the examples | Yes |
[].merged.updatedAt | string (date-time) | Yes |
[].merged.updatedBy | string | null (uuid) | Yes |
[].mergedBy | object | null | Yes |
[].mergedBy.id | string (uuid) | Yes |
[].mergedBy.name | string | Yes |
[].mergedContactId | string (uuid) | Yes |
[].mergedName | string | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}/merges" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/merges", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}/merges",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/merges");
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/contacts/{id}/merges")
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/contacts/{id}/merges", 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/contacts/{id}/merges"))
.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/contacts/{id}/merges");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
[
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"mergedContactId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"mergedName": "Ana Lima",
"merged": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"city": null,
"tags": [],
"lists": [],
"state": null,
"avatar": null,
"emails": [],
"locale": null,
"phones": [],
"source": null,
"address": null,
"country": null,
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"archived": true,
"birthday": null,
"jobTitle": "…",
"lastName": "Lima",
"timezone": null,
"companies": [],
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"firstName": "Ana",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"department": null,
"leadStatus": null,
"postalCode": null,
"lastActivityAt": null,
"lifecycleStage": "…",
"marketingOptIn": true,
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"socialProfiles": {},
"customProperties": {},
"marketingOptInAt": null
},
"kept": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"city": null,
"tags": [],
"state": null,
"avatar": null,
"emails": [],
"locale": null,
"phones": [],
"source": null,
"address": null,
"country": null,
"ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"archived": true,
"birthday": null,
"jobTitle": null,
"lastName": null,
"timezone": null,
"companies": [],
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"firstName": "Ana",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"department": null,
"leadStatus": null,
"postalCode": null,
"lastActivityAt": null,
"lifecycleStage": "…",
"marketingOptIn": true,
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"socialProfiles": {},
"customProperties": {},
"marketingOptInAt": null
},
"automatic": true,
"matches": [
{}
],
"createdAt": "2026-11-21T14:00:00.000Z",
"mergedBy": {
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
}
}
]GET/v1/contacts/{id}/merges/{mergeId}/history
A merged contact’s own property history.
Read/{id}/merges/{mergeId}/historyOn success: 200.Permission: Read.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
mergeId | string | Yes |
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
field | string | Yes | max length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$ |
Response
13 fields
| Field | Type | Always there |
|---|---|---|
entries | array of object | Yes |
entries[].changedAt | string (date-time) | Yes |
entries[].changedBy | object | Yes |
entries[].changedBy.id | string (uuid) | Yes |
entries[].changedBy.name | string | Yes |
entries[].id | string (uuid) | Yes |
entries[].newLabel | null in the examples | Yes |
entries[].newValue | string | Yes |
entries[].oldLabel | null in the examples | Yes |
entries[].oldValue | string | Yes |
field | string | Yes |
limit | integer | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/contacts/{id}/merges/{mergeId}/history" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/contacts/{id}/merges/{mergeId}/history", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/contacts/{id}/merges/{mergeId}/history",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/contacts/{id}/merges/{mergeId}/history");
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/contacts/{id}/merges/{mergeId}/history")
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/contacts/{id}/merges/{mergeId}/history", 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/contacts/{id}/merges/{mergeId}/history"))
.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/contacts/{id}/merges/{mergeId}/history");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"field": "…",
"limit": 1,
"total": 1,
"entries": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"oldValue": "…",
"newValue": "…",
"changedAt": "2026-11-21T14:00:00.000Z",
"oldLabel": null,
"newLabel": null,
"changedBy": {}
}
]
}GET/v1/tags
Lists the contact tags, with how many contacts each has.
ListOn success: 200.Permission: Read.
Response
5 fields
| Field | Type | Always there |
|---|---|---|
[].color | string | Yes |
[].contactCount | integer | Yes |
[].createdAt | string (date-time) | Yes |
[].id | string (uuid) | Yes |
[].name | string | Yes |
Example
curl -X GET "https://api.firmado.app/v1/tags" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/tags", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/tags",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tags");
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/tags")
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/tags", 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/tags"))
.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/tags");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
[
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"color": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"contactCount": 1
}
]POST/v1/tags
Creates a tag.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | Yes | min length 1 · max length 50 |
color | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | No | default "gray" |
Response
5 fields
| Field | Type | Always there |
|---|---|---|
color | string | Yes |
contactCount | integer | Yes |
createdAt | string (date-time) | Yes |
id | string (uuid) | Yes |
name | string | Yes |
Example
curl -X POST "https://api.firmado.app/v1/tags" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"color": "gray"
}'const res = await fetch("https://api.firmado.app/v1/tags", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"color": "gray"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/tags",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"color": "gray",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tags");
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",
"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/tags")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"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",
"color": "gray"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/tags", 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/tags"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"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/tags");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"color": "gray"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"color": "…",
"contactCount": 1,
"createdAt": "2026-11-21T14:00:00.000Z",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima"
}DELETE/v1/tags/{id}
Deletes a tag, taking it off its contacts.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/tags/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/tags/{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/tags/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/tags/{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/tags/{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/tags/{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/tags/{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/tags/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/tags/{id}
Renames a tag or changes its color.
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 50 |
color | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | No |
Response
5 fields
| Field | Type | Always there |
|---|---|---|
color | string | Yes |
contactCount | integer | Yes |
createdAt | string (date-time) | Yes |
id | string (uuid) | Yes |
name | string | Yes |
Example
curl -X PATCH "https://api.firmado.app/v1/tags/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"color": "gray"
}'const res = await fetch("https://api.firmado.app/v1/tags/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"color": "gray"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/tags/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"color": "gray",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/tags/{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",
"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/tags/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"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",
"color": "gray"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/tags/{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/tags/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"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("PATCH"), "https://api.firmado.app/v1/tags/{id}");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"color": "gray"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"name": "Ana Lima",
"color": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"contactCount": 1
}POST/v1/tags/{id}/contacts
Adds a tag to contacts.
Update/{id}/contactsOn 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 |
Response
3 fields
| Field | Type | Always there |
|---|---|---|
added | integer | Yes |
already | integer | Yes |
full | integer | Yes |
Example
curl -X POST "https://api.firmado.app/v1/tags/{id}/contacts" \
-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/tags/{id}/contacts", {
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/tags/{id}/contacts",
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/tags/{id}/contacts");
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/tags/{id}/contacts")
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/tags/{id}/contacts", 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/tags/{id}/contacts"))
.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/tags/{id}/contacts");
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,
"already": 1,
"full": 1
}POST/v1/tags/{id}/contacts/remove
Takes a tag off contacts.
Update/{id}/contacts/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 500 |
Response
1 field
| Field | Type | Always there |
|---|---|---|
removed | integer | Yes |
Example
curl -X POST "https://api.firmado.app/v1/tags/{id}/contacts/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/tags/{id}/contacts/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/tags/{id}/contacts/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/tags/{id}/contacts/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/tags/{id}/contacts/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/tags/{id}/contacts/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/tags/{id}/contacts/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/tags/{id}/contacts/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
}Webhook events
Changes of this feature that webhooks can send.
contact.createdCreatecontact.updatedUpdatecontact.deletedDeletecontact.mergedUpdate