Référence / Enrichment / Poll an async people-search request
Poll an async people-search request
Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.
Check the status and retrieve results of an async people-search request—use when your webhook receiver was temporarily unavailable, you prefer polling over webhooks, or a synchronous search answered 202 after about 10 s.
GET https://api.rodz.io/api/v1/enrichment/people-search/{request_id}
Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.
Lire la description complète
Check the status and retrieve results of an async people-search request—use when your webhook receiver was temporarily unavailable, you prefer polling over webhooks, or a synchronous search answered 202 after about 10 s.
Input: requestId (the ID from your POST response, also given in its Location header).
Output: job status (pending/completed/failed); when complete, search results in your configured format (batch: full page of results; per-result: page metadata only, with individual results already streamed to your webhook one-by-one); webhookDeliveredCount and webhookFailedCount show successful and failed webhook POSTs so you can detect partial failures and decide whether to refetch.
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_...
Paramètres
request_id string path requis Réponses
200 Job state. Inspect status to know whether to consume result (completed) or error (failed) or wait (pending). Schéma de la réponse
requestId string requis status string requis One of: pending, completed, failed
result object facultatif accepte null Full search response body when status=completed — the same shape the synchronous POST returns, so one generated type serves both. null while status=pending or status=failed. For per_result jobs this carries the first page's metadata (totalPages, aiValidationStatus, etc.) but an empty results array — the actual rows were streamed to your webhook one by one.
-
additionalProperties: true
24 champs dans result
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
error string facultatif accepte null Set only when status=failed. Short, human-readable reason the lookup could not complete.
webhookDeliveredCount integer facultatif accepte null Number of webhook POSTs that landed (2xx response). For batch jobs this is 0 or 1; for per_result jobs it counts successful per-item deliveries. null when no webhook was configured.
webhookFailedCount integer facultatif accepte null Number of webhook POSTs that errored (non-2xx, timeout, or connection refused). Use to detect partial delivery and decide whether to refetch via this GET endpoint. null when no webhook was configured.
404 No request found for this ID under your account. Either the request ID is wrong, results have aged out (1 h TTL), or the ID belongs to a different account. 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.