Skip to main content
POST
Fetch employment history by UAN (v1)
Use this endpoint to confirm a person’s current and past employers from their UAN. This is a v1 endpoint: the response is a flat object, not the v2 envelope.

Environments

This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.
For new integrations use Employment history: it supports Idempotency-Key retries, returns a billed flag and uses one error format. See Migrate from v1.

How to read the result

  • data.employment_data: one entry per employment, newest information as the source returns it.
  • error_code: "IDTO_201" with a detail object: no history was found. This is still status: "success" and is charged. On some account configurations a no-record result is an error instead and is not charged.
  • Charged only when the response status is success. Billing signal: chargeble and user_consent are present as "true" only on a charged call, spelled exactly as shown. There is no billed field on v1.
  • tranx_id identifies the call for support.
Depending on how your account is configured, a different source can serve this endpoint. Fields not listed here are passed through as the source returns them and are not a fixed contract. Confirm the fields you rely on in staging before go-live.

Asynchronous handoff

On staging (dev.idto.ai) this endpoint can answer HTTP 202 instead of waiting for the source. Production (prod.idto.ai) does not do this today and always answers directly. Handle both 200 and 202 so your integration keeps working when production switches it on.
  • The 202 body is {"status": "pending", "error_code": "IDTO_203", "reference_id": "...", "retry_after_seconds": 5, "data": null} with a Retry-After: 5 header. It comes back when the result is not ready within about 20 seconds, or when a call with the same UAN from your account is already running.
  • Poll Get async result with the reference_id. Once the job finishes it returns the status and body this endpoint would have returned.
  • The call is charged at most once, when the job finishes with a charged result. The 202 and the polls are not charged. Results are kept for 24 hours.

Errors

Every wrapped detail object also carries tranx_id and timestamp. See the Business verification FAQ for common questions. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
uan_number
string
required

12 digit UAN.

Pattern: ^[0-9]{12}$
Example:

"000111222333"

user_id
string

Your own reference for the end user.

Response

The call completed. Charged, including a no-record result returned as status: "success" with error_code: "IDTO_201".

status
string
required

success on this response.

data
object
error_code
string

IDTO_201 when no history was found (some account configurations).

detail
object
tranx_id
string

idto transaction id for this call.

timestamp
string

When the call was recorded.

chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
Last modified on December 1, 2026