Skip to main content

GET USER DETAILS​

This API returns the registered mobile number and email address of the user, which are used for sending OTP during authentication or verification flows.

🔍 Query Parameters​

ParameterTypeRequiredDescriptionExample
userIdstringYesUnique user ID"{{user_id}}"

🔑 Header Parameters​

HeaderTypeDescriptionExample
Content-TypestringSpecifies request payload formatapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize request{{x-api-key}}

🟢 Success Response - 200 OK​

Content-Type: application/json

FieldTypeDescriptionExample
statusbooleanStatus of API calltrue
resultobjectUser details payloadRefer Data Object Fields

📦 Data Object Fields​

FieldTypeDescriptionExample
mobilestringUser's registered mobile number (Base64 encoded)"OTg3NjU0MzIxMA=="
emailstringUser's registered email (Base64 encoded)"dXNlckBleGFtcGxlLmNvbQ=="