Profile
Use this API to retrieve User details such as name, email, mobile no and other relevant details. The data will be in encrypted format. The methodology to decrypt and decryption key will be same as shared on mail.
🟢 Response Status Code - 200 Ok
Content-Type: application/json
| Field | Type | Description | Example / Enum |
|---|---|---|---|
status | string | Status of API call | "success" |
code | string | Response code for the user request | "s-101" |
message | string | Message displayed when the API call is successful | "User profile data successfully fetched" |
data | string | Response data in encrypted format | "ENCRYPTED_STRING" |
🔴 Error Response - 400 Bad Request
| Field | Type | Description | Example |
|---|---|---|---|
| status | string | Status of the API call Default Error | "error" |
| code | string | Error code indicating the failure | "e-101" |
| message | string | Specific message explaining the reason for failed request. | "Error Message" |
get
/authentication/v1/user/profile