MSP · Tokens

No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.

ROADRoad deviations in this section

Road enables these for your connection on request.

  • Additional fields
    Adds fields OCPI 2.1.1 does not define: the owning party (country_code and party_id) on every object, and extra location data such as a publish flag, charging accessibility, parking places and the details needed for national access point reporting. Sessions and CDRs also carry VAT-inclusive totals.
    When not enabled: Objects carry only the fields the OCPI specification defines.
  • eMI3 contract id as auth_id
    auth_id carries the token's eMI3 contract identifier.
    When not enabled: auth_id carries the token's own authorisation id.
GET/emsp/2.1.1/tokens

List tokens

ROADAdditional fieldsROADeMI3 contract id as auth_id
Responses
200OCPI response envelope application/json
dataobject[]
uidstring
typestring
auth_idstringROAD
visual_numberstring
issuerstring
validboolean
whiteliststring
languagestring
last_updatedobject
country_codestringROAD
party_idstringROAD
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.
POST/emsp/2.1.1/tokens/{token_uid}/authorize

Authorize a token

Request
Path parameters1
token_uidstringREQUIRED
Responses
200OCPI response envelope application/json
dataobject
allowedstring
tokenobject
uidstring
typestring
auth_idstring
visual_numberstring
issuerstring
validboolean
whiteliststring
languagestring
last_updatedobject
country_codestring
party_idstring
locationobject
location_idstring
evse_uidsstring[]
connector_idsstring[]
authorizationReferencestring
authorization_idstring
infoobject
languagestring
textstring
status_codeinteger
status_messagestring
timestampstring
401Missing or invalid OCPI token
No response body.