List

GET /session/list

Obtain a list of the users you've currently logged in within your session.

circle-info

If you've logged in into multiple accounts within the same session, you're able to specify the userId of the account you want to operate with when calling other endpoints.

Headers

Name
Value
Required

X-Key

Your API Key

X-SessionId

Your session id

Example

curl \
    -G https://litmind.com/api/v1/session/list \
    -H 'X-Key: bfRCu5GAEP9eMZ7fS6yvPwGxB9Nu7FzUfdnasrCkKkHAyCBZ' \
    -H 'X-SessionId: 313599f212429860887ef23ea326cc863a9186eb1a43a8f1739a1815ebe2a588'

Response

{
    "entity": "SessionUsers",
    "sessionUsers": [
        {
            "entity": "SessionUser",
            "userId": 193978,
            "isCurrent": true
        }
    ]
}

Last updated