Skip to main content
POST
/
v1
/
authorize
Authorize
curl --request POST \
  --url https://production.deepvue.tech/v1/authorize \
  --header 'Content-Type: multipart/form-data' \
  --form 'client_id=<string>' \
  --form 'client_secret=<string>'
{
  "access_token": "string",
  "token_type": "string",
  "expiry": "string"
}
Deepvue APIs require authentication for access. We support OAuth2 and client_id/client_secret based authentication methods. Please refer to the Authorize section below for more details.
You will need an Authorization token to access most of the Platform APIs. APIs such as DigiLocker can be accessed using your client_id and client_secret.

Authorize

The Authorize API Endpoint allows developers to securely authenticate their applications using their API keys. By providing the required client_id and client_secret, users can obtain the necessary access_token to access protected resources within the API. This process ensures secure communication between the application and the API, enabling seamless integration and data exchange.
  • Authorization Token will be valid for only 24 hours from the time of generating the token
  • After 24 hours, you need to refresh the token by using the Authorize API Endpoint.
You can find your client_id & client_secret on your dashboard under credentials tab. Your ‘x-api-key’ is the same as your client_secret.

Body

multipart/form-data
client_id
string
required

CLIENT_ID provided to you

client_secret
string
required

CLIENT_SECRET provided to you

Response

Successful Response

access_token
string
token_type
string
expiry
string