Référence / Enrichment / Submit a phone enrichment request
Submit a phone enrichment request
Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.
Look up a prospect's direct business phone number from their LinkedIn profile, name and company — enabling warm outreach and contact validation for B2B sales and recruiting.
POST https://api.rodz.io/api/v1/enrichment/phone
Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.
Lire la description complète
Look up a prospect’s direct business phone number from their LinkedIn profile, name and company — enabling warm outreach and contact validation for B2B sales and recruiting.
Input: firstName, lastName, company (required); linkedinUrl (give it: a number is only found from the LinkedIn profile, so without it phone is null and nothing is charged); email (optional — accepted, not used to find the number); phoneCountry (optional — ISO 3166-1 alpha-2, only a number of that country; FR means +33, French overseas departments have their own codes); mobileOnly (optional — only a mobile number; when no number found matches a filter, phone is null and nothing is charged); webhookUrl (optional — for async delivery).
Output: An E.164-formatted phone number (if found) returned via polling GET /api/v1/enrichment/phone/{enrichmentId} or POSTed to your webhookUrl once lookup completes (typically 30s–5min). Response includes status (pending, completed, or failed), phone (null if not found), and creditsCharged (5 on success, 0 when no number is found or when this account already paid for this person in the last 30 days). Job state retained for 24 hours after submission.
Daily limit: each account can submit a set number of phone lookups per UTC day (100 by default; contact support@rodz.io to raise it). Every accepted submission counts, whether or not a number is found, except a lookup that ends failed, which gives its slot back; the limit resets at 00:00 UTC. The answer reports usedToday, dailyLimit and resetsAt; usedToday is left out when it cannot be stated.
Daily limit on numbers found: each account can also get a set number of phone numbers found per UTC day (150 by default; contact support@rodz.io to raise it). Once it is reached, new lookups are refused until 00:00 UTC, and a lookup already queued ends failed before it runs, with nothing charged.
Errors: 402 INSUFFICIENT_CREDITS (fewer than 5 credits at submission); 429 DAILY_PHONE_LOOKUP_LIMIT once the daily limit is reached: Retry-After gives the seconds until 00:00 UTC, the body carries limit, usedToday, dailyLimit and resetsAt, nothing is submitted or charged; 429 DAILY_PHONE_SPEND_LIMIT once the daily limit on numbers found is reached: Retry-After gives the seconds until 00:00 UTC, the body carries limit and resetsAt, nothing is submitted or charged; 503 PHONE_LOOKUP_UNAVAILABLE if lookups are temporarily unavailable: nothing is submitted or charged, retry after Retry-After seconds.
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
firstName string requis -
minLength: 1 -
maxLength: 100
lastName string requis -
minLength: 1 -
maxLength: 100
company string requis Company name or domain
-
minLength: 1 -
maxLength: 255
linkedinUrl string facultatif accepte null LinkedIn profile URL. The lookup reads the profile: without it no number is found (phone null, nothing charged).
email string facultatif accepte null Work email. Accepted, but not used to find the number: the LinkedIn profile is.
phoneCountry string facultatif accepte null Only return a number of this country (ISO 3166-1 alpha-2, e.g. FR). FR means +33 numbers: French overseas departments have their own codes (RE, GP, MQ, GF). No matching number: no phone, no charge.
-
pattern: ^[A-Za-z]{2}$
mobileOnly boolean facultatif Only return a mobile number. No mobile found: no phone, no charge.
webhookUrl string facultatif accepte null Optional webhook to receive the result. POSTed once when the job completes (success OR failure). Customers can also poll the GET endpoint instead.
Réponses
202 Accepted Schéma de la réponse
enrichmentId string requis status string requis One of: pending, completed, failed
phone string facultatif accepte null E.164 phone number; null if not found
creditsCharged integer facultatif Credits deducted (5 on success, 0 when no number is found or when this account already paid for this person in the last 30 days)
error string facultatif accepte null usedToday integer facultatif accepte null Lookups accepted today for this account, this one included. Absent when it cannot be stated.
dailyLimit integer facultatif accepte null Lookups this account may submit per UTC day. Absent when it has no limit.
resetsAt string facultatif accepte null When the daily count resets: the next 00:00 UTC.
402 INSUFFICIENT_CREDITS: fewer than 5 credits at submission. Nothing is submitted or charged. 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 DAILY_PHONE_LOOKUP_LIMIT: the account's daily phone lookup limit is reached, Retry-After gives the seconds until it resets at 00:00 UTC. DAILY_PHONE_SPEND_LIMIT: the account's daily limit on numbers found is reached, Retry-After gives the seconds until it resets at 00:00 UTC. RATE_LIMIT_EXCEEDED: too many requests per minute on this API key, retry after Retry-After seconds. 503 Phone lookups are temporarily unavailable; retry after Retry-After seconds. Nothing was submitted or charged.