Aller au contenu principal
Rodz API
FR EN
v2.0.0

Référence / Enrichment / Poll a phone enrichment result

Poll a phone enrichment result

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

Check the status and result of a phone enrichment lookup you submitted — poll this endpoint until the job completes and receive the contact's phone number if Rodz found a match.

GET https://api.rodz.io/api/v1/enrichment/phone/{enrichment_id}

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

Lire la description complète

Check the status and result of a phone enrichment lookup you submitted — poll this endpoint until the job completes and receive the contact’s phone number if Rodz found a match.

Input: enrichmentId (the job ID returned from your POST submission)

Output: Current status (pending while running, completed when done, or failed if the lookup errored), the E.164 phone number if found (or null if no match), credits charged (5 if successful, 0 when no number is found or when this account already paid for this person in the last 30 days), and error details if applicable. Job records are kept for 24 hours after submission.

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

enrichment_id string path requis

Réponses

200 OK
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)

par défaut
0
error string facultatif accepte null
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.