Master data — every person and company in the project. kind is
people or companies. A row has two ids: id (the master id, used
by lists and campaigns) and entity_id (the record id, used by every
/entities/{id} endpoint, activity and tasks).
Search people or companies
Paged rows of every person or company in the project, with their columns.
Filter with search, list_id, f_<column>=<value> (any column, exact
match, e.g. f_country=Germany) or the encoded filter (see
Filters).
Structured filters (CRM 0.154.0): filters is a JSON array of
{field, op, value} on any column slug (custom columns, created_at and
updated_at too), all of which must hold; any_of is a JSON array of
groups (each an array of conditions that all hold), of which any one must
hold. Ops: eq, neq, in, not_in, contains, not_contains,
contains_any, not_contains_any, contains_all, starts_with,
ends_with, gt, gte, lt, lte, between ([low, high]),
is_empty, not_empty. Text compares case-insensitively; dates are
YYYY-MM-DD. An unknown field, or an op the column's type has no meaning
for, is a 400 naming it — never ignored.
fields=email,title answers slim rows: id, entity_id and those
columns only, without the per-row lists, stage and flags.
path Parameters
kindquery Parameters
searchFree text over the row.
list_idOnly members of this list.
membershipsortA column slug, or created_at.
orderpagelimitfilterAn encoded filter — see Filters.
assignedOnly contacts assigned to this team member id (me for yourself, in a team).
filtersJSON array of {field, op, value}, ANDed, e.g. [{"field":"email_status","op":"eq","value":"Verified"}]
any_ofJSON array of groups of conditions; a row matches when any group holds
in_list_idsComma-separated list ids: only rows in at least one.
exclude_list_idsComma-separated list ids: skip rows in any of them.
fieldsComma-separated column slugs: slim rows.
strictAn unknown sort is a 400 instead of the newest-first default.
Headers
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Search people or companies › Responses
One page of rows.
kindtotalpagelimittotal_pagesCreate a person or company
values maps column slugs (from List columns)
to values. At least one value is required. The answer carries both ids.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Create a person or company › Responses
Created.
idMaster id.
entity_idRecord id.
created_atupdated_atCount people or companies, per value of a column
How many rows match, with the same filters as Search
(search, list_id, filter, filters, any_of, in_list_ids, exclude_list_ids).
With group_by: the count per value of that column, most common first; value: null is
"no value". split=1 counts each comma-separated part (departments, keywords). CRM 0.154.0.
path Parameters
kindquery Parameters
group_byA column slug.
topsplitfiltersany_ofin_list_idsexclude_list_idssearchlist_idHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Count people or companies, per value of a column › Responses
The counts.
kindtotalgroup_bydistinct_valuesList columns
Every column of people or companies — the slugs to use in values, field_values, f_… and filters.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
List columns › Responses
The columns.
kindAdd custom columns
All matching master ids
The master ids of every row matching the same query as Search (no paging) — for "select all" then a bulk action.
path Parameters
kindquery Parameters
searchlist_idfilterAn encoded filter — see Filters.
assignedOnly contacts assigned to this team member id (me for yourself, in a team).
Headers
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
All matching master ids › Responses
The ids.
Search people, slim
Search people and get back only id (master id), name, email,
company and title — the shape a contact picker needs. Takes the
same search, list_id, filter, sort, order and page as
List people; limit defaults to 50 (at most 200). kind must be
people (companies → 400).
path Parameters
kindquery Parameters
searchlist_idOnly members of this list.
filterAn encoded filter — see Filters.
pagelimitHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Search people, slim › Responses
The matching people, slim.
Look up people by master id
Name, email and ids of the given people (kind must be people).
Up to 500 ids are answered; truncated says when more were sent.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Look up people by master id › Responses
{ contacts, requested, truncated }.
Count missing locations
How many people (or companies) in the project have no timezone, country or state.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Count missing locations › Responses
The total and how many lack each value.
totaltimezonecountrystateSet timezone, country or state in bulk
Sets a timezone, country and/or state on many rows. Name the rows with
exactly one of master_ids, entity_ids, list_id or all: true —
nothing named is a 400, never "every row". With only_missing: true
only blank values are filled. The timezone must be a real IANA zone
(Europe/Berlin).
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Set timezone, country or state in bulk › Request Body
master_idsentity_idslist_idalltrue to change every row of the project.
timezonecountrystateonly_missingSet timezone, country or state in bulk › Responses
How many rows changed.
Delete people or companies
Deletes the rows and their records, activity and tasks. Cannot be
undone. Give master_ids or entity_ids, or all: true for every row.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Delete people or companies › Responses
{ deleted } — how many were deleted.
Import rows
Import a chunk of rows (the CSV import's engine). Each row is an object
of source column → value; column_mapping maps source columns to
column slugs. Existing people/companies are matched by their unique
key (email, domain …) and updated or skipped by overwrite_existing.
Send large files in chunks of a few hundred rows.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Import rows › Request Body
source column → column slug
overwrite_existingadd_to_list_idPut every imported row in this list.
row_listsOne entry per row (null or [] = none): more lists that
row goes into, e.g. the WhatsApp group lists from
POST /whatsapp-lists. Every id must be a list of this project.
sourceA label for where the rows came from.
Import rows › Responses
{ inserted, updated, skipped, kept, untouched, … }.
Check rows for duplicates
Before an import — which rows already exist, and which would change.
Headers
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Check rows for duplicates › Request Body
kindRows keyed by column slug.
Check rows for duplicates › Responses
{ kind, checked, matched, conflicted, unchanged, unkeyed, … }.
Merge people
Merge 2–20 people into one (kind must be people). The same engine as the Merge button.
path Parameters
kindHeaders
X-Entayo-ProjectThe project to work in (List projects → id). Left out → Default. Not yours → 404 project_not_found.
Merge people › Request Body
keep_master_idThe person to keep.
merge_master_idsThe people merged into it (1–19).
keep_entity_idOr by record id.
merge_entity_idspreviewtrue → only show the candidates (send master_ids or entity_ids); nothing is merged.
master_idsentity_idsMerge people › Responses
The merge result (or, with preview, the candidates).