---
title: "Fetch 12th Marksheet PDF from DigiLocker"
method: POST
path: "/verify/digilocker/fetch_12thmarksheet"
tags: ["DigiLocker"]
---

# Fetch 12th Marksheet PDF from DigiLocker

`POST /verify/digilocker/fetch_12thmarksheet`

Fetches the user's 12th Marksheet as a PDF from DigiLocker and returns it as a file.

## Request body

- DigilockerUserDetailsRequest
  - `reference_key` string, required — Reference key obtained from /digilocker/get_reference.

## Response `200`

12th Marksheet PDF file

## Other responses

- `400` — Invalid request or reference key
- `401` — Unauthorized - Invalid or missing API key or client ID
- `404` — Not Found - The requested resource was not found
- `500` — Internal Server Error - Unexpected error occurred

---

[API](https://skmtc.dev/idto/apis/verification-api.md) · [All operations](https://skmtc.dev/idto/apis/verification-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/idto/verification-api/revisions/e3d57dab8db4/schema)
