← Back to catalog

Other

Authorized Partner API Specification

auto-generated
swirls add digitallocker
actionGETv1.0.0

Get Authorization Code

Call to this API starts authorization flow using OAuth 2.0 protocol. This isn't an API call—it's a DigiLocker web page that lets the user sign in to DigiLocker and authorize your application to access user’s data. After the user decides whether or not to authorize your app, they will be redirected to the redirect link provided by your application.

Source
actionGETv1.0.0

Get Certificate Data in XML Format from URI

Returns the certificate data in machine readable XML format for a URI. This API can be used to only for issued documents. The XML data may not be available for all documents. If the XML data is available for a particular document, the mime parameter in Get List of Issued Documents API will contain application/xml. Please refer to Digital Locker XML Certificate Formats for more details of XML formats of various documents.

Source
actionPOSTv1.0.0

Get Device Code

The client device calls the DigiLocker API to get the device code by providing the client_id issued to the device OEM and either the username or the mobile number of the user. DigiLocker responds with a device code and then sends an OTP on the mobile number and email address associated with the user’s account. The masked mobile number and email address is also sent in response. The device should use these values to notify the users about the mobile and email address on which the OTP has been sent.

Source
actionGETv1.0.0

Get File from URI

Returns a file from URI. This API can be used to fetch both issued document and uploaded document.

Source
actionPOSTv1.0.0

Get List of Issuers

Returns the list of issuers registered with DigiLocker.

Source
actionPOSTv1.0.0

Get Search Parameters for a Document

Returns a list of parameters required to search a document/certificate of an issuer organization registered with DigiLocker. These parameters are used to pull a document from issuer’s repository using Pull Document API mentioned in subsequent section.

Source
actionPOSTv1.0.0

Get Statistics

Returns DigiLocker statistics such as the count of users, authentic documents, issuers and requesters as on a specific date.

Source
actionGETv1.0.0

Get User Details

Client applications can call this API to get the DigiLocker Id, name, date of birth and gender of the account holder. An access token is required to call this API. The API will return the user details of the account with which the access token is linked. It is strongly recommended that the API can be called by client application only once after acquiring the access token. Since the user details do not change, the client application may store the values and use them when necessary than calling this API repeatedly.

Source
actionGETv1.0.0

Issued Documents

Returns the list of meta-data about issued documents in user’s DigiLocker.

Source
actionPOSTv1.0.0

Pull Document

This API allows a client application to search a document/certificate from issuer’s repository using the parameters provided by a user. The searched document is saved in user’s issued document section of DigiLocker if the search is successful.

Source
actionPOSTv1.0.0

Push URI to Account

The API can use to push or delete a single URI into Digital Locker using DigiLocker Id acquired using Get User Details API. This API can be used to push the certificate details to Digital Locker as and when a certificate is generated in the issuer system. The issuing departments must register on DigiLocker as a registered Issuer and implement the requisite Issuer APIs as mentioned in Digital Locker Issuer API Specification document prior to pushing certificates using this API.

Source
actionPOSTv1.0.0

SIGN UP

This API is used to validate Aadhaar details and verify the mobile number by generating an OTP. This API call, if successful, will be followed by verify OTP call by the partner application if the user is online or available to perform OTP validation as indicated in verification parameter

Source
actionPOSTv1.0.0

Verify Account

This API can be used to verify whether a mobile number or Aadhaar number is already registered with DigiLocker.

Source
actionPOSTv1.0.0

Verify OTP

This API is used to verify the OTP sent by DigiLocker during the sign up API call above.

Source
Beyond the catalog

Any provider, on request.

01

Request it

Tell us which provider you need, and we will ship it in the registry.

02

Generate it

Point swirls add at an OpenAPI or GraphQL spec. Typed actions for any API you hold credentials for, today.

acme · integrations
terminal
~/acme $swirls add linear
✓ 12 typed actions · scopes and schemas included
 
~/acme $swirls add https://api.acme.dev/openapi.json
◆ Fetched spec · 38 operations
✓ 6 typed actions · generated from spec