recruiter.searchPeople
Search LinkedIn members using Recruiter filters.
Prerequisites
- A Curviate API key, passed as
apiKeywhen you construct the client. Authentication and accounts shows how to create one. - A connected LinkedIn account. This resource is account-scoped: the
account_idis injected automatically by the account-scoped accessor, so you pass it once tocurviate.account(...)and every call below inherits it. Authentication and accounts covers connecting one, and accounts.list returns theaccount_idof each account already connected. - Requires the Recruiter add-on on the seat. Without it, calls return
TIER_NOT_ACTIVE(403).
Signature
searchPeople(body: RecruiterSearchPeopleBody, params?: Partial<RecruiterSearchPeopleQuery>): Promise<RecruiterSearchPeopleResult>Example
import { Curviate } from "@curviate/sdk";
const curviate = new Curviate({
apiKey: "cvt_live_...",
baseUrl: "https://api.curviate.com",
});
const page = await curviate.account("acc_YOUR_ACCOUNT_ID").recruiter.searchPeople({ keywords: "YOUR_KEYWORDS" });
for (const item of page.data ?? []) {
console.log(item.id);
}
// `page.cursor` is the opaque cursor for the next page (null when exhausted).Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Opaque pagination cursor from a previous response. Omit for the first page. |
limit | number | No | Number of results to return (1-100). Defaults to 25. |
keywords | string | No | Free-text keyword search. Content, forwarded verbatim, never persisted. |
spotlights | array | No | Filter by candidate spotlight tags. |
load_saved_search | string | No | Load filters from a saved search id. |
load_custom_filter | string | No | Load filters from a saved custom-filter id. |
save_search | string | No | Persist this search under a name on the LinkedIn side. |
save_custom_filter | string | No | Persist this filter set under a name on the LinkedIn side. |
network_distance | array | No | Filter by network distance. |
location | array | No | Resolved LOCATION parameter ids. |
postal_code | string | No | A postal code to search around. |
postal_code_radius | number | No | Radius (in the substrate's own unit) around postal_code. |
job_title | array | No | Resolved JOB_TITLE parameter ids. |
occupation | array | No | Resolved OCCUPATION parameter ids. |
skills | array | No | Resolved SKILL parameter ids. |
company | array | No | Resolved COMPANY parameter ids. |
current_company | array | No | Resolved CURRENT_COMPANY parameter ids. |
past_company | array | No | Resolved company parameter ids for past employers. |
company_size | array | No | Filter by company size bucket. |
years_of_experience | array | No | One or more {min?,max?} years-of-experience ranges. |
years_in_current_position | array | No | One or more {min?,max?} years-in-current-position ranges. |
years_in_current_company | array | No | One or more {min?,max?} years-in-current-company ranges. |
degree | array | No | Resolved DEGREE parameter ids. |
workplace_type | array | No | Filter by workplace type (e.g. ON_SITE, REMOTE, HYBRID). |
school | array | No | Resolved SCHOOL parameter ids. |
field_of_study | array | No | Resolved FIELD_OF_STUDY parameter ids. |
employment_type | array | No | Filter by employment type. |
graduation_year | array | No | Filter by one or more graduation years. |
industry | array | No | Resolved INDUSTRY parameter ids. |
seniority | array | No | Filter by seniority level. |
spoken_language | array | No | Resolved SPOKEN_LANGUAGE parameter ids. |
profile_language | array | No | Filter by the profile's display language. |
project | string | No | Resolved PROJECT parameter id. |
job_function | array | No | Resolved JOB_FUNCTION parameter ids. |
first_name | string | No | Content, forwarded verbatim, never persisted. |
last_name | string | No | Content, forwarded verbatim, never persisted. |
recently_joined | boolean | No | Filter to members who recently joined LinkedIn. |
is_military_veteran | boolean | No | Filter to members who self-identify as military veterans. |
recruiting_activity | object | No | Include/exclude by recent recruiting activity. |
hide_previously_viewed | boolean | No | Exclude profiles already viewed. |
group | array | No | Resolved GROUP parameter ids. |
is_past_applicant | boolean | No | Filter to members who previously applied. |
notes | string | No | Content, forwarded verbatim, never persisted. |
tags | array | No | Resolved TAG parameter ids. |
Returns
Resolves to RecruiterSearchPeopleResult. Top-level fields: object, data, cursor, total_count.
Error codes
| Code | What it means, and what to do |
|---|---|
UNAUTHORIZED | The API key is missing, malformed, or revoked. Check the key you passed to the client. |
INVALID_REQUEST | A parameter failed validation. The message names the offending field; fix the request rather than retrying it. |
RATE_LIMIT_ACCOUNT | This account's own quota is exhausted. Wait for the window in the Retry-After header, then retry. |
RATE_LIMIT_TENANT | The tenant-wide quota is exhausted across all accounts. Slow the whole workload, not just this call. |
PLATFORM_RATE_LIMIT | LinkedIn is throttling this account. Back off well beyond the hinted delay; sustained pressure risks the account. |
PLATFORM_ERROR | A transient upstream failure. Retry once with backoff before treating it as a real error. |
ACCOUNT_NOT_FOUND | No connected account with that id belongs to this tenant. List your accounts to get a current id. |
ACCOUNT_RESTRICTED | LinkedIn has restricted the account, so it cannot act until that is cleared. Retrying will not help. |
LINKEDIN_AUTH_FAILED | LinkedIn rejected the credentials. Confirm them with the account owner. |
LINKEDIN_FEATURE_NOT_SUBSCRIBED | The seat has the add-on but the LinkedIn account itself lacks the underlying subscription. |
RESOURCE_NOT_FOUND | The id in the path does not exist, or is not visible to this account. Re-read it from the list endpoint that produced it. |
TIER_NOT_ACTIVE | The seat does not have the add-on this endpoint needs. Enable it on the seat, then retry. |
Every code above is a stable CurviateError.code you can branch on. The full list, the response envelope, and retry semantics are in the Error codes reference.
Next steps
recruiter.searchParameters: resolve a human term into the opaque parameter ids the filters above take. Resolve first, then filter.recruiter.listApplicants: List applicants in a project's talent pool (POST-as-list; the body carries filters, no state mutates).recruiter.listJobs: List Recruiter job postings.- SDK Quick Start: installation, the client, account scoping, and pagination.