Back
Commands
Overview
Commands let an EMSP remotely control charging sessions. The most common commands are StartSession (begin charging via the app) and StopSession (end charging remotely).
Who sends
EMSP (E-Mobility Service Provider)
Who receives
CPO (Charge Point Operator)
Key Fields
| Field | Type | Description |
|---|---|---|
response_url | URL | Callback URL for async command result |
token | Token | Token identifying the driver |
location_id | CiString(36) | Target charging location |
evse_uid | CiString(36) | Specific EVSE to command |
Endpoints
POST
/ocpi/2.2.1/commands/START_SESSION
POST
/ocpi/2.2.1/commands/STOP_SESSION
POST
/ocpi/2.2.1/commands/RESERVE_NOW
Live Endpoint Tester
Send requests directly to the local backend and see the response.
GET