{ "customer_details": { "full_name": "John Doe", "mobile_number": "9999999999", "user_email": "test@gmail.com" }, "expiry_minutes": 10, "return_url": "https://google.com", "state": "test" }
curl --location --request POST '/api/v1/digilocker/initiate' \ --header 'Accept: application/json' \ --header 'x-client-id: {{client_id}}' \ --header 'x-client-secret: {{client_secret}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "customer_details": { "full_name": "John Doe", "mobile_number": "9999999999", "user_email": "test@gmail.com" }, "expiry_minutes": 10, "return_url": "https://google.com", "state": "test" }'
{ "response_code": 200, "status": "success", "message": "Success", "data": { "request_id": "DGLR2026462830_2560552f", "digilocker_url": "https://digilocker-sdk.notbot.in/?type=digilocker&token=.eJyrVkr.......", "expired_in_minutes": 10, "expired_at": "2022-08-30T20:36:46+05:30" }, "meta": { "request_id": "babe5e66-9a96-4724-b76c-5c0041aab906", "time": "2022-08-30T20:26:47+05:30" } }