integrations.sh
← all integrations

digitallocker.gov.in – authpartner

OpenAPI apis-guru open_data

To access files in user’s DigiLocker account from your application, you must first obtain user’s authorization.

Homepage
https://api.apis.guru/v2/specs/digitallocker.gov.in:authpartner/1.0.0.json
Provider
digitallocker.gov.in:authpartner / authpartner
OpenAPI version
3.0.2
Spec (JSON)
https://api.apis.guru/v2/specs/digitallocker.gov.in/authpartner/1.0.0/openapi.json
Spec (YAML)
https://api.apis.guru/v2/specs/digitallocker.gov.in/authpartner/1.0.0/openapi.yaml

Tools (24)

Extracted live via the executor SDK.

  • accountDetailApi.accountDetailApiId

    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.

  • authorization.getaccesstokenId

    This endpoint only applies to apps using the authorization code flow. An app calls this endpoint to acquire a bearer token once the user has authorized the app. Calls to /oauth2/1/token need to be authenticated using the app's key and secret. These can either be passed as application/x-www-form-urlencoded POST parameters (see parameters below) or via HTTP basic authentication. If basic authentication is used, the app key should be provided as the username, and the app secret should be provided as the password.

  • authorization.getAuthorizationCodeId

    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.

  • authorizationApi.getDeviceCodeId

    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.

  • digiLockerMetaApIs.getListOfDocumentsProvidedByAnIssuerId

    Returns a list of documents/certificates issued by an issuer organization registered with DigiLocker.

  • digiLockerMetaApIs.getListOfIssuersId

    Returns the list of issuers registered with DigiLocker.

  • digiLockerMetaApIs.getSearchParametersForADocumentId

    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.

  • digiLockerMetaApIs.getStatisticsId

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

  • digiLockerMetaApIs.pushUriToAccountId

    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.

  • digiLockerMetaApIs.verifyAccountId

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

  • digiLockerSignUpApIs.signUpId

    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

  • digiLockerSignUpApIs.verifyOtpId

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

  • fileApIs.getCertificateDataInXmlFormatFromUriId

    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.

  • fileApIs.getEAadhaarDataInXmlFormatId

    Returns e-Aadhaar data in XML format for the account.

  • fileApIs.getFileFromUriId

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

  • fileApIs.getListOfIssuedDocumentsId

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

  • fileApIs.getListOfIssuedDocumentsVersion1Id

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

  • fileApIs.getListOfSelfUploadedDocuments

    Returns the list of meta-data about documents or folders in user’s DigiLocker in a specific location.

  • fileApIs.getListOfSelfUploadedDocumentsId

    Returns the list of meta-data about documents or folders in user’s DigiLocker in a specific location.

  • fileApIs.pullDocumentId

    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.

  • fileApIs.uploadFileToLockerId

    This API can be used to save/upload a file to uploaded documents in DigiLocker. The allowed file types are JPG, JPEG, PNG and PDF. The file size must not exceed 10MB.

  • tokenRevocationApi.getTokenRevocationId

    Client applications can revoke a previously obtained refresh or access token when it is no longer needed. This is done by making a request to the token revocation endpoint. DigiLocker will invalidate the specified token and, if applicable, other tokens based on the same authorisation grant. This API may be used to sign out a user from DigiLocker. This API will work for server based web applications, mobile application and limited input devices.

  • openapi.previewSpec

    Preview an OpenAPI document before adding it as a source

  • openapi.addSource

    Add an OpenAPI source and register its operations as tools