Sessions
A Session represents a single vehicle's stay in a Zone, from entry to exit. It is opened by an entry event (an LPR camera plate read, terminal, product, payment, or attendant action) and, once the vehicle leaves, closed by a matching exit; it tracks duration, amount paid, and the plate readings recorded over the course of the stay.
Start a session
Starts a parking session by hand, for example for a vehicle a camera missed. The session is created in the zone of the camera you name. Send **both** `license_plate` and `lpr_camera_id`.
List sessions
Lists parking sessions. Open sessions have no `ended_at`; filter them with `ended_at:eq:null`. `duration` is in seconds, `discount_time` in minutes (`-1` = unlimited). See the [Sessions and tariffs](/guides/sessions-and-tariffs) guide.
Get a session
Returns one session.
Close a session
Ends a session now: sets `ended_at`, and `exit` with type `account` (API token) or `attendant` (user token). No body.
Update sessions
This endpoint allows the user to update sessions by id
Get vehicle analytics
Returns paginated analytics grouped by license plate, including visit count, total/average/longest stay duration, and last seen time.
Get vehicle analytics CSV file
This endpoint allows the user to get the vehicle analytics CSV file
Get session analytics
Returns parking analytics data based on the provided filters.
Get sessions CSV file
This endpoint allows the user to get the sessions CSV file