- Reference
- OCPI 2.2.1 (eMSP)
OpenAPI reference
OCPI 2.2.1 (eMSP)
eMSP-direction: Locations / Sessions / CDRs / Tariffs / Tokens / Hub Client Info (Receiver)
One page per endpoint. Use the left rail or the lists below — each link opens that operation only.
Spec version: 2.2.1
Base URL: https://ocpi-api.gridos.co/ocpi/emsp/2.2.1
Base path: /ocpi/emsp/2.2.1
Versions
Base path: /versions
GET/versions— List supported OCPI versions (eMSP mount)GET/— Module endpoints for OCPI 2.2.1 (eMSP mount)
Credentials
Base path: /credentials
GET/credentials— Retrieve our platform's OCPI 2.2.1 credentials (eMSP mount)PUT/credentials— Rotate credentials for an already-registered partner (eMSP mount)POST/credentials— Register new partner credentials (eMSP mount, initial handshake)DELETE/credentials— Unregister a partner (eMSP mount, invalidates their Token C)
Locations (eMSP)
Base path: /locations
GET/locations/{country_code}/{party_id}/{location_id}— Sender LocationPUT/locations/{country_code}/{party_id}/{location_id}— Receiver LocationPATCH/locations/{country_code}/{party_id}/{location_id}— Receiver LocationGET/locations/{country_code}/{party_id}/{location_id}/{evse_uid}— Sender EVSEPUT/locations/{country_code}/{party_id}/{location_id}/{evse_uid}— Receiver EVSEPATCH/locations/{country_code}/{party_id}/{location_id}/{evse_uid}— Receiver EVSEGET/locations/{country_code}/{party_id}/{location_id}/{evse_uid}/{connector_id}— Sender ConnectorPUT/locations/{country_code}/{party_id}/{location_id}/{evse_uid}/{connector_id}— Receiver ConnectorPATCH/locations/{country_code}/{party_id}/{location_id}/{evse_uid}/{connector_id}— Receiver Connector
Sessions (eMSP)
Base path: /sessions
GET/sessions/{country_code}/{party_id}/{session_id}— Receiver SessionPUT/sessions/{country_code}/{party_id}/{session_id}— Receiver SessionPATCH/sessions/{country_code}/{party_id}/{session_id}— Receiver Session
CDRs (eMSP)
Base path: /cdrs
POST/cdrs— Receiver CDRsGET/cdrs/{cdr_id}— Receiver CDRs
Tariffs (eMSP)
Base path: /tariffs
GET/tariffs/{country_code}/{party_id}/{tariff_id}— Receiver TariffPUT/tariffs/{country_code}/{party_id}/{tariff_id}— Receiver TariffDELETE/tariffs/{country_code}/{party_id}/{tariff_id}— Receiver Tariff
Tokens (eMSP)
Base path: /tokens
GET/tokens— Sender TokensPOST/tokens/{token_uid}/authorize— Sender authorize
Commands (eMSP sender)
Base path: /commands
POST/commands/{command}/{callback_suffix}— Sender CommandResult
Hub client info (eMSP)
Base path: /hubclientinfo
GET/hubclientinfo/{country_code}/{party_id}— Receiver ClientInfoPUT/hubclientinfo/{country_code}/{party_id}— Receiver ClientInfo
Charging profiles (eMSP sender)
Base path: /chargingprofiles
POST/chargingprofiles/result/{request_id}— Sender async ChargingProfile resultPUT/chargingprofiles/{session_id}— Sender ActiveChargingProfile update