Aller au contenu principal
Rodz API
FR EN
v2.0.0

Référence / Enrichment / Poll a bulk-enrichment batch

Poll a bulk-enrichment batch

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

Fetch the status and (paginated) results of a bulk-enrichment batch submitted to POST /api/v1/enrichment/contacts/bulk.

GET https://api.rodz.io/api/v1/enrichment/contacts/bulk/{batch_id}

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

Lire la description complète

Fetch the status and (paginated) results of a bulk-enrichment batch submitted to POST /api/v1/enrichment/contacts/bulk.

This is the delivery path for deliveryMode: poll, and a fallback for deliveryMode: webhook (e.g. a missed webhook). Cost is unchanged — the 0.5-credit-per-match charge happens once on completion, whether you poll or use a webhook.

Lifecycle: status is pending → processing → done | failed (and, in webhook mode only, delivery_failed if the batch enriched fine but your webhook kept rejecting the push). Poll every few seconds while pending/processing.

Input: batchId in the path. Pagination: cursor (opaque, start omitted) and limit (default 1,000, max 10,000).

Output: status, total, found, and results — each {externalId, url, person} where person is the full profile (same shape as the webhook payload) or null when not matched. A profile whose lookup could not complete this time also has person: null, plus error: {"code": "SERVICE_UNAVAILABLE", "message": "The lookup could not complete. Please retry later."}: it is not charged, the rest of the batch is delivered as usual, and you can submit that profile again later. When more results remain, nextCursor is set — pass it back as ?cursor= for the next page.

Results are retained for 7 days after completion; older or unknown batch IDs return 404.

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

batch_id string path requis
cursor integer query facultatif

Opaque pagination cursor (start from the beginning if omitted)

  • minimum: 0
par défaut
0
limit integer query facultatif

Max results per page (default 1,000)

  • minimum: 1
  • maximum: 10000
par défaut
1000

Réponses

200 OK
Schéma de la réponse
success boolean facultatif
par défaut
true
data object requis
  • additionalProperties: true
100 champs dans data
batchId string requis

The batch identifier

status string requis

pending | processing | done | failed | delivery_failed (delivery_failed only in webhook mode — the enrichment finished but your webhook kept rejecting delivery)

deliveryMode string requis

webhook or poll

total integer facultatif accepte null

Total profiles in the batch (null until done)

found integer facultatif accepte null

Profiles successfully enriched (null until done)

results object[] facultatif

This page of results — each {externalId, url, person} (same person shape as the webhook payload; person is null when not matched). Empty until the batch is done.

  • items.additionalProperties: true
externalId string facultatif accepte null

Your own reference, echoed back from the request

url string facultatif accepte null

The LinkedIn profile URL that was enriched

person object facultatif accepte null

Enriched person — the same object the bulk webhook delivers. Null when the profile could not be matched (expect this for a minority of URLs in any batch, so guard before reading it). Note this is a different, richer shape than GET /enrichment/contact returns for the same profile — see the field list rather than assuming the two match.

  • additionalProperties: true
name string facultatif accepte null
firstName string facultatif accepte null
lastName string facultatif accepte null
headline string facultatif accepte null
linkedinSummary string facultatif accepte null

The profile "About" section

photoUrl string facultatif accepte null
linkedInUrl string facultatif accepte null
linkedInId string facultatif accepte null

LinkedIn's numeric member id

linkedinSalesLink string facultatif accepte null

Sales Navigator member token for this profile

location string facultatif accepte null
country string facultatif accepte null

ISO-3166 alpha-2, e.g. US

countryName string facultatif accepte null
region string facultatif accepte null

Short region code, e.g. "na"

regionName string facultatif accepte null

e.g. "North America"

geoId integer facultatif accepte null

LinkedIn's numeric location id

industry string facultatif accepte null
industryId integer facultatif accepte null
seniority string facultatif accepte null

Seniority band, e.g. "cxo"

subRole string facultatif accepte null

Normalised role, e.g. "chairman and ceo"

jobFunction string facultatif accepte null

Normalised function, e.g. "general_management"

activeCompany string facultatif accepte null

Current employer name

currentCompanyId integer facultatif accepte null
currentCompanyDetail object[] facultatif accepte null
  • items.additionalProperties: true
companyName string facultatif accepte null
jobTitle string facultatif accepte null
location string facultatif accepte null

Where the role was based

startTime string facultatif accepte null

Start date (YYYY-MM-DD)

endTime string facultatif accepte null

End date (YYYY-MM-DD), or "Present" for a current role

yearsInCompany string facultatif accepte null

Human-readable, e.g. "8 yrs 7 mos"

yearsInRole string facultatif accepte null

Human-readable, e.g. "8 yrs 7 mos"

employmentStatus string facultatif accepte null
companyId integer facultatif accepte null

LinkedIn's numeric company id

companyUrl string facultatif accepte null

Company LinkedIn page URL

companyWebsite string facultatif accepte null
companyIndustry string facultatif accepte null
companyType string facultatif accepte null

e.g. "Public Company", "Educational Institution"

companyTagline string facultatif accepte null
companyDescription string facultatif accepte null
companySpecialties string[] facultatif accepte null
companyStaffCount integer facultatif accepte null

Employees on LinkedIn

companyStaffRange string facultatif accepte null

Size band, e.g. "10001+"

companyFollowerCount integer facultatif accepte null
companyFoundedYear integer facultatif accepte null
companyRevenueRange string facultatif accepte null
companyHqCity string facultatif accepte null
companyHqRegion string facultatif accepte null
companyCountryCode string facultatif accepte null

ISO-3166 alpha-2, e.g. US

pastCompaniesDetails object[] facultatif accepte null
  • items.additionalProperties: true
companyName string facultatif accepte null
jobTitle string facultatif accepte null
location string facultatif accepte null

Where the role was based

startTime string facultatif accepte null

Start date (YYYY-MM-DD)

endTime string facultatif accepte null

End date (YYYY-MM-DD), or "Present" for a current role

yearsInCompany string facultatif accepte null

Human-readable, e.g. "8 yrs 7 mos"

yearsInRole string facultatif accepte null

Human-readable, e.g. "8 yrs 7 mos"

employmentStatus string facultatif accepte null
companyId integer facultatif accepte null

LinkedIn's numeric company id

companyUrl string facultatif accepte null

Company LinkedIn page URL

companyWebsite string facultatif accepte null
companyIndustry string facultatif accepte null
companyType string facultatif accepte null

e.g. "Public Company", "Educational Institution"

companyTagline string facultatif accepte null
companyDescription string facultatif accepte null
companySpecialties string[] facultatif accepte null
companyStaffCount integer facultatif accepte null

Employees on LinkedIn

companyStaffRange string facultatif accepte null

Size band, e.g. "10001+"

companyFollowerCount integer facultatif accepte null
companyFoundedYear integer facultatif accepte null
companyRevenueRange string facultatif accepte null
companyHqCity string facultatif accepte null
companyHqRegion string facultatif accepte null
companyCountryCode string facultatif accepte null

ISO-3166 alpha-2, e.g. US

formerCompaniesList string facultatif accepte null

Previous employers, comma-separated

education object facultatif accepte null
  • additionalProperties: true
educationDetails object[] facultatif accepte null
  • items.additionalProperties: true
universityName string facultatif accepte null
degree string facultatif accepte null
fieldsOfStudy string[] facultatif accepte null
schoolId integer facultatif accepte null

LinkedIn's numeric id for the school

startedOn object facultatif accepte null
  • additionalProperties: true
endedOn object facultatif accepte null
  • additionalProperties: true
universitiesNamesList string facultatif accepte null

All school names, comma-separated — convenient for a single CRM field

connectionsCount integer facultatif accepte null
followerCount integer facultatif accepte null
followers string facultatif accepte null

Same value as followerCount, as a string

languages string facultatif accepte null

Languages, comma-separated

languagesDetail object[] facultatif accepte null

Per-language entries. Left free-form on purpose: it was null on every profile we probed against live production (2026-08-07), so we have no observed shape to publish. Read defensively.

  • items.additionalProperties: true
skillsList string facultatif accepte null

Skills, comma-separated

skillsDetail object[] facultatif accepte null

Per-skill entries. Free-form for the same reason as languagesDetail — never observed populated.

  • items.additionalProperties: true
error object facultatif accepte null

Present only when this profile's lookup could not complete this time (person is then null): {"code": "SERVICE_UNAVAILABLE", "message": "The lookup could not complete. Please retry later."}. The profile is not charged; submit it again later. Absent on a matched profile and on a profile that was looked up and not matched.

  • additionalProperties: string
exemple
{
  "code": "SERVICE_UNAVAILABLE",
  "message": "The lookup could not complete. Please retry later."
}
nextCursor string facultatif accepte null

Pass as ?cursor= to fetch the next page; null when no more

404 No batch found for this ID under your account — wrong ID, results aged out (7-day 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.