Generate Session Token
POST
/session/token
const url = 'https://app.bluelightmaps.com/api/session/token';const options = { method: 'POST', headers: { Authorization: 'Basic <credentials>', 'Content-Type': 'application/x-www-form-urlencoded' }, body: new URLSearchParams({expiration: '2026-04-15T12:00:00Z'})};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.bluelightmaps.com/api/session/token \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data expiration=2026-04-15T12:00:00ZAuthorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ” Media type application/x-www-form-urlencoded
object
expiration
string format: date-time
Example generated
expiration=2026-04-15T12%3A00%3A00ZResponses
Section titled “ Responses ”Token string
Media type text/plain
string
Bad request
Unauthorized