Common
Get the calling user's profile
Returns the calling user's profile and membership details.
AuthorizationBearer <token>
JWT token to authenticate the request.
In: header
X-Api-Key<token>
API key, sent as a request header.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/common/user/get"{ "result": { "data": { "user": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "fullName": "Jane Doe", "startDate": "2025-01-01T12:00:00.0000000+00:00", "isActive": true, "roleId": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "userEmail": "jane.doe@example.com", "settings": [ { "settingKey": "ALLOW_CONTACT_SHARE", "value": "true" } ], "userDetails": { "scope": 1, "level": 1 } } }, "statusCode": 200, "message": "OK" }, "origin": "string", "dateTime": "string", "operationId": "string"}{ "error": { "innerErrors": [ { "code": "VALIDATION_ERROR", "message": "Name is required.", "userMessage": "Name is required." } ], "message": "One or more validation errors occurred.", "statusCode": 400 }, "dateTime": "2026-01-01T12:00:00.0000000+00:00", "operationId": "00-abc123-00", "origin": "self-service-portal"}{ "error": { "innerErrors": [ { "code": "VALIDATION_ERROR", "message": "Name is required.", "userMessage": "Name is required." } ], "message": "One or more validation errors occurred.", "statusCode": 400 }, "dateTime": "2026-01-01T12:00:00.0000000+00:00", "operationId": "00-abc123-00", "origin": "self-service-portal"}{ "error": { "innerErrors": [ { "code": "GET_USER_FAILED", "message": "Failed to load the current user.", "userMessage": "Something went wrong. Please contact support." } ], "message": "Failed to load the current user.", "statusCode": 500 }, "dateTime": "2026-01-01T12:00:00.0000000+00:00", "operationId": "common-user-get", "origin": ""}