Skip to main content
Rodz API
FR EN
v2.0.0

Reference / Enrichment / Submit a phone enrichment request

Submit a phone enrichment request

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

Documented from the OpenAPI contract, API version 2.0.0.

Read the full description

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.

Authentication and headers

Every route needs an API key. You create it in the dashboard, under Integrations then API. See how to get a key.

Authorization required

Bearer followed by your API key, for example Bearer USR_...

Content-Type required

application/json

Request body

firstName string required
  • minLength: 1
  • maxLength: 100
lastName string required
  • minLength: 1
  • maxLength: 100
company string required

Company name or domain

  • minLength: 1
  • maxLength: 255
linkedinUrl string optional accepts null

LinkedIn profile URL. The lookup reads the profile: without it no number is found (phone null, nothing charged).

email string optional accepts null

Work email. Accepted, but not used to find the number: the LinkedIn profile is.

phoneCountry string optional accepts 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 optional

Only return a mobile number. No mobile found: no phone, no charge.

default
false
webhookUrl string optional accepts null

Optional webhook to receive the result. POSTed once when the job completes (success OR failure). Customers can also poll the GET endpoint instead.

Responses

202 Accepted
Response schema
enrichmentId string required
status string required

One of: pending, completed, failed

phone string optional accepts null

E.164 phone number; null if not found

creditsCharged integer optional

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)

default
0
error string optional accepts null
usedToday integer optional accepts null

Lookups accepted today for this account, this one included. Absent when it cannot be stated.

dailyLimit integer optional accepts null

Lookups this account may submit per UTC day. Absent when it has no limit.

resetsAt string optional accepts 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
Response schema · HTTPValidationError
detail object[] optional
5 fields in detail
loc string | integer[] required
msg string required
type string required
input any optional
ctx object optional
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.