Skip to main content
POST

Run in Postman

Headers

Authorization
string
required

JWT access token. For token-generation steps, refer to the Quickstart Guide.

x-api-key
string
required

API key used to identify and authenticate the client.

x-api-version
string

Specifies the API version for the request.

Content-Type
enum<string>

Media type of the request body.

Available options:
application/json

Body

application/json
@entity
enum<string>
required
Available options:
in.co.sandbox.kyc.digilocker.sdk.session.request
flow
enum<string>
required

DigiLocker authentication flow to initiate for the user. Use signin for existing DigiLocker users or signup to create a new account.

Available options:
signin,
signup
doc_types
enum<string>[]
required

List of DigiLocker document types for which user consent is being requested.

Minimum array length: 1
Available options:
aadhaar,
driving_license,
pan

Response

timestamp
integer
required
transaction_id
string
required
data
object
required
code
integer
required