Skip to main content
GET
A location

Authorizations

Authorization
string
header
required

An access token from accounts.plugchoice.com, for a personal API token, a person signed in through an app, or an OAuth client.

Scopes

locations:read

Path Parameters

location
string<uuid>
required

The location's id

Response

The location

A location: a place with chargers, such as a home, an office or a car park.

access
enum<string>
required

The caller's access to a charger or a location: the highest any of their teams has, within the token's reach. Each level grants everything below it. Accept levels you do not know: more may come.

Available options:
view,
basic,
sensitive,
full
address
object
required

A location's address. Each part is null when it is not known.

chargers_count
integer<int64>
required

How many chargers are at the location, also those you do not reach yourself.

created_at
string<date-time>
required
id
string<uuid>
required

The location's id.

updated_at
string<date-time>
required

When the location itself last changed (its name, address, time zone or settings); a change to its chargers, groups or who reaches it is not one.

coordinates
object | null

Where it is on the map; null when that is not known.

name
string | null

Its name; null when it has none.

timezone
string | null

Its time zone, as the IANA database names it (Europe/Amsterdam); null when none is set.