---
title: "Search people"
method: POST
path: "/v1/{account_id}/search/people"
tags: ["Search"]
---

# Search people

`POST /v1/{account_id}/search/people`

## Request

- Base URL: `https://api.curviate.com`
- URL: `https://api.curviate.com/v1/{account_id}/search/people`
- Auth: HTTP bearer

Searches LinkedIn profiles using structured filters. To search from a pasted LinkedIn search URL instead, use POST .../search. limit/cursor/offset live in query params; filters in the request body.

## Path parameters

- `account_id` string, required

## Query parameters

- `offset` integer
- `limit` integer
- `cursor` string

## Request body

- object
  - `keywords` string: Full-text keyword search across all profile fields.
  - `advanced_keywords` object: Keyword filters scoped to specific profile fields (first_name, last_name, title, company, school).
    - `first_name` string: Filter by first name.
    - `last_name` string: Filter by last name.
    - `title` string: Filter by job title.
    - `company` string: Filter by current company name.
    - `school` string: Filter by school name.
  - `industry` string[]: Opaque industry IDs from GET .../search/parameters?type=INDUSTRY.
  - `location` string[]: Opaque location IDs from GET .../search/parameters?type=LOCATION.
  - `current_company` string[]: Opaque current company IDs from GET .../search/parameters?type=COMPANY.
  - `past_company` string[]: Opaque past company IDs from GET .../search/parameters?type=COMPANY.
  - `school` string[]: Opaque school IDs from GET .../search/parameters?type=SCHOOL.
  - `service` string[]: Opaque service IDs from GET .../search/parameters?type=SERVICE.
  - `connections_of` string[]: Filter to connections of the given members. Array of opaque member IDs from GET .../search/parameters?type=RELATION.
  - `followers_of` string[]: Filter to followers of the given members. Array of opaque member IDs from GET .../search/parameters?type=PEOPLE.
  - `network_distance` number[]: Filter by network distance: 1 = 1st degree, 2 = 2nd degree, 3 = 3rd degree.
  - `profile_language` string[]: Filter by profile language codes.
  - `open_to_volunteering` boolean: Filter to profiles open to volunteering opportunities.

## Response `200`

A page of people matching the filters. Each item carries the LinkedIn id, name, headline, location, and connection distance when available, plus a visibility field that says whether the result names someone you can act on. LinkedIn does not disclose every profile to every viewer: which ones it discloses depends on the connected LinkedIn account's own subscription level, so a page can contain results that carry no identity and cannot be read back. Those come back with visibility hidden, and notices[] summarises the page.

- object
  - `object` 'people_search_result', required: Response type discriminator.
  - `items` object[], required: People search result items.
    - `id` string, required: Opaque LinkedIn member URN for this person (e.g. ACoAA...).
    - `member_id` string: Numeric LinkedIn member id, distinct from id. Present when available.
    - `public_identifier` string: LinkedIn public identifier (the slug after linkedin.com/in/). Present when available.
    - `full_name` string: Full display name. Present when available.
    - `headline` string: LinkedIn headline. Present when available.
    - `location` string: Location as set on the profile. Present when available.
    - `avatar_url` string: Profile picture URL. Present when available.
    - `profile_picture_url_large` string: Larger profile picture URL variant. Present when available.
    - `profile_url` string: LinkedIn profile URL. Present when available.
    - `network_distance` 'SELF' | 'FIRST_DEGREE' | 'SECOND_DEGREE' | 'THIRD_DEGREE' | 'OUT_OF_NETWORK': Connection distance to the authenticated account. Present when available.
    - `is_premium` boolean: true if this is a LinkedIn Premium account. Present when available.
    - `is_verified` boolean: true if the account is verified. Present when available.
    - `visibility` 'full' | 'hidden', required: Whether this result names someone you can act on. Always present, on both values. full: the result carries a resolvable identity, so you can read the profile and reach the person. hidden: LinkedIn did not disclose this person to the connected account, so the result carries no public_identifier and no member_id, its name is a placeholder rather than a real one, and reading it back returns 403. The cause is the connected LinkedIn account's own subscription level, which decides which profiles it is allowed to identify; it is not an error in your request. A page can be entirely hidden, so count the full results rather than the size of the page, and see notices[] for a page-level summary.
  - `paging` object, required: Paging metadata.
    - `total_count` number, nullable, required: Always null on people search. LinkedIn does not report how many people match, so there is no total to page toward; walk the pages with cursor until it comes back null. A short or empty page is not the end: only a null cursor is.
  - `cursor` string, nullable, required: Opaque next-page cursor; null on the last page.
  - `notices` object[]: Present only when there is something to report about this page. Each entry names a condition that is true of the response but not visible in it, so a result set is never misleading by omission. Absent when there is nothing to report.
    - `code` 'FILTER_VALUE_UNRESOLVED' | 'FILTER_VALUE_UNCHECKED' | 'SOME_RESULTS_HIDDEN' | 'ALL_RESULTS_HIDDEN' | 'PAGE_TRUNCATED', required: FILTER_VALUE_UNRESOLVED: the value matched no known filter option, so it was sent on as an id we could not check. FILTER_VALUE_UNCHECKED: the value already looked like an id, so it was never looked up, and this page came back empty. SOME_RESULTS_HIDDEN: some people on this page were not disclosed to the connected account, so those entries cannot be read back. ALL_RESULTS_HIDDEN: none of the people on this page were disclosed, so the page yielded nothing you can act on, even when more pages follow. PAGE_TRUNCATED: this page is short because the search stopped fetching upstream pages, not because the results ran out; follow cursor, and treat only a null cursor as the end. Branch on this rather than on message.
    - `message` string, required: One sentence explaining the condition and how to resolve it.
    - `field` string: The request field the notice is about, dotted for nested filters.
    - `value` string: The offending value.
  - `safety_warning` SafetyWarning: Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false and hint.message describes the outcome, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
    - `row` string, nullable, required: The budget row that breached, for example profile_views or pending_invites. Null when the breach is not about a row: an activity_window warning on an action that spends no budget of its own (editing a message, dismissing a notification, a Recruiter or Sales Navigator admin action) is still governed by the hours the account works in. Read hint.parameter for what to change; whenever this is null it names posture, because the activity window edges are set per action type and this action has none, so the levers that reach it are the account timezone and posture.
    - `reset_at` string, nullable, required: The instant the refusal lifts: the window roll on a ceiling refusal, the next window open on an activity-window one. Null in the two cases no clock frees, the pending_invites gauge and InMail credits (row inmail).
    - `hint` object, required
      - `parameter` string, required: The settable parameter on PATCH /v1/{account_id}/safety-policy.
      - `message` string, required: What the condition is and what changing that parameter would do. This is the one field whose text differs from the BUDGET_EXHAUSTED refusal: here it says the action went through, and on a ceiling breach how far past the ceiling this row now stands, rather than telling you to set posture to warn when it already is. Branch on parameter, reason and blocked, never on this text.
    - `reason` 'ceiling' | 'activity_window', required: Which rule was crossed. ceiling means the row's configured limit is spent; activity_window means the account is outside the hours it works in, which is a different fact with a different remedy. hint.parameter names the right setting for each.
    - `blocked` boolean, required: Always false here. True on the BUDGET_EXHAUSTED refusal carrying the same payload.

## Other responses

- `400`: Invalid request body, missing or malformed filter, malformed cursor, or limit outside the 1-50 range. A filter value that matches no filter option is NOT rejected here: it is sent on as an id and reported in notices[] on the 200, because a value we cannot resolve by name may still be a valid id.
- `401`: Missing or invalid API key.
- `404`: The supplied account_id does not belong to this tenant. An id whose connection was replaced or removed also stops resolving here, and it is already absent from the list, so re-read `GET /v1/accounts` for the current id.
- `413`: Payload too large, the request body exceeds the size limit.
- `422`: Either FILTER_CANDIDATES_REQUIRED, meaning a filter value matched several options and you must choose one, or ACCOUNT_RESTRICTED, meaning the connected account cannot perform searches. On FILTER_CANDIDATES_REQUIRED the body carries unresolved[], listing every offending field with its value and the candidate ids to pick from, plus a next_action sentence. Re-send the request with a chosen id.
- `429`: Rate limited, slow down and retry after the hinted delay.
- `500`: Internal error.
- `502`: A temporary error occurred. Please try again.
- `503`: Service unavailable.
- `504`: Gateway timeout.

---

[API](https://skmtc.dev/curviate/apis/curviate-api.md) · [All operations](https://skmtc.dev/curviate/apis/curviate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/curviate/apis/curviate-api/revisions/eab848801d95?raw)
