Aller au contenu principal
Rodz API
FR EN
v2.0.0

Référence / Enrichment / Search for people

Search for people

Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.

Find LinkedIn profiles at target companies with specific job titles or seniority levels—each result includes an AI-verified qualification verdict showing whether the profile actually matches your criteria.

POST https://api.rodz.io/api/v1/enrichment/people-search

Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.

Lire la description complète

Find LinkedIn profiles at target companies with specific job titles or seniority levels—each result includes an AI-verified qualification verdict showing whether the profile actually matches your criteria.

Input: filter criteria—companies (names, LinkedIn URLs, or IDs), jobTitles, excludeJobTitles, locations, geoIds, seniorityLevels, companySize, industryId (LinkedIn industry IDs, resolve via /enrichment/linkedin-industries), companyHeadquarterLocations (where the company is headquartered, as opposed to locations which is where the person is), plus excludeIndustryId and excludeCompanyHeadquarterLocations; page for pagination (1-100, up to 25 results per page). Optional: webhookUrl and deliveryMode for async delivery, qualifiedOnly to exclude disqualified matches, metadata to correlate responses.

Output: (sync: 200 OK, or async: 202 Accepted → webhook POST; a synchronous search still running after about 10 s answers 202 Accepted with requestId, status pending and a Location header: poll that location, GET /api/v1/enrichment/people-search/{requestId}, until status is completed or failed; the result is the same page, charged once when the search completes) Array of up to 25 LinkedIn profiles per page with linkedinUrl, firstName, lastName, location, openProfile, premium, and currentPositions (company name, title, LinkedIn URL, start date). Each profile includes qualificationStatus (QUALIFIED or DISQUALIFIED) and qualificationReason explaining the verdict. Response includes pagination metadata (count, page, totalPages, total, hasMore) and aiValidationStatus (ok or unavailable—if unavailable, all results default to QUALIFIED so the response stays usable).

Authentification et en-têtes

Toutes les routes demandent une clé d’API. Vous la créez dans le tableau de bord, sous Intégrations puis API. Voir comment obtenir une clé.

Authorization requis

Bearer suivi de votre clé d’API, par exemple Bearer USR_...

Content-Type requis

application/json

Corps de la requête

companies string[] facultatif accepte null

Company names, LinkedIn company URLs, or numeric LinkedIn company IDs. Mix freely in the same array. Max 50.

jobTitles string[] facultatif accepte null

Current job titles to include. Max 70.

excludeJobTitles string[] facultatif accepte null

Job titles to exclude. Max 70.

locations string[] facultatif accepte null

Location names (e.g. France, San Francisco). Each entry is one place: a qualified name such as "Lyon, France" is resolved as a whole, and a name that cannot be resolved returns 422 UNRESOLVED_LOCATION. For precise filtering, use geoIds instead.

geoIds string[] facultatif accepte null

LinkedIn geo IDs for precise location filtering. Use /enrichment/linkedin-geo-id to resolve.

seniorityLevels string[] facultatif accepte null

Seniority levels: Entry, Strategic, Senior, VP, CXO, Director, Manager, Partner, Owner

companySize string[] facultatif accepte null

Company size: Self-employed, 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+

industryId string[] facultatif accepte null

LinkedIn industry IDs of the person's current company, e.g. ["4", "96"] (a single comma-separated entry like ["4,96"] also works). Resolve IDs by name with GET /api/v1/enrichment/linkedin-industries. Max 70.

excludeIndustryId string[] facultatif accepte null

LinkedIn industry IDs to exclude. Same format as industryId. Max 70.

companyHeadquarterLocations string[] facultatif accepte null

Filter on where the person's current company is HEADQUARTERED (free-text location names, e.g. ["France"]). Distinct from locations/geoIds, which filter on where the person is. Max 70.

excludeCompanyHeadquarterLocations string[] facultatif accepte null

Company headquarter locations to exclude. Max 70.

page integer facultatif

Page number (1-100). Default: 1. Each page returns up to 25 results.

  • minimum: 1
  • maximum: 100
par défaut
1
qualifiedOnly boolean facultatif

When true, only return profiles with qualificationStatus=QUALIFIED. Disqualified results are dropped from the response (count and results shrink accordingly). Default false: return everything with the verdict flag set so the caller can decide.

par défaut
false
metadata any[] facultatif accepte null

Arbitrary pass-through array.

Lire la suite

Arbitrary pass-through array. Whatever you put here is echoed back verbatim and is NEVER used to filter the search. It is returned in the metadata field of the response (synchronous calls) and in every webhook payload (async calls — batch, each per_result POST, and failure callbacks alike). Use it to correlate responses with your own records: row IDs, campaign tags, source URLs, etc. Items may be strings or objects. Max 50 items, 10 KB serialized.

webhookUrl string facultatif accepte null

Optional.

Lire la suite

Optional. When supplied, the endpoint switches to async mode: it returns 202 Accepted immediately with a requestId, runs the search in the background, and POSTs the full response body to this URL once. Use when your client has a tight HTTP timeout (some serverless platforms, n8n defaults, etc.). When omitted, the endpoint stays synchronous and returns results in the same HTTP response.

deliveryMode string facultatif

Webhook delivery shape.

Lire la suite

Webhook delivery shape. Ignored when webhookUrl is omitted. batch (default) POSTs one payload containing every result. per_result POSTs one payload per result, each carrying index / total so the receiver can reassemble. Failed jobs always deliver one error payload regardless of mode; empty result sets emit no per-result POSTs (poll the GET endpoint to confirm completion).

par défaut
"batch"

Réponses

200 Synchronous result (no webhookUrl in the body).
Schéma de la réponse
data object facultatif accepte null

People search payload, or null if none found

  • additionalProperties: true
24 champs dans data
results object[] facultatif accepte null

Matching profiles (up to 25 per page)

  • items.additionalProperties: true
linkedinUrl string facultatif accepte null

Profile URL

firstName string facultatif accepte null

First name

lastName string facultatif accepte null

Last name

location string facultatif accepte null

Location string

openProfile boolean facultatif accepte null

True if the profile is an Open Profile (messageable without connection)

premium boolean facultatif accepte null

True if the member has a premium account

currentPositions object[] facultatif accepte null

Current positions held by the person

  • items.additionalProperties: true
companyName string facultatif accepte null

Company name

title string facultatif accepte null

Job title at the company

companyLinkedinUrl string facultatif accepte null

Company LinkedIn page URL

startedOnYear integer facultatif accepte null

Year the person started this position

startedOnMonth integer facultatif accepte null

Month (1-12) the person started this position

qualificationStatus string facultatif accepte null

AI qualification verdict, one of: QUALIFIED, DISQUALIFIED

qualificationReason string facultatif accepte null

Human-readable explanation for the qualification verdict

count integer facultatif accepte null

Number of results on this page

page integer facultatif accepte null

Current page number (1-based)

totalPages integer facultatif accepte null

Total number of pages available

total integer facultatif accepte null

Total number of matching profiles

hasMore boolean facultatif accepte null

True if more pages are available

aiValidationStatus string facultatif accepte null

AI qualification pass status, one of: ok (normal), unavailable (AI call failed; every result is defaulted to QUALIFIED)

metadata object[] facultatif accepte null

Caller-supplied metadata echoed back for this request

  • items.additionalProperties: true
rowId string facultatif accepte null

Caller-supplied row identifier echoed back for this request

campaign string facultatif accepte null

Caller-supplied campaign identifier echoed back for this request

requestId string facultatif accepte null

Unique request identifier

202 Accepted: webhookUrl was provided, or a synchronous search was still running after about 10 s. Poll the Location header (GET /api/v1/enrichment/people-search/{requestId}) until status is completed or failed.
Schéma de la réponse
requestId string requis
status string requis

One of: pending, completed, failed

402 NO_MORE_CREDITS: the balance does not cover this page. Nothing was searched and nothing was charged. Synchronous mode only: with webhookUrl, the balance is checked when the search runs, and a search it does not cover ends failed.
422 Validation Error
Schéma de la réponse · HTTPValidationError
detail object[] facultatif
5 champs dans detail
loc string | integer[] requis
msg string requis
type string requis
input any facultatif
ctx object facultatif
429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.