People

Search people

POST
https://api.searchsoftware.nl/v4/records/people/search

Searches person records in the shared records index. Requires people:read. The server always applies an immutable type contains_exact person filter before caller filters and excludes permanently deleted records; archived and deleted (status delete) records are included unless you filter on status.

All request fields are optional. Blank or omitted query defaults to *; omitted limit defaults to 10 and is clamped to 1-200; negative offset clamps to 0; omitted sort defaults to created_at desc; omitted objects defaults to false. Caller filters are additional constraints and cannot replace the server-owned type scope.

OAuth tokens of non-manager users only see records they can open in the app. count is exact once the records index has been rebuilt after impl-spec-1661; until then it may overstate matches.

Filtering

filters is an array of filter groups. Groups are ANDed with each other and with the server's own scope (this record type; permanently deleted records excluded). Inside a group, op combines the clauses: and, or, or not (true when not all clauses match, i.e. NOT of their AND).

Clause opValueUse for
eq / not_eqstring, integerexact, case-sensitive whole value; references, enums, select options
containsstringwhole-word, case-insensitive text match; several words match any of them
contains_exactstring tokenone element of an array field (types, multiple select, one_to_many, contacts, lists, categories, sources)
gt / gte / lt / lteRFC 3339 timestamp, YYYY-MM-DD day, integerranges on dates, days and counts
between[low, high] (low ≤ high)inclusive range on the same values
exists / not_existsomit valuethe attribute is present / absent

Rules:

  • field is an attribute name exactly as the record's attributes returns it; custom fields use their slug. Do not prefix with meta..
  • Timestamps need a full RFC 3339 value (2026-01-01T00:00:00Z); a bare date on a timestamp field matches nothing.
  • Records with status archived or delete are included unless you filter on status.
  • Empty custom fields may be stored as an empty string, which exists matches. To require a value, put exists and not_eq "" in one and group.
  • Clauses on type, unknown group ops and unknown clause ops are ignored, not rejected. A request whose groups are all ignored searches without filters.
  • A field no record has matches nothing; not_exists on it matches everything.
  • sort accepts at most one entry; more than one is rejected. Sort on any attribute name, asc or desc.
  • query: plain words match any word; a word ending in * is a required prefix. Use * (or omit it) to match all records and rely on filters.
  • near (people, companies, jobs): {"place": "Amsterdam", "radius_km": 40} or {"lat": 52.37, "lng": 4.9, "radius_km": 40}, 1 to 500 km. Results come nearest first unless sort is given, each with distance_km. A place is resolved from this workspace's own addresses; 422 PLACE_NOT_FOUND asks for coordinates, and 503 PLACE_LOOKUP_FAILED means the lookup itself failed (retry). Only the primary location counts, and an address without coordinates is placed at its city's centre.
  • document_query (people, companies, jobs): a keyword that must be in the record's document text (a person's parsed CV, the primary document of a company or job). At most 200 matching records are considered (document_matches_truncated).

Fields

FieldKindRecommended opsValue
nametextcontains, eq, not_eq, exists, not_existsstring
statusenumeq, not_eqnormal, archived, delete
created_at, updated_at, assigned_at, status_changed_attimestampgte, gt, lt, lte, between, exists, not_existsRFC 3339
assigned_to, assigned_by, created_byuser referenceeq, not_eq, exists, not_existsuser SqID
image_id, primary_document_idimage / file referenceeq, exists, not_existsSqID
image_urltextexists, not_existsstring
typestype tokens (array)contains_exact, exists, not_existsperson_type:<sqid>
access_level_idaccess level referenceeq, not_eq, exists, not_existsSqID
linkedin_url, github_url, twitter_url, facebook_url, instagram_urltext (URL, from bookmarks)contains, eq, not_eq, exists, not_existsstring; exists / not_exists test whether the record has one
email_address, phone_number, address, current_company, current_position, gendertextcontains, eq, not_eq, exists, not_existsstring
birthdatecalendar dayeq, not_eq, gt, gte, lt, lte, between, exists, not_existsYYYY-MM-DD
relevant_career_experience_start_attimestampgte, gt, lt, lte, between, exists, not_existsRFC 3339
workflow_idworkflow referenceeq, not_eq, exists, not_existsworkflow SqID
workflow_phase_status, workflow_stage_statusenumeq, not_eq, exists, not_existsphase / stage name, exact case (see GET /v4/workflows/phases and GET /v4/workflows/stages)
workflow_phase_status_changed_attimestampgte, gt, lt, lte, between, exists, not_existsRFC 3339
aliasalias strings (array)contains_exact, exists, not_existsone alias, exact whole value; query also matches aliases
city, state, country_codetext (primary location)contains, eq, not_eq, exists, not_existsstring; eq is the exact whole value (country_code is upper case, e.g. NL; state is the location's region), contains matches a word
gdpr_statusenumeq, not_eq, exists, not_existspermok, permreq, permno, novalue (no status set)
gdpr_status_changed_at, gdpr_expires_attimestampgte, gt, lt, lte, between, exists, not_existsRFC 3339; gdpr_expires_at is the status date plus the workspace's retention days (re-sync after changing them)
listslist tokens (array)contains_exact, exists, not_existslist:<sqid> (see GET /v4/lists)
sourcessource tokens (array)contains_exact, exists, not_existssource:<sqid> (see GET /v4/sources)
categoriescategory tokens (array)contains_exact, exists, not_existscategory:<sqid> (see GET /v4/categories)

Custom fields

Custom fields are filtered by slug. The field's type decides the value:

Custom field typeRecommended opsValue
text, string, markdown/html text (indexed as plain text)contains, eq, not_eq, exists, not_existsstring
number (stored as text)eq, not_eq, exists, not_existsstring, e.g. "42"; no ranges
dategte, gt, lt, lte, between, exists, not_existsRFC 3339
booleaneq"1" for true; for "not true" use a not group with eq "1"
single selecteq, not_eq, exists, not_existscustom_field_option:<sqid>
multiple selectcontains_exact, exists, not_existscustom_field_option:<sqid>
relationship, one_to_oneeq, not_eq, exists, not_exists<type>:<sqid>, e.g. person:Xy3
relationship, one_to_manycontains_exact, exists, not_exists<type>:<sqid>

Option ids: send "objects": true once to get data.objects with custom_field_option:<sqid> labels.

Body

application/json
querystring

Search query. Blank or omitted values default to *.

Example
*
limitinteger<int32>

Maximum results. Defaults to 10 and is clamped to 1-200.

Example
10
offsetinteger<int32>

Zero-based offset. Defaults to 0 and negative values clamp to 0.

Example
0

Additional filter groups ANDed with the immutable server-owned type scope.

Show child attributes
opstringandornotrequired

How the clauses combine: and, or, or not (NOT of the AND of its clauses). Groups are ANDed together. An unknown op drops the whole group.

Example
and

One or more clauses. A group whose clauses are all dropped is ignored.

Show child attributes
fieldstringrequired

Attribute name as returned in the record's attributes (custom fields by slug). No meta. prefix. Clauses on type are ignored.

Example
status
opstringeqnot_eqgtgteltltebetweenexistsnot_existscontainscontains_exactrequired

Clause operator. Unknown operators are ignored (the clause is dropped), not rejected.

Example
eq
valueany

String, integer, or a two-element [low, high] array for between. Omit for exists / not_exists. Timestamps are full RFC 3339 values.

Example
normal

At most one entry; more than one is rejected. Empty or omitted defaults to created_at desc, or nearest first with near.

Show child attributes
fieldstringrequired

Attribute name to sort on.

Example
created_at
directionstringascdescrequired
Example
desc
objectsboolean

Include hydrated object summaries in top-level data.objects when true. Defaults to false. File summaries (file:<sqid>) carry a url: a download URL that works without authentication until it expires, between 12 and 13 hours after the response. Request the record again for a fresh one.

Example
false
Show child attributes
placestring

A city name, resolved from this workspace's own located addresses (the average of their coordinates). 422 PLACE_NOT_FOUND when none is located there; pass lat and lng instead. 503 PLACE_LOOKUP_FAILED when the lookup itself fails (retry, or pass lat and lng).

Example
Amsterdam
latnumber<float>

Latitude, with lng, in place of place.

Example
52.37
lngnumber<float>

Longitude, with lat.

Example
4.9
radius_kmnumber<float>required

1 to 500 kilometres.

Example
40
document_querystring

People, companies and jobs: a keyword that must appear in the record's document text (a person's parsed CV; the primary document of other records). At most 200 matching records are considered; data.document_matches_truncated says when there were more. Document text needs files:read, and through the MCP server the workspace's document text setting (403 DOCUMENT_TEXT_DISABLED).

Example
AutoCAD

Response

Record search results

Response fields application/json
statusstringrequired
Example
ok
dataRecordSearchDatarequired
Show child attributes
countinteger<int32>required
Example
1
resultsArray<RecordSearchHit>required
Show child attributes
idstringrequired

Public SqID stored in the index fields.

Example
encoded-record-sqid
scorenumber<float>required
Example
0.75
attributesobjectrequired

The record's indexed attributes (the same names you filter on). Populated multivalue attributes are arrays of strings; unset and empty multivalue attributes are omitted.

Show child attributes
[key: string]any
distance_kmnumber<float>

Only with near: kilometres from its centre, one decimal.

Example
3.4
objectsobject

Optional hydrated object summaries keyed by object reference token, included only when request.objects is true.

Show child attributes
[key: string]any
document_matches_truncatedboolean

Only with document_query, and only when true: more records matched the keyword than the 200 considered. Narrow the keyword or add filters.

Example
true
400Bad RequestErrorResponse

Invalid request body

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_BODY",
    "status_code": 400,
    "message": "Invalid request body"
  }
}
401UnauthorizedErrorResponse

Invalid API key

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_API_KEY",
    "status_code": 401,
    "message": "Invalid API key"
  }
}
403ForbiddenErrorResponse

Insufficient scope

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "FORBIDDEN",
    "status_code": 403,
    "message": "Insufficient scope"
  }
}
422Unprocessable EntityErrorResponse

Validation error

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "VALIDATION_FAILED",
    "status_code": 422,
    "message": "Validation failed"
  }
}
500Internal Server ErrorErrorResponse

Internal server error

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INTERNAL_ERROR",
    "status_code": 500,
    "message": "Internal server error"
  }
}

Authorization

bearer_authhttp (bearer) in header

API key or OAuth access token in Authorization header

Scopes: people:read

oauth2_authoauth2

OAuth authorization code flow with mandatory S256 PKCE.

Scopes: people:read

apikey_authapiKey in query

API key in query string

Scopes: people:read