Contatos

Pessoas no CRM: e-mails, telefones, tags, histórico e propriedades personalizadas.

Valores dos exemplos

Digite uma vez e todos os exemplos desta página passam a usá-los. A chave de API fica só nesta página e nunca é guardada.

GET/v1/contacts

Lista e busca contatos, com filtros, tags e ordenação.

ListarEm caso de sucesso: 200.Permissão: Ler.

Parâmetros da consulta

CampoTipoObrigatórioObservações
pageintegerNãomin 1 · default 1
pageSizeintegerNãomin 1 · max 100 · default 25
qstringNãomin length 1 · max length 200
archivedstringNão
sort"createdAt" | "updatedAt" | "name" | "lastActivityAt"Nãodefault "createdAt"
order"asc" | "desc"Nãodefault "desc"
ownerIdstringNão
companyIdstring (uuid)Não
tagIdstring (uuid)Não
leadStatus"new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified"Não
lifecycleStage"subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other"Não
marketingOptIn"true" | "false"Não

Resposta

53 campos
CampoTipoSempre presente
dataarray of objectSim
data[].addressnull nos exemplosSim
data[].archivedbooleanSim
data[].avatarnull nos exemplosSim
data[].birthdaystring | null (date)Sim
data[].citynull nos exemplosSim
data[].companiesarray of objectSim
data[].companies[].companyIdstring (uuid)Sim
data[].companies[].isPrimarybooleanSim
data[].companies[].jobTitlestring | nullSim
data[].companies[].namestringSim
data[].countrynull nos exemplosSim
data[].createdAtstring (date-time)Sim
data[].createdBystring | null (uuid)Sim
data[].customPropertiesobject of anySim
data[].departmentnull nos exemplosSim
data[].emailsarray of objectSim
data[].emails[].emailstring (email)Sim
data[].emails[].idstring (uuid)Sim
data[].emails[].isPrimarybooleanSim
data[].emails[].labelnull nos exemplosSim
data[].firstNamestringSim
data[].idstring (uuid)Sim
data[].jobTitlenull nos exemplosSim
data[].lastActivityAtstring | null (date-time)Sim
data[].lastNamestring | nullSim
data[].leadStatusnull nos exemplosSim
data[].lifecycleStagestring | nullSim
data[].localenull nos exemplosSim
data[].marketingOptInbooleanSim
data[].marketingOptInAtstring | null (date-time)Sim
data[].organizationIdstring (uuid)Sim
data[].ownerIdstring | null (uuid)Sim
data[].phonesarray of objectSim
data[].phones[].idstring (uuid)Sim
data[].phones[].isPrimarybooleanSim
data[].phones[].labelnull nos exemplosSim
data[].phones[].phonestringSim
data[].postalCodenull nos exemplosSim
data[].socialProfilesobjectSim
data[].socialProfiles.instagramstringNão
data[].sourcestring | nullSim
data[].statenull nos exemplosSim
data[].tagsarray of objectSim
data[].tags[].colorstringSim
data[].tags[].idstring (uuid)Sim
data[].tags[].namestringSim
data[].timezonenull nos exemplosSim
data[].updatedAtstring (date-time)Sim
data[].updatedBystring | null (uuid)Sim
pageintegerSim
pageSizeintegerSim
totalintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "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

Cria um contato com seus e-mails, telefones e propriedades.

CriarEm caso de sucesso: 201.Permissão: Criar.

Corpo

CampoTipoObrigatórioObservações
firstNamestringSimmin length 1 · max length 100
lastNamestring | nullNão
jobTitlestring | nullNão
departmentstring | nullNão
avatarstring (uri) | nullNão
birthdaystring (date) | nullNão
localestring | nullNão
timezonestring | nullNão
countrystring | nullNão
statestring | nullNão
citystring | nullNão
postalCodestring | nullNão
addressstring | nullNão
sourcestring | nullNão
leadStatus"new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | nullNão
lifecycleStage"subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | nullNão
marketingOptInbooleanNão
ownerIdstring | nullNão
socialProfilesobject of string | nullNão
customPropertiesobject of anyNão
archivedbooleanNão
emailsarray of objectNãomax items 20
emails[].emailstring (email)Simmax length 320
emails[].labelstring | nullNão
emails[].isPrimarybooleanNão
phonesarray of objectNãomax items 20
phones[].phonestringSimmin length 3 · max length 40
phones[].labelstring | nullNão
phones[].isPrimarybooleanNão
companiesarray of objectNãomax items 50
companies[].companyIdstring (uuid)Sim
companies[].jobTitlestring | nullNão
companies[].isPrimarybooleanNão
tagIdsarray of string (uuid)Nãomax items 500

Resposta

50 campos
CampoTipoSempre presente
addressnull nos exemplosSim
archivedbooleanSim
avatarstring | null (uri)Sim
birthdaystring | null (date)Sim
citystring | nullSim
companiesarray of objectSim
companies[].companyIdstring (uuid)Sim
companies[].isPrimarybooleanSim
companies[].jobTitlestring | nullSim
companies[].namestringSim
countrystring | nullSim
createdAtstring (date-time)Sim
createdBystring | null (uuid)Sim
customPropertiesobject of anySim
departmentnull nos exemplosSim
emailsarray of objectSim
emails[].emailstring (email)Sim
emails[].idstring (uuid)Sim
emails[].isPrimarybooleanSim
emails[].labelstring | nullSim
firstNamestringSim
idstring (uuid)Sim
jobTitlestring | nullSim
lastActivityAtnull nos exemplosSim
lastNamestring | nullSim
leadStatusnull nos exemplosSim
lifecycleStagestring | nullSim
localenull nos exemplosSim
marketingOptInbooleanSim
marketingOptInAtstring | null (date-time)Sim
organizationIdstring (uuid)Sim
ownerIdstring | null (uuid)Sim
phonesarray of objectSim
phones[].idstring (uuid)Sim
phones[].isPrimarybooleanSim
phones[].labelnull nos exemplosSim
phones[].phonestringSim
postalCodenull nos exemplosSim
socialProfilesobjectSim
socialProfiles.instagramstringNão
socialProfiles.whatsappstringNão
sourcenull nos exemplosSim
statenull nos exemplosSim
tagsarray of objectSim
tags[].colorstringSim
tags[].idstring (uuid)Sim
tags[].namestringSim
timezonenull nos exemplosSim
updatedAtstring (date-time)Sim
updatedBystring | null (uuid)Sim
Exemplo
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": "…"
}'

Resposta (201), com valores de exemplo:

{
  "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}

Exclui um contato.

ExcluirEm caso de sucesso: 204.Permissão: Excluir.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
Exemplo
curl -X DELETE "https://api.firmado.app/v1/contacts/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/contacts/{id}

Retorna um contato com seus e-mails, telefones, empresas, tags e propriedades.

Ver umEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

49 campos
CampoTipoSempre presente
addressnull nos exemplosSim
archivedbooleanSim
avatarstring | null (uri)Sim
birthdaynull nos exemplosSim
citystring | nullSim
companiesarray of objectSim
companies[].companyIdstring (uuid)Sim
companies[].isPrimarybooleanSim
companies[].jobTitlenull nos exemplosSim
companies[].namestringSim
countrynull nos exemplosSim
createdAtstring (date-time)Sim
createdBystring | null (uuid)Sim
customPropertiesobject of anySim
departmentnull nos exemplosSim
emailsarray of objectSim
emails[].emailstring (email)Sim
emails[].idstring (uuid)Sim
emails[].isPrimarybooleanSim
emails[].labelnull nos exemplosSim
firstNamestringSim
idstring (uuid)Sim
jobTitlestring | nullSim
lastActivityAtnull nos exemplosSim
lastNamestring | nullSim
leadStatusnull nos exemplosSim
lifecycleStagestring | nullSim
localenull nos exemplosSim
marketingOptInbooleanSim
marketingOptInAtstring | null (date-time)Sim
organizationIdstring (uuid)Sim
ownerIdstring | null (uuid)Sim
phonesarray of objectSim
phones[].idstring (uuid)Sim
phones[].isPrimarybooleanSim
phones[].labelnull nos exemplosSim
phones[].phonestringSim
postalCodenull nos exemplosSim
socialProfilesobjectSim
socialProfiles.instagramstring (uri)Não
sourcestring | nullSim
statenull nos exemplosSim
tagsarray of objectSim
tags[].colorstringSim
tags[].idstring (uuid)Sim
tags[].namestringSim
timezonenull nos exemplosSim
updatedAtstring (date-time)Sim
updatedBystring | null (uuid)Sim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts/{id}" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "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}

Altera os campos, e-mails, telefones e propriedades personalizadas de um contato.

AtualizarEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
firstNamestringNãomin length 1 · max length 100
lastNamestring | nullNão
jobTitlestring | nullNão
departmentstring | nullNão
avatarstring (uri) | nullNão
birthdaystring (date) | nullNão
localestring | nullNão
timezonestring | nullNão
countrystring | nullNão
statestring | nullNão
citystring | nullNão
postalCodestring | nullNão
addressstring | nullNão
sourcestring | nullNão
leadStatus"new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | nullNão
lifecycleStage"subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | nullNão
marketingOptInbooleanNão
ownerIdstring | nullNão
socialProfilesobject of string | nullNão
customPropertiesobject of anyNão
archivedbooleanNão
emailsarray of objectNãomax items 20
emails[].emailstring (email)Simmax length 320
emails[].labelstring | nullNão
emails[].isPrimarybooleanNão
phonesarray of objectNãomax items 20
phones[].phonestringSimmin length 3 · max length 40
phones[].labelstring | nullNão
phones[].isPrimarybooleanNão
companiesarray of objectNãomax items 50
companies[].companyIdstring (uuid)Sim
companies[].jobTitlestring | nullNão
companies[].isPrimarybooleanNão
tagIdsarray of string (uuid)Nãomax items 500

Resposta

49 campos
CampoTipoSempre presente
addressnull nos exemplosSim
archivedbooleanSim
avatarstring | null (uri)Sim
birthdaystring | null (date)Sim
citystring | nullSim
companiesarray of objectSim
companies[].companyIdstring (uuid)Sim
companies[].isPrimarybooleanSim
companies[].jobTitlestring | nullSim
companies[].namestringSim
countrystring | nullSim
createdAtstring (date-time)Sim
createdBystring | null (uuid)Sim
customPropertiesobject of anySim
departmentnull nos exemplosSim
emailsarray of objectSim
emails[].emailstring (email)Sim
emails[].idstring (uuid)Sim
emails[].isPrimarybooleanSim
emails[].labelstring | nullSim
firstNamestringSim
idstring (uuid)Sim
jobTitlestring | nullSim
lastActivityAtstring | null (date-time)Sim
lastNamestring | nullSim
leadStatusnull nos exemplosSim
lifecycleStagestring | nullSim
localenull nos exemplosSim
marketingOptInbooleanSim
marketingOptInAtstring | null (date-time)Sim
organizationIdstring (uuid)Sim
ownerIdstring | null (uuid)Sim
phonesarray of objectSim
phones[].idstring (uuid)Sim
phones[].isPrimarybooleanSim
phones[].labelnull nos exemplosSim
phones[].phonestringSim
postalCodenull nos exemplosSim
socialProfilesobjectSim
socialProfiles.instagramstringNão
sourcestring | nullSim
statenull nos exemplosSim
tagsarray of objectSim
tags[].colorstringSim
tags[].idstring (uuid)Sim
tags[].namestringSim
timezonenull nos exemplosSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
Exemplo
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": "…"
}'

Resposta (200), com valores de exemplo:

{
  "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 linha do tempo de um contato: propostas, faturas, agendamentos, formulários, e-mails, eventos e notas.

Ler/{id}/activityEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Parâmetros da consulta

CampoTipoObrigatórioObservações
limitintegerNãomin 1 · max 1000 · default 200

Resposta

40 campos
CampoTipoSempre presente
lastViewedAtstring | null (date-time)Sim
timelinearray of objectSim
timeline[].actorNamestring | nullSim
timeline[].appointmentobjectNão
timeline[].appointment.idstring (uuid)Sim
timeline[].appointment.startsAtstring (date-time)Sim
timeline[].appointment.statusstringSim
timeline[].appointment.titlestringSim
timeline[].approvalobjectNão
timeline[].approval.idstring (uuid)Sim
timeline[].approval.titlestringSim
timeline[].contactEventobjectNão
timeline[].contactEvent.channelnull nos exemplosSim
timeline[].contactEvent.eventstringSim
timeline[].contactEvent.idstring (uuid)Sim
timeline[].contactEvent.occurredAtstring (date-time)Sim
timeline[].contactEvent.propertiesobject of anySim
timeline[].contactEvent.referencenull nos exemplosSim
timeline[].contractobjectNão
timeline[].contract.idstring (uuid)Sim
timeline[].contract.titlestringSim
timeline[].createdAtstring (date-time)Sim
timeline[].dataobject of anySim
timeline[].dealobject | nullSim
timeline[].deal.idstring (uuid)Sim
timeline[].deal.titlestringSim
timeline[].formobjectNão
timeline[].form.idstring (uuid)Sim
timeline[].form.namestringSim
timeline[].form.submissionIdstring (uuid)Sim
timeline[].idstring (uuid)Sim
timeline[].paymentobjectNão
timeline[].payment.appointmentnull nos exemplosSim
timeline[].payment.invoiceobject | nullSim
timeline[].payment.invoice.idstring (uuid)Sim
timeline[].payment.invoice.numberstringSim
timeline[].payment.recordedstring | nullSim
timeline[].payment.sourcestringSim
timeline[].typestringSim
viewCountintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts/{id}/activity" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "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}

Desvincula um contato de uma empresa.

Atualizar/{id}/companies/{companyId}Em caso de sucesso: 204.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
companyIdstringSim
Exemplo
curl -X DELETE "https://api.firmado.app/v1/contacts/{id}/companies/{companyId}" \
  -H "X-Api-Key: fmd_..."

PUT/v1/contacts/{id}/companies/{companyId}

Vincula um contato a uma empresa, com o cargo dele lá.

Atualizar/{id}/companies/{companyId}Em caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
companyIdstringSim

Corpo

CampoTipoObrigatórioObservações
jobTitlestring | nullNão
isPrimarybooleanNão

Resposta

46 campos
CampoTipoSempre presente
addressnull nos exemplosSim
archivedbooleanSim
avatarnull nos exemplosSim
birthdaystring | null (date)Sim
citynull nos exemplosSim
companiesarray of objectSim
companies[].companyIdstring (uuid)Sim
companies[].isPrimarybooleanSim
companies[].jobTitlestring | nullSim
companies[].namestringSim
countrynull nos exemplosSim
createdAtstring (date-time)Sim
createdBystring | null (uuid)Sim
customPropertiesobject of anySim
departmentnull nos exemplosSim
emailsarray of objectSim
emails[].emailstring (email)Sim
emails[].idstring (uuid)Sim
emails[].isPrimarybooleanSim
emails[].labelnull nos exemplosSim
firstNamestringSim
idstring (uuid)Sim
jobTitlestring | nullSim
lastActivityAtstring | null (date-time)Sim
lastNamestring | nullSim
leadStatusnull nos exemplosSim
lifecycleStagestring | nullSim
localenull nos exemplosSim
marketingOptInbooleanSim
marketingOptInAtnull nos exemplosSim
organizationIdstring (uuid)Sim
ownerIdstring | null (uuid)Sim
phonesarray of objectSim
phones[].idstring (uuid)Sim
phones[].isPrimarybooleanSim
phones[].labelnull nos exemplosSim
phones[].phonestringSim
postalCodenull nos exemplosSim
socialProfilesobjectSim
socialProfiles.instagramstringNão
sourcestring | nullSim
statenull nos exemplosSim
tagsarray of anySim
timezonenull nos exemplosSim
updatedAtstring (date-time)Sim
updatedBystring | null (uuid)Sim
Exemplo
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
}'

Resposta (200), com valores de exemplo:

{
  "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

Contatos que têm o mesmo e-mail, telefone ou perfil social que este (Pro).

Ler/{id}/duplicatesEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

12 campos
CampoTipoSempre presente
[].contactobjectSim
[].contact.createdAtstring (date-time)Sim
[].contact.emailstring (email)Sim
[].contact.firstNamestringSim
[].contact.idstring (uuid)Sim
[].contact.lastNamenull nos exemplosSim
[].contact.ownerIdstring (uuid)Sim
[].contact.phonestringSim
[].matchesarray of objectSim
[].matches[].fieldstringSim
[].matches[].kindstringSim
[].matches[].valuestringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts/{id}/duplicates" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

[
  {
    "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

Cada mudança nas propriedades de um contato, com quem a fez.

Ler/{id}/historyEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Parâmetros da consulta

CampoTipoObrigatórioObservações
fieldstringSimmax length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$

Resposta

18 campos
CampoTipoSempre presente
entriesarray of objectSim
entries[].changedAtstring (date-time)Sim
entries[].changedByobjectSim
entries[].changedBy.idstring (uuid)Sim
entries[].changedBy.namestringSim
entries[].idstring (uuid)Sim
entries[].newLabelstring | nullSim
entries[].newValuearray | stringSim
entries[].newValue[].idstring (uuid)Sim
entries[].newValue[].jobTitlestringNão
entries[].newValue[].namestringSim
entries[].oldLabelnull nos exemplosSim
entries[].oldValuearray | string | nullSim
entries[].oldValue[].idstring (uuid)Sim
entries[].oldValue[].namestringSim
fieldstringSim
limitintegerSim
totalintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts/{id}/history" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "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

Junta outro contato a este, movendo tudo o que estava ligado a ele.

Atualizar/{id}/mergeEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
contactIdstring (uuid)Sim
chooseobject of "kept" | "merged"Não

Resposta

50 campos
CampoTipoSempre presente
addressnull nos exemplosSim
archivedbooleanSim
avatarnull nos exemplosSim
birthdaynull nos exemplosSim
citynull nos exemplosSim
companiesarray of objectSim
companies[].companyIdstring (uuid)Sim
companies[].isPrimarybooleanSim
companies[].jobTitlenull nos exemplosSim
companies[].namestringSim
countrynull nos exemplosSim
createdAtstring (date-time)Sim
createdBystring (uuid)Sim
customPropertiesobject of anySim
departmentnull nos exemplosSim
emailsarray of objectSim
emails[].emailstring (email)Sim
emails[].idstring (uuid)Sim
emails[].isPrimarybooleanSim
emails[].labelnull nos exemplosSim
firstNamestringSim
idstring (uuid)Sim
jobTitlestring | nullSim
lastActivityAtnull nos exemplosSim
lastNamestring | nullSim
leadStatusnull nos exemplosSim
lifecycleStagestring | nullSim
localenull nos exemplosSim
marketingOptInbooleanSim
marketingOptInAtnull nos exemplosSim
organizationIdstring (uuid)Sim
ownerIdstring (uuid)Sim
phonesarray of objectSim
phones[].idstring (uuid)Sim
phones[].isPrimarybooleanSim
phones[].labelnull nos exemplosSim
phones[].phonestringSim
postalCodenull nos exemplosSim
socialProfilesobjectSim
socialProfiles.instagramstringNão
socialProfiles.whatsappstringNão
sourcenull nos exemplosSim
statenull nos exemplosSim
tagsarray of objectSim
tags[].colorstringSim
tags[].idstring (uuid)Sim
tags[].namestringSim
timezonenull nos exemplosSim
updatedAtstring (date-time)Sim
updatedBystring (uuid)Sim
Exemplo
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": {}
}'

Resposta (200), com valores de exemplo:

{
  "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

Os contatos juntados a este, como eram.

Ler/{id}/mergesEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

105 campos
CampoTipoSempre presente
[].automaticbooleanSim
[].createdAtstring (date-time)Sim
[].idstring (uuid)Sim
[].keptobjectSim
[].kept.addressnull nos exemplosSim
[].kept.archivedbooleanSim
[].kept.avatarnull nos exemplosSim
[].kept.birthdaynull nos exemplosSim
[].kept.citynull nos exemplosSim
[].kept.companiesarray of anySim
[].kept.countrynull nos exemplosSim
[].kept.createdAtstring (date-time)Sim
[].kept.createdBystring (uuid)Sim
[].kept.customPropertiesobject of anySim
[].kept.departmentnull nos exemplosSim
[].kept.emailsarray of objectSim
[].kept.emails[].emailstring (email)Sim
[].kept.emails[].idstring (uuid)Sim
[].kept.emails[].isPrimarybooleanSim
[].kept.emails[].labelnull nos exemplosSim
[].kept.firstNamestringSim
[].kept.idstring (uuid)Sim
[].kept.jobTitlenull nos exemplosSim
[].kept.lastActivityAtnull nos exemplosSim
[].kept.lastNamenull nos exemplosSim
[].kept.leadStatusnull nos exemplosSim
[].kept.lifecycleStagestring | nullSim
[].kept.localenull nos exemplosSim
[].kept.marketingOptInbooleanSim
[].kept.marketingOptInAtnull nos exemplosSim
[].kept.organizationIdstring (uuid)Sim
[].kept.ownerIdstring (uuid)Sim
[].kept.phonesarray of objectSim
[].kept.phones[].idstring (uuid)Sim
[].kept.phones[].isPrimarybooleanSim
[].kept.phones[].labelnull nos exemplosSim
[].kept.phones[].phonestringSim
[].kept.postalCodenull nos exemplosSim
[].kept.socialProfilesobjectSim
[].kept.socialProfiles.instagramstring (uri)Não
[].kept.socialProfiles.whatsappstringNão
[].kept.sourcenull nos exemplosSim
[].kept.statenull nos exemplosSim
[].kept.tagsarray of anySim
[].kept.timezonenull nos exemplosSim
[].kept.updatedAtstring (date-time)Sim
[].kept.updatedBystring (uuid)Sim
[].matchesarray of objectSim
[].matches[].fieldstringNão
[].matches[].kindstringSim
[].matches[].valuestringSim
[].mergedobjectSim
[].merged.addressnull nos exemplosSim
[].merged.archivedbooleanSim
[].merged.avatarnull nos exemplosSim
[].merged.birthdaynull nos exemplosSim
[].merged.citynull nos exemplosSim
[].merged.companiesarray of objectSim
[].merged.companies[].companyIdstring (uuid)Sim
[].merged.companies[].isPrimarybooleanSim
[].merged.companies[].jobTitlenull nos exemplosSim
[].merged.companies[].namestringSim
[].merged.countrynull nos exemplosSim
[].merged.createdAtstring (date-time)Sim
[].merged.createdBystring | null (uuid)Sim
[].merged.customPropertiesobject of anySim
[].merged.departmentnull nos exemplosSim
[].merged.emailsarray of objectSim
[].merged.emails[].emailstring (email)Sim
[].merged.emails[].idstring (uuid)Sim
[].merged.emails[].isPrimarybooleanSim
[].merged.emails[].labelnull nos exemplosSim
[].merged.firstNamestringSim
[].merged.idstring (uuid)Sim
[].merged.jobTitlestring | nullSim
[].merged.lastActivityAtnull nos exemplosSim
[].merged.lastNamestring | nullSim
[].merged.leadStatusnull nos exemplosSim
[].merged.lifecycleStagestring | nullSim
[].merged.listsarray of string (uuid)Sim
[].merged.localenull nos exemplosSim
[].merged.marketingOptInbooleanSim
[].merged.marketingOptInAtnull nos exemplosSim
[].merged.organizationIdstring (uuid)Sim
[].merged.ownerIdstring | null (uuid)Sim
[].merged.phonesarray of objectSim
[].merged.phones[].idstring (uuid)Sim
[].merged.phones[].isPrimarybooleanSim
[].merged.phones[].labelnull nos exemplosSim
[].merged.phones[].phonestringSim
[].merged.postalCodenull nos exemplosSim
[].merged.socialProfilesobjectSim
[].merged.socialProfiles.instagramstringNão
[].merged.socialProfiles.whatsappstringNão
[].merged.sourcenull nos exemplosSim
[].merged.statenull nos exemplosSim
[].merged.tagsarray of anySim
[].merged.timezonenull nos exemplosSim
[].merged.updatedAtstring (date-time)Sim
[].merged.updatedBystring | null (uuid)Sim
[].mergedByobject | nullSim
[].mergedBy.idstring (uuid)Sim
[].mergedBy.namestringSim
[].mergedContactIdstring (uuid)Sim
[].mergedNamestringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts/{id}/merges" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

[
  {
    "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

O histórico de propriedades de um contato juntado.

Ler/{id}/merges/{mergeId}/historyEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
mergeIdstringSim

Parâmetros da consulta

CampoTipoObrigatórioObservações
fieldstringSimmax length 120 · pattern ^[A-Za-z]+(\.[\w-]+)?$

Resposta

13 campos
CampoTipoSempre presente
entriesarray of objectSim
entries[].changedAtstring (date-time)Sim
entries[].changedByobjectSim
entries[].changedBy.idstring (uuid)Sim
entries[].changedBy.namestringSim
entries[].idstring (uuid)Sim
entries[].newLabelnull nos exemplosSim
entries[].newValuestringSim
entries[].oldLabelnull nos exemplosSim
entries[].oldValuestringSim
fieldstringSim
limitintegerSim
totalintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/contacts/{id}/merges/{mergeId}/history" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "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

Lista as tags de contatos, com quantos contatos cada uma tem.

ListarEm caso de sucesso: 200.Permissão: Ler.

Resposta

5 campos
CampoTipoSempre presente
[].colorstringSim
[].contactCountintegerSim
[].createdAtstring (date-time)Sim
[].idstring (uuid)Sim
[].namestringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/tags" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

[
  {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "color": "…",
    "createdAt": "2026-11-21T14:00:00.000Z",
    "contactCount": 1
  }
]

POST/v1/tags

Cria uma tag.

CriarEm caso de sucesso: 201.Permissão: Criar.

Corpo

CampoTipoObrigatórioObservações
namestringSimmin length 1 · max length 50
color"gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink"Nãodefault "gray"

Resposta

5 campos
CampoTipoSempre presente
colorstringSim
contactCountintegerSim
createdAtstring (date-time)Sim
idstring (uuid)Sim
namestringSim
Exemplo
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"
}'

Resposta (201), com valores de exemplo:

{
  "color": "…",
  "contactCount": 1,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "name": "Ana Lima"
}

DELETE/v1/tags/{id}

Exclui uma tag, tirando-a dos contatos.

ExcluirEm caso de sucesso: 204.Permissão: Excluir.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
Exemplo
curl -X DELETE "https://api.firmado.app/v1/tags/{id}" \
  -H "X-Api-Key: fmd_..."

PATCH/v1/tags/{id}

Renomeia uma tag ou troca sua cor.

AtualizarEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
namestringNãomin length 1 · max length 50
color"gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink"Não

Resposta

5 campos
CampoTipoSempre presente
colorstringSim
contactCountintegerSim
createdAtstring (date-time)Sim
idstring (uuid)Sim
namestringSim
Exemplo
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"
}'

Resposta (200), com valores de exemplo:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "name": "Ana Lima",
  "color": "…",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "contactCount": 1
}

POST/v1/tags/{id}/contacts

Coloca uma tag em contatos.

Atualizar/{id}/contactsEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
contactIdsarray of string (uuid)Simmin items 1 · max items 500

Resposta

3 campos
CampoTipoSempre presente
addedintegerSim
alreadyintegerSim
fullintegerSim
Exemplo
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"
  ]
}'

Resposta (200), com valores de exemplo:

{
  "added": 1,
  "already": 1,
  "full": 1
}

POST/v1/tags/{id}/contacts/remove

Tira uma tag de contatos.

Atualizar/{id}/contacts/removeEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
contactIdsarray of string (uuid)Simmin items 1 · max items 500

Resposta

1 campo
CampoTipoSempre presente
removedintegerSim
Exemplo
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"
  ]
}'

Resposta (200), com valores de exemplo:

{
  "removed": 1
}

Eventos de webhook

Mudanças desta funcionalidade que os webhooks podem enviar.

  • contact.createdCriar
  • contact.updatedAtualizar
  • contact.deletedExcluir
  • contact.mergedAtualizar