v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Authentication

Obtain information about current API Consumer

Deprecated, will be removed by 01.04.24, use /api/v1/consumers/me instead.

get/api/v1/auth/me

Response

Successfully retrieved current consumer

namestring required

A name for this credential (e.g. Monta Team A)

operatorIdinteger

Your operator id

operatorIdsinteger[] required

List of operator ids that are authorized for API operations. If empty, all child operators of this operator are authorized.

teamIdsinteger[] required

List of team ids that are authorized for API operations. If empty, all teams of this operator are authorized.

clientIdstring required

Your client id

rateLimitinteger

Rate-limit for your account; requests per rateLimitIntervalInSeconds

rateLimitIntervalInSecondsinteger

Rate-limit interval for your rateLimit

scopesstring[] required

List of scopes for this account

createdAtstring date-time required

Creation date of this consumer

updatedAtstring date-time nullable

Update date of this consumer

Example response

{
  "name": "Monta Team A",
  "operatorId": 42,
  "operatorIds": [
    42
  ],
  "teamIds": [
    3342
  ],
  "clientId": "2cae3a14-3dfd-414b-8965-7814370ec324",
  "rateLimit": 1000,
  "rateLimitIntervalInSeconds": 600,
  "scopes": [
    "charge-points"
  ],
  "createdAt": "2022-05-12T15:56:45.99Z",
  "updatedAt": "2022-05-12T16:56:45.99Z"
}