Lists

Manual and smart lists of contacts, imports and exports.

Values for the examples

Type them once and every example on this page uses them. The API key stays on this page only and is never saved.

GET/v1/lists

Lists the contact lists.

ListOn success: 200.Permission: Read.

Example
curl -X GET "https://api.firmado.app/v1/lists" \
  -H "X-Api-Key: fmd_..."

POST/v1/lists

Creates a list: manual, or smart from filters.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
namestringYesmin length 1 · max length 100
descriptionstring | nullNo
color"gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink"Nodefault "gray"
kind"manual" | "smart"Yes
filtersobjectNo
filters.lifecycleStagesarray of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other"Nomax items 10
filters.leadStatusesarray of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified"Nomax items 10
filters.ownerIdsarray of stringNomax items 50
filters.companyIdsarray of string (uuid)Nomax items 50
filters.tagIdsarray of string (uuid)Nomax items 50
filters.sourcesarray of stringNomax items 20
filters.hasEmailbooleanNo
filters.hasPhonebooleanNo
filters.marketingOptInbooleanNo
filters.createdFromstring (date)No
filters.createdTostring (date)No
filters.customarray of objectNomax items 10
filters.custom[].keystringYesmin length 1 · max length 64
filters.custom[].op"equals" | "isSet" | "isNotSet"Yes
filters.custom[].valuestring | number | booleanNo
addMatchingobjectNo
addMatching.lifecycleStagesarray of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other"Nomax items 10
addMatching.leadStatusesarray of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified"Nomax items 10
addMatching.ownerIdsarray of stringNomax items 50
addMatching.companyIdsarray of string (uuid)Nomax items 50
addMatching.tagIdsarray of string (uuid)Nomax items 50
addMatching.sourcesarray of stringNomax items 20
addMatching.hasEmailbooleanNo
addMatching.hasPhonebooleanNo
addMatching.marketingOptInbooleanNo
addMatching.createdFromstring (date)No
addMatching.createdTostring (date)No
addMatching.customarray of objectNomax items 10
addMatching.custom[].keystringYesmin length 1 · max length 64
addMatching.custom[].op"equals" | "isSet" | "isNotSet"Yes
addMatching.custom[].valuestring | number | booleanNo

Response

17 fields
FieldTypeAlways there
colorstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
filtersobjectYes
filters.lifecycleStagesarray of stringNo
filters.tagIdsarray of string (uuid)No
idstring (uuid)Yes
kindstringYes
limitintegerYes
matchingCountintegerYes
memberCountintegerYes
namestringYes
organizationIdstring (uuid)Yes
pausedbooleanYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/lists" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "kind": "manual",
  "description": "…",
  "color": "gray"
}'

Response (201), with sample values:

{
  "color": "…",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "filters": {
    "lifecycleStages": [
      "…"
    ],
    "tagIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ]
  },
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "kind": "…",
  "limit": 1,
  "matchingCount": 1,
  "memberCount": 1,
  "name": "Ana Lima",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paused": true,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}

DELETE/v1/lists/{id}

Deletes a list; its contacts stay.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/lists/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/lists/{id}

Returns a list with its filters and size.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

15 fields
FieldTypeAlways there
colorstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
filtersobjectYes
idstring (uuid)Yes
kindstringYes
limitintegerYes
matchingCountintegerYes
memberCountintegerYes
namestringYes
organizationIdstring (uuid)Yes
pausedbooleanYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X GET "https://api.firmado.app/v1/lists/{id}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "color": "…",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "filters": {},
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "kind": "…",
  "limit": 1,
  "matchingCount": 1,
  "memberCount": 1,
  "name": "Ana Lima",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "paused": true,
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}

PATCH/v1/lists/{id}

Changes a list’s name or filters.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
namestringNomin length 1 · max length 100
descriptionstring | nullNo
color"gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink"Nodefault "gray"
filtersobjectNo
filters.lifecycleStagesarray of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other"Nomax items 10
filters.leadStatusesarray of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified"Nomax items 10
filters.ownerIdsarray of stringNomax items 50
filters.companyIdsarray of string (uuid)Nomax items 50
filters.tagIdsarray of string (uuid)Nomax items 50
filters.sourcesarray of stringNomax items 20
filters.hasEmailbooleanNo
filters.hasPhonebooleanNo
filters.marketingOptInbooleanNo
filters.createdFromstring (date)No
filters.createdTostring (date)No
filters.customarray of objectNomax items 10
filters.custom[].keystringYesmin length 1 · max length 64
filters.custom[].op"equals" | "isSet" | "isNotSet"Yes
filters.custom[].valuestring | number | booleanNo

Response

20 fields
FieldTypeAlways there
colorstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
filtersobjectYes
filters.customarray of objectNo
filters.custom[].keystringYes
filters.custom[].opstringYes
filters.custom[].valuestringNo
filters.hasEmailbooleanNo
idstring (uuid)Yes
kindstringYes
limitintegerYes
matchingCountintegerYes
memberCountintegerYes
namestringYes
organizationIdstring (uuid)Yes
pausedbooleanYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X PATCH "https://api.firmado.app/v1/lists/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "description": "…",
  "color": "gray",
  "filters": {
    "lifecycleStages": [
      "subscriber"
    ],
    "leadStatuses": [
      "new"
    ],
    "ownerIds": [
      "…"
    ],
    "companyIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ]
  }
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "name": "Ana Lima",
  "description": null,
  "color": "…",
  "kind": "…",
  "filters": {
    "custom": [
      {}
    ],
    "hasEmail": true
  },
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "memberCount": 1,
  "matchingCount": 1,
  "limit": 1,
  "paused": true
}

POST/v1/lists/{id}/convert

Turns a smart list into a manual one with the contacts it matches now.

Update/{id}/convertOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

15 fields
FieldTypeAlways there
colorstringYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
descriptionnull in the examplesYes
filtersobjectYes
idstring (uuid)Yes
kindstringYes
limitintegerYes
matchingCountintegerYes
memberCountintegerYes
namestringYes
organizationIdstring (uuid)Yes
pausedbooleanYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/lists/{id}/convert" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "name": "Ana Lima",
  "description": null,
  "color": "…",
  "kind": "…",
  "filters": {},
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "memberCount": 1,
  "matchingCount": 1,
  "limit": 1,
  "paused": true
}

GET/v1/lists/{id}/export

Downloads a list’s contacts as a CSV file.

Read/{id}/exportOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X GET "https://api.firmado.app/v1/lists/{id}/export" \
  -H "X-Api-Key: fmd_..."

POST/v1/lists/{id}/import

Imports up to 500 spreadsheet rows into a list, creating or updating contacts.

Update/{id}/importOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
rowsarray of objectYesmin items 1 · max items 500
rows[].emailstringYesmax length 320
rows[].firstNamestring | nullNo
rows[].lastNamestring | nullNo
rows[].phonestring | nullNo
rows[].jobTitlestring | nullNo
rows[].sourcestring | nullNo

Response

22 fields
FieldTypeAlways there
addedintegerYes
createdintegerYes
errorsarray of objectYes
errors[].codestringYes
errors[].rowintegerYes
listobjectYes
list.colorstringYes
list.createdAtstring (date-time)Yes
list.createdBystring (uuid)Yes
list.descriptionnull in the examplesYes
list.filtersobjectYes
list.idstring (uuid)Yes
list.kindstringYes
list.limitintegerYes
list.matchingCountintegerYes
list.memberCountintegerYes
list.namestringYes
list.organizationIdstring (uuid)Yes
list.pausedbooleanYes
list.updatedAtstring (date-time)Yes
list.updatedBystring (uuid)Yes
matchedintegerYes
Example
curl -X POST "https://api.firmado.app/v1/lists/{id}/import" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "rows": [
    {
      "email": "[email protected]",
      "firstName": "Ana",
      "lastName": "Lima",
      "phone": "…"
    }
  ]
}'

Response (200), with sample values:

{
  "added": 1,
  "created": 1,
  "errors": [
    {
      "row": 1,
      "code": "…"
    }
  ],
  "list": {
    "color": "…",
    "createdAt": "2026-11-21T14:00:00.000Z",
    "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "description": null,
    "filters": {},
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "kind": "…",
    "limit": 1,
    "matchingCount": 1,
    "memberCount": 1,
    "name": "Ana Lima",
    "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "paused": true,
    "updatedAt": "2026-11-21T14:00:00.000Z",
    "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  },
  "matched": 1
}

GET/v1/lists/{id}/members

Lists a list’s contacts.

Read/{id}/membersOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Query parameters

FieldTypeRequiredNotes
pageintegerNomin 1 · default 1
pageSizeintegerNomin 1 · max 100 · default 50
qstringNomin length 1 · max length 200

Response

20 fields
FieldTypeAlways there
dataarray of objectYes
data[].addedAtstring | nullYes
data[].companyNamenull in the examplesYes
data[].createdAtstring (date-time)Yes
data[].emailstring | null (email)Yes
data[].firstNamestringYes
data[].idstring (uuid)Yes
data[].jobTitlenull in the examplesYes
data[].lastNamestring | nullYes
data[].leadStatusnull in the examplesYes
data[].lifecycleStagestring | nullYes
data[].marketingOptInbooleanYes
data[].ownerIdstring | null (uuid)Yes
data[].ownerNamestring | nullYes
data[].phonestring | nullYes
data[].sourcestring | nullYes
data[].tagsstring | nullYes
pageintegerYes
pageSizeintegerYes
totalintegerYes
Example
curl -X GET "https://api.firmado.app/v1/lists/{id}/members" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "data": [
    {
      "addedAt": "…",
      "companyName": null,
      "createdAt": "2026-11-21T14:00:00.000Z",
      "email": "[email protected]",
      "firstName": "Ana",
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "jobTitle": null,
      "lastName": "Lima",
      "leadStatus": null,
      "lifecycleStage": "…",
      "marketingOptIn": true,
      "ownerId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "ownerName": "Ana Lima",
      "phone": "…",
      "source": "…",
      "tags": "…"
    }
  ],
  "page": 1,
  "pageSize": 1,
  "total": 1
}

POST/v1/lists/{id}/members

Adds contacts to a manual list.

Update/{id}/membersOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
contactIdsarray of string (uuid)Yesmin items 1 · max items 1000

Response

18 fields
FieldTypeAlways there
addedintegerYes
alreadyInListintegerYes
listobjectYes
list.colorstringYes
list.createdAtstring (date-time)Yes
list.createdBystring (uuid)Yes
list.descriptionnull in the examplesYes
list.filtersobjectYes
list.idstring (uuid)Yes
list.kindstringYes
list.limitintegerYes
list.matchingCountintegerYes
list.memberCountintegerYes
list.namestringYes
list.organizationIdstring (uuid)Yes
list.pausedbooleanYes
list.updatedAtstring (date-time)Yes
list.updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/lists/{id}/members" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "contactIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ]
}'

Response (200), with sample values:

{
  "added": 1,
  "alreadyInList": 1,
  "list": {
    "color": "…",
    "createdAt": "2026-11-21T14:00:00.000Z",
    "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "description": null,
    "filters": {},
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "kind": "…",
    "limit": 1,
    "matchingCount": 1,
    "memberCount": 1,
    "name": "Ana Lima",
    "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "paused": true,
    "updatedAt": "2026-11-21T14:00:00.000Z",
    "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  }
}

POST/v1/lists/{id}/members/bulk

Changes the owner, lifecycle stage or lead status of a list’s contacts.

Update/{id}/members/bulkOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
contactIdsarray of string (uuid)Yesmin items 1 · max items 500
setobjectYes
set.ownerIdstring | nullNo
set.lifecycleStage"subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other" | nullNo
set.leadStatus"new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified" | nullNo

Response

1 field
FieldTypeAlways there
updatedintegerYes
Example
curl -X POST "https://api.firmado.app/v1/lists/{id}/members/bulk" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "contactIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ],
  "set": {
    "ownerId": "…",
    "lifecycleStage": "subscriber",
    "leadStatus": "new"
  }
}'

Response (200), with sample values:

{
  "updated": 1
}

POST/v1/lists/{id}/members/remove

Removes contacts from a manual list.

Update/{id}/members/removeOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
contactIdsarray of string (uuid)Yesmin items 1 · max items 1000

Response

17 fields
FieldTypeAlways there
listobjectYes
list.colorstringYes
list.createdAtstring (date-time)Yes
list.createdBystring (uuid)Yes
list.descriptionnull in the examplesYes
list.filtersobjectYes
list.idstring (uuid)Yes
list.kindstringYes
list.limitintegerYes
list.matchingCountintegerYes
list.memberCountintegerYes
list.namestringYes
list.organizationIdstring (uuid)Yes
list.pausedbooleanYes
list.updatedAtstring (date-time)Yes
list.updatedBystring (uuid)Yes
removedintegerYes
Example
curl -X POST "https://api.firmado.app/v1/lists/{id}/members/remove" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "contactIds": [
    "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
  ]
}'

Response (200), with sample values:

{
  "removed": 1,
  "list": {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "name": "Ana Lima",
    "description": null,
    "color": "…",
    "kind": "…",
    "filters": {},
    "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "createdAt": "2026-11-21T14:00:00.000Z",
    "updatedAt": "2026-11-21T14:00:00.000Z",
    "memberCount": 1,
    "matchingCount": 1,
    "limit": 1,
    "paused": true
  }
}

GET/v1/lists/for-contact/{contactId}

The lists a contact is in.

Read/for-contact/{contactId}On success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
contactIdstringYes

Response

4 fields
FieldTypeAlways there
[].colorstringYes
[].idstring (uuid)Yes
[].kindstringYes
[].namestringYes
Example
curl -X GET "https://api.firmado.app/v1/lists/for-contact/{contactId}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

[
  {
    "color": "…",
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "kind": "…",
    "name": "Ana Lima"
  }
]

POST/v1/lists/preview

How many contacts some filters match now; changes nothing.

Read/previewOn success: 200.Permission: Read.

Body

FieldTypeRequiredNotes
filtersobjectNo
filters.lifecycleStagesarray of "subscriber" | "lead" | "opportunity" | "customer" | "evangelist" | "other"Nomax items 10
filters.leadStatusesarray of "new" | "open" | "in_progress" | "connected" | "qualified" | "unqualified"Nomax items 10
filters.ownerIdsarray of stringNomax items 50
filters.companyIdsarray of string (uuid)Nomax items 50
filters.tagIdsarray of string (uuid)Nomax items 50
filters.sourcesarray of stringNomax items 20
filters.hasEmailbooleanNo
filters.hasPhonebooleanNo
filters.marketingOptInbooleanNo
filters.createdFromstring (date)No
filters.createdTostring (date)No
filters.customarray of objectNomax items 10
filters.custom[].keystringYesmin length 1 · max length 64
filters.custom[].op"equals" | "isSet" | "isNotSet"Yes
filters.custom[].valuestring | number | booleanNo

Response

3 fields
FieldTypeAlways there
limitintegerYes
matchingCountintegerYes
memberCountintegerYes
Example
curl -X POST "https://api.firmado.app/v1/lists/preview" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "filters": {
    "lifecycleStages": [
      "subscriber"
    ],
    "leadStatuses": [
      "new"
    ],
    "ownerIds": [
      "…"
    ],
    "companyIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ]
  }
}'

Response (200), with sample values:

{
  "matchingCount": 1,
  "memberCount": 1,
  "limit": 1
}

Webhook events

Changes of this feature that webhooks can send.

  • list.createdCreate
  • list.updatedUpdate
  • list.members_addedUpdate
  • list.members_removedUpdate
  • list.deletedDelete