Skip to content

Fetch Session information

GET
/session
curl --request GET \
--url https://app.bluelightmaps.com/api/session
token
string

OK

Media type application/json
object
id

Unique user identifier

integer format: int64
name

User display name

string
email

Email address used for login and notifications

string
phone

Contact phone number for alerts

string | null
readonly

When true, the user cannot change settings

boolean
administrator

Grants full administrative privileges when enabled

boolean
map

Preferred default map layer for the user

string | null
latitude

Default map center latitude for this user

number
longitude

Default map center longitude for this user

number
zoom

Default map zoom level on login

integer
password

Password for user authentication

string
coordinateFormat

Preferred coordinate display format

string | null
disabled

Indicates whether the user account is disabled

boolean
expirationTime

In ISO 8601 format. eg. 1963-11-22T18:30:00Z

string | null format: date-time
deviceLimit

Maximum number of devices the user can manage

integer
userLimit

Maximum number of subordinate users

integer
deviceReadonly

Restricts user from modifying device attributes

boolean
limitCommands

Prevents user from sending unsupported commands

boolean
fixedEmail

Locks the email field to avoid changes

boolean
poiLayer

External POI layer configured for the user

string | null
attributes

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