Skip to main content
POST
Fetch EPFO employment history
Fetch a person’s EPFO member profile (name, gender, date of birth) and their employment history: one record per establishment, with member id, establishment id and name, joining date and exit date, newest first. Use it to confirm a borrower’s current employer or a candidate’s past employers. The only input is the 12-digit UAN. Anything else is rejected with IDTO_001 before any lookup and is not billed. Dates are returned as YYYY-MM-DD, or null when the source has no usable date. is_current_employment is true when the record has no exit date; it reflects the EPF record, not proof of active payroll.

Environments

Errors

Branch on error_code, not on status: a no-record result is status: "success" with an error_code. Full list in v2 error codes.

Retries

Send an Idempotency-Key header (up to 255 characters) to make retries safe. Replaying the same key with the same body returns the stored result without running or billing the verification again. The same key with a different body returns IDTO_010; a replay while the first call is still running returns IDTO_004. If the first call returned an error, nothing is stored and a retry runs the verification again.

Test scenarios

Use these input classes in staging to exercise each outcome. Questions about employment lookups are answered in the Business FAQ.
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.

Headers

Idempotency-Key
string

Make retries of this exact request safe. If the same key is replayed with an identical request body, the original result is returned without re-running the verification or billing again. If the same key is replayed with a different body, the request is rejected with IDTO_010 (422). Omitting this header runs every request as new.

Maximum string length: 255

Body

application/json
uan
string
required
Pattern: ^[0-9]{12}$
Example:

"000111222333"

user_id
string

Your own reference for the end user. Stored against this call.

Maximum string length: 255
workflow_session_token
string

Session token when the call is part of an idto workflow session. Omit for standalone calls.

Maximum string length: 64

Response

The EPFO lookup ran to completion.

status
enum<string>
required
Available options:
success
message
string
required
error_code
string | null
required

null on a full match, an IDTO_2xx code on a definitive no-record result. Both are billed.

data
object | null
required
billed
enum<boolean>
required
Available options:
true
tranx_id
string | null
timestamp
string<date-time> | null
Last modified on December 1, 2026