- Reference
- OCPI 2.2.1 (CPO)
OpenAPI reference
OCPI 2.2.1 (CPO)
CPO-direction: 2.1.1 modules + Charging Profiles + Hub Client Info
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/cpo/2.2.1
Base path: /ocpi/cpo/2.2.1
Versions
Base path: /versions
GET/versions— List supported OCPI versions (CPO mount)GET/— Module endpoints for OCPI 2.2.1 (CPO mount)
Credentials
Base path: /credentials
GET/credentials— Retrieve our platform's OCPI 2.2.1 credentials (CPO mount)PUT/credentials— Rotate credentials for an already-registered partner (CPO mount)POST/credentials— Register new partner credentials (CPO mount, initial handshake)DELETE/credentials— Unregister a partner (CPO mount, invalidates their Token C)
Locations (CPO)
Base path: /locations
GET/locations— Sender LocationGET/locations/{location_id}— Sender LocationGET/locations/{location_id}/{evse_uid}— Sender LocationGET/locations/{location_id}/{evse_uid}/{connector_id}— Sender Location
Sessions (CPO)
Base path: /sessions
GET/sessions— Sender SessionPUT/sessions/{session_id}/charging_preferences— Sender ChargingPreferences
CDRs (CPO)
Base path: /cdrs
GET/cdrs— Sender CDRs
Tariffs (CPO)
Base path: /tariffs
GET/tariffs— Sender Tariff
Tokens (CPO)
Base path: /tokens
GET/tokens/{country_code}/{party_id}/{token_uid}— Receiver TokenPUT/tokens/{country_code}/{party_id}/{token_uid}— Receiver TokenPATCH/tokens/{country_code}/{party_id}/{token_uid}— Receiver Token
Commands (CPO)
Base path: /commands
POST/commands/START_SESSION— Start Session CommandPOST/commands/STOP_SESSION— Stop Session CommandPOST/commands/RESERVE_NOW— Reserve Now CommandPOST/commands/CANCEL_RESERVATION— Cancel Reservation CommandPOST/commands/UNLOCK_CONNECTOR— Unlock Connector Command
Charging profiles (CPO)
Base path: /chargingprofiles
GET/chargingprofiles/{session_id}— Receiver ActiveChargingProfilePUT/chargingprofiles/{session_id}— Receiver SetChargingProfileDELETE/chargingprofiles/{session_id}— Receiver ChargingProfile
Hub client info (CPO)
Base path: /hubclientinfo
GET/hubclientinfo/{country_code}/{party_id}— Receiver ClientInfoPUT/hubclientinfo/{country_code}/{party_id}— Receiver ClientInfo