Fetch Session information
const url = 'https://app.bluelightmaps.com/api/session';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.bluelightmaps.com/api/sessionParameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”OK
object
Unique user identifier
User display name
Email address used for login and notifications
Contact phone number for alerts
When true, the user cannot change settings
Grants full administrative privileges when enabled
Preferred default map layer for the user
Default map center latitude for this user
Default map center longitude for this user
Default map zoom level on login
Password for user authentication
Preferred coordinate display format
Indicates whether the user account is disabled
In ISO 8601 format. eg. 1963-11-22T18:30:00Z
Maximum number of devices the user can manage
Maximum number of subordinate users
Restricts user from modifying device attributes
Prevents user from sending unsupported commands
Locks the email field to avoid changes
External POI layer configured for the user
Additional custom user attributes
object
Example generated
{ "id": 1, "name": "example", "email": "example", "phone": "example", "readonly": true, "administrator": true, "map": "example", "latitude": 1, "longitude": 1, "zoom": 1, "password": "example", "coordinateFormat": "example", "disabled": true, "expirationTime": "2026-04-15T12:00:00Z", "deviceLimit": 1, "userLimit": 1, "deviceReadonly": true, "limitCommands": true, "fixedEmail": true, "poiLayer": "example", "attributes": {}}Not found