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
| Parameter | Type | Required | Description | Example |
|---|
| userId | string | Yes | Unique user ID | "{{user_id}}" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Specifies request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | boolean | Status of API call | true |
| result | object | User details payload | Refer Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|
| mobile | string | User's registered mobile number (Base64 encoded) | "OTg3NjU0MzIxMA==" |
| email | string | User's registered email (Base64 encoded) | "dXNlckBleGFtcGxlLmNvbQ==" |