Skip to main content

Forgot User ID

This API helps user retrieve their user ID by providing their PAN or registered mobile number. Its useful in scenarios where the user forgets their User ID.

🔍Query Parameters

ParameterTypeDescriptionExample/ENUM
panstringPermanent Account Number (PAN)ABCDE1234F
mobile_nostringRegistered Mobile Number9876543210

🔑Header Parameters

HeaderTypeDescriptionExample
Content-typestringMIME type of the request bodyapplication/json
x-api-keystringUnique API Key for authenticationx-api-key
api_keystring(Optional) Alternative auth methodapi_key

🟢Response : 200 OK

Returns a JSON response containing the user ID if the PAN or Mobile number is valid.

📑Response Body Schema: application/json

FieldTypeDescriptionExample
statusstringStatus of the API call (e.g., success)"success"
codestringResponse code for the request"s-101"
messagestringInformational message about the outcome"User id fetched successfully"
dataarrayArray of user detail objectsRefer to Data Object Fields

📦 Data Object Fields

Important Note on mobile_no and email

These fields are returned as Base64-encoded strings and are not returned as plain text.

You must Base64-decode the values before using them.

Example:

OTk5OTk5OTk5OQ==  →  9999999999
FieldTypeDescriptionExample
user_idstringThe user's login ID (UCC)"APITEST"
groupIdstringGroup ID the user belongs to"HO"
dobstringDate of birth (DD-MM-YYYY)"01-06-1990"
panstringPAN number of the user"ABCDE1234F"
mobile_nostringRegistered mobile number Base64-encoded"OTk5OTk5OTk5OQ=="
emailstringRegistered email address Base64-encoded"YXBpdGVzdEB0ZXN0LmNvbQ=="