Skip to main content
GET
/
kyc
/
entitylocker-sdk
/
sessions
/
{session_id}
/
authorization_url
Get Authorization URL
curl --request GET \
  --url https://entitylockerapigatewayurl.execute-api.ap-south-1.amazonaws.com/dev/kyc/entitylocker-sdk/sessions/{session_id}/authorization_url \
  --header 'Authorization: <authorization>' \
  --header 'x-api-key: <x-api-key>'
{
  "timestamp": 1750331530804,
  "transaction_id": "11e5bf5f-4d69-4c85-922c-21f865307b23",
  "data": {
    "@entity": "in.co.sandbox.kyc.entitylocker.session.authorization.url.response",
    "authorization_url": "https://entity.digilocker.gov.in/public/oauth2/1/authorize?response_type=code&client_id=VRF23C1E3B&state=402b65e4-8860-4e05-ba68-44ba97fffab4&redirect_uri=https%3A%2F%2Fdeveloper.sandbox.co.in%2F&code_challenge=cEWyA4WVsShZemOQQUZqOiPJu1shUA1sz8-PknXfGxQ&code_challenge_method=S256&consent_valid_till=1750335176"
  },
  "code": 200
}

Headers

Authorization
string
required

SDK Token

x-api-key
string
required

API key for identification

Path Parameters

session_id
string
required

Session id

Response

200 - application/json

200 - Success

timestamp
integer
transaction_id
string
data
object
code
integer