Retrieves information about the currently logged-on user and their sessions
GET/account/me
Includes information about the users data and sessions, organization entitlements and quotas.
Request
Responses
- 200
- 4XX
- 5XX
Returns 'AuthInfo'
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The user id of the authenticated user.
The email address of the authenticated user.
The first name of the authenticated user.
The last name of the authenticated user.
The authentication method configured for the current user.
LOCAL_PASSWORD
The expiry timestamp of the current token.
ISO8601 UTC datetime
A list of features enabled for this tenant
sessions
object[]
required
The currently open sessions associated with this user.
Internal session id. Not a token.
The tenant the session token is associated with.
The user agent used for login.
Approximate geographic location of the session login.
The login timestamp of the current token.
ISO8601 UTC datetime
{
"userId": 0,
"email": "string",
"firstName": "string",
"lastName": "string",
"authType": "LOCAL_PASSWORD",
"tokenExpiresAt": "ISO8601 UTC datetime",
"tenantFeatures": [
"string"
],
"sessions": [
{
"id": 0,
"tenant": "string",
"agent": "string",
"geo": "string",
"loginAt": "ISO8601 UTC datetime"
}
]
}
The request failed because invalid request parameters or data were supplied or access was denied.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}
The request failed because an error occurred during processing of the request.
- application/json
- Schema
- Example (from schema)
Schema
The error code describing the general error category.
API_INVALID_INPUT_DATA
The HTTP status code.
The actual error message describing the error in more detail.
The request id for following up on specific errors.
{
"code": "API_INVALID_INPUT_DATA",
"status": 0,
"message": "string",
"reqid": "string"
}