# Retrieve an active API session Returns details of the user's active API session. The session returned is based on the key used to authenticate the request. Endpoint: GET /sessions/active Version: 3.0.0 Security: SessionKey ## Response 200 fields (application/json): - `self` (string) URI of the session resource - `id` (integer) Unique ID number of the session resource - `open` (boolean) True if the session is currently active, false otherwise - `started` (string) Time at which the session was created - `key` (string) The key associated to this session resource. Include this token in the 'X-API-Key' Header to authenticate requests as the associated user account - `account` (object) User account for which the session was opened - `account.self` (string) URI of the account resource - `account.number` (string) Immutable identifier attached to the account - `account.username` (string) Unique username attached to the account - `account.email` (string) Unique email address attached to the account - `account.role` (string) User role assigned to the account Enum: "customer", "support", "host", "administrator" - `account.verified` (boolean) True if the account email address has been verified, false otherwise - `account.activated` (boolean) True if the account is active, false if it has been deactivated - `account.firstName` (string) The account holder's forename - `account.lastName` (string) The account holder's surname - `account.title` (string) The account holder's formal title Enum: "Mr", "Mrs", "Ms", "Mx" - `account.dateOfBirth` (string) The account holder's date of birth - `account.phone` (string) The account holder's primary contact number - `account.country` (string) The country associated with the account (used for regionalisation) - `account.firstAddressLine` (string) The first line of the account holder's address - `account.secondAddressLine` (string) The second line of the account holder's address - `account.city` (string) The city portion of the account holder's address - `account.state` (string) The state, parish or district portion of the account holder's address - `account.preferences` (string) URI of the account's user preferences resource ## Response 403 fields (application/json): - `message` (string) Reason for the given response.