---
title: "Uan To Employment History Cashfree"
method: GET
path: "/v1/verification/epfo/uan-to-employment-history"
tags: ["EPFO"]
---

# Uan To Employment History Cashfree

`GET /v1/verification/epfo/uan-to-employment-history`

## Request

- Base URL: `https://api.deepvue.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deepvue.ai/v1/verification/epfo/uan-to-employment-history`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `authorize`
- TypeScript: <https://skmtc.dev/deepvue/apis/deepvue-tech-developers-guide/docs/v1/verification/epfo/uan-to-employment-history/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves employment history based on UAN number.

This endpoint fetches the employment history associated with a given Universal Account Number (UAN).

Args:
    request (Request): The incoming HTTP request object
    uan_number (str): Universal Account Number for which to fetch employment history 
    current_user (Client): Currently authenticated client user, injected via dependency
    generate_pdf (bool, optional): Flag to generate PDF report. Defaults to False
    background_tasks (BackgroundTasks, optional): Background task queue for async operations. Defaults to None

Returns:
    The employment history data associated with the provided UAN number

## Query parameters

- `uan_number` string, required
- `generate_pdf` boolean

## Response `200`

Successful Response

- RESPONSEUANTOEMPLOYMENTHISTORYSUCCESS
  - `code` integer
  - `timestamp` integer, required
  - `transaction_id` string, required
  - `sub_code` string
  - `message` string
  - `data` EmploymentHistory, required
    - `pdf_url` string
    - `employment_history` EmploymentDetails[]
      - `name` string
      - `guardian_name` string
      - `establishment_name` string
      - `member_id` string
      - `date_of_joining` string
      - `date_of_exit` string
      - `last_pf_submitted` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/deepvue/apis/deepvue-tech-developers-guide.md) - [All operations](https://skmtc.dev/deepvue/apis/deepvue-tech-developers-guide/llms.txt) - [OpenAPI document](https://skmtc.dev/deepvue/apis/deepvue-tech-developers-guide/revisions/c1b0558e7d77?raw)
