Skip to main content
GET
The token you call with

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.

Response

The token

The token a request was made with.

client_id
string
required

The client the token was issued to.

expires_at
string<date-time>
required

When this access token runs out; get a new one before then.

kind
enum<string>
required

What made the token.

Available options:
personal,
user,
client
scopes
enum<string>[]
required

The scopes it holds. A scope never gives more than the person's own access.

A scope: what a token may be used for, as resource:action.

Available options:
chargers:read,
chargers:control,
chargers:write,
transactions:read,
transactions:write,
locations:read,
locations:write,
meters:read,
teams:read,
teams:write,
webhooks:read,
webhooks:write,
billing:read,
billing:write
ends_at
string<date-time> | null

When a personal API token stops working; null when it has no end, and for other tokens.

reach
object | null

The teams and locations it works for; null for the person's whole account.

user_id
string<uuid> | null

The person the token acts for; null for a client's own token.