Locations

The Locations endpoints allow you to retrieve a list of all accessible locations, view details for a specific location, and get real-time occupancy data for any location.

List of accessible locations

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · min: 1 · max: 1000Optional

Limits how many records are returned in the response.

Default: 1000Example: 3
cursorstringOptional

Cursor value from the previous response's pagination object used to fetch the next or previous page of results.

Example: eyJsb2NhdGlvbl9pZCI6MTU2OH0
Responses
chevron-right
200

A flat list of accessible locations.

application/json
get
/locations

Get location details

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired

The ID of the location.

Example: 1560
Query parameters
includestring · enumOptional

Pass "children" to include child locations of the current location in the response.

Example: childrenPossible values:
limitintegerOptional

Maximum number of children to return per page when using include=children. Defaults to 1000 if not specified.

Default: 1000Example: 1
cursorstringOptional

Cursor value from the previous response's pagination object used to fetch the next or previous page of children when using include=children.

Example: eyJsb2NhdGlvbl9pZCI6MTU2OH0
Responses
chevron-right
200

Location details found

application/json
get
/locations/{id}

Get real-time occupancy data for a location

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idintegerRequired

The ID of the location.

Example: 1560
Query parameters
includestring · enumOptional

Pass "children" to include current occupancy for child locations in the response.

Example: childrenPossible values:
limitintegerOptional

Maximum number of children to return per page when using include=children. Defaults to 1000 if not specified.

Default: 1000Example: 1
cursorstringOptional

Cursor value from the previous response's pagination object used to fetch the next page of children when using include=children.

Example: eyJsb2NhdGlvbl9pZCI6MTU2OH0
Responses
chevron-right
200

Current real-time occupancy data for the location.

application/json
get
/locations/{id}/now

Last updated