- Reference
- OCPI 2.1.1 (CPO)
OpenAPI reference
OCPI 2.1.1 (CPO)
CPO-direction: Locations / Sessions / CDRs / Tariffs / Tokens / Commands
One page per endpoint. Use the left rail or the lists below — each link opens that operation only.
Spec version: 2.1.1
Base URL: https://ocpi-api.gridos.co/ocpi/cpo/2.1.1
Base path: /ocpi/cpo/2.1.1
Versions
Base path: /versions
GET/versions— List supported OCPI versions (CPO mount)GET/— Module endpoints for OCPI 2.1.1 (CPO mount)
Credentials
Base path: /credentials
GET/credentials— Retrieve our platform's OCPI 2.1.1 credentialsPUT/credentials— Rotate credentials for an already-registered partnerPOST/credentials— Register new partner credentials (initial handshake)DELETE/credentials— Unregister a partner (invalidates their Token B)
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 Session
CDRs (CPO)
Base path: /cdrs
GET/cdrs— Sender CDRsGET/cdrs/{cdr_id}— 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 TokensPUT/tokens/{country_code}/{party_id}/{token_uid}— Receiver TokensPATCH/tokens/{country_code}/{party_id}/{token_uid}— Receiver Tokens
Commands (CPO)
Base path: /commands
POST/commands/START_SESSION— Start CPO Session CommandPOST/commands/STOP_SESSION— Stop Session CommandPOST/commands/RESERVE_NOW— Receiver RESERVE NOWPOST/commands/UNLOCK_CONNECTOR— Receiver UNLOCK CONNECTOR