Charger Commands
Send OCPP commands to connected chargers — reset, unlock, configure, update firmware, and more. All endpoints require the X-API-Key header.
Reset charger
/api/v1/chargers/:chargeBoxId/resetSend a soft or hard reset to a charger.
{"type": "Soft"}
| Parameter | Type | Description |
|---|---|---|
type* | string | "Soft" (graceful) or "Hard" (full reboot) |
{"message": "Soft reset accepted by charger","chargeBoxId": "CHARGER-001","type": "Soft","status": "accepted"}
Unlock connector
/api/v1/chargers/:chargeBoxId/unlockUnlock a connector — useful when a cable is stuck.
{"connectorId": 1}
{"message": "Connector unlocked successfully","chargeBoxId": "CHARGER-001","connectorId": 1,"status": "unlocked"}
Clear cache
/api/v1/chargers/:chargeBoxId/cache/clearClear the charger's local authorization cache.
{"message": "Cache cleared successfully","chargeBoxId": "CHARGER-001","status": "accepted"}
Trigger message
/api/v1/chargers/:chargeBoxId/triggerRequest the charger to send a specific OCPP message on demand.
{"requestedMessage": "StatusNotification","connectorId": 1}
| Parameter | Type | Description |
|---|---|---|
requestedMessage* | string | BootNotification, Heartbeat, MeterValues, StatusNotification, DiagnosticsStatusNotification, FirmwareStatusNotification |
connectorId | number | Target connector (for StatusNotification, MeterValues) |
Change availability
/api/v1/chargers/:chargeBoxId/availabilitySet a connector or entire charger to operative/inoperative.
{"connectorId": 1,"type": "Inoperative"}
| Parameter | Type | Description |
|---|---|---|
connectorId* | number | Connector ID (use 0 for entire charger) |
type* | string | "Operative" or "Inoperative" |
Get configuration
/api/v1/chargers/:chargeBoxId/configuration/getRetrieve configuration keys from a charger.
{"key": ["HeartbeatInterval", "MeterValueSampleInterval"]}
{"chargeBoxId": "CHARGER-001","configurationKey": [{"key": "HeartbeatInterval","readonly": false,"value": "300"},{"key": "MeterValueSampleInterval","readonly": false,"value": "60"}],"unknownKey": []}
{} to retrieve all configuration keys.Change configuration
/api/v1/chargers/:chargeBoxId/configuration/changeChange a configuration key on a charger.
{"key": "HeartbeatInterval","value": "600"}
{"chargeBoxId": "CHARGER-001","key": "HeartbeatInterval","value": "600","status": "Accepted","message": "Configuration changed successfully"}
Possible status values: Accepted, RebootRequired, Rejected, NotSupported
Update firmware
/api/v1/chargers/:chargeBoxId/firmware/updateTell the charger to download and install new firmware.
{"location": "https://firmware.example.com/v2.0.0/firmware.bin","retrieveDate": "2026-02-10T14:00:00Z","retries": 3,"retryInterval": 60}
| Parameter | Type | Description |
|---|---|---|
location* | string | Firmware download URL (HTTP/HTTPS/FTP) |
retrieveDate* | string | ISO 8601 timestamp to start download |
retries | number | Download retry attempts |
retryInterval | number | Seconds between retries |
Get diagnostics
/api/v1/chargers/:chargeBoxId/diagnosticsTell the charger to upload diagnostic logs to a URL.
{"location": "https://uploads.example.com/diagnostics/","startTime": "2026-02-09T00:00:00Z","stopTime": "2026-02-10T00:00:00Z","retries": 3,"retryInterval": 60}
Data transfer
/api/v1/chargers/:chargeBoxId/data-transferSend a vendor-specific DataTransfer message to a charger.
{"vendorId": "MyVendor","messageId": "GetDisplayMessage","data": "{\"screen\": 1}"}
| Parameter | Type | Description |
|---|---|---|
vendorId* | string | Vendor identifier string |
messageId | string | Message type identifier |
data | string | Custom data string (often JSON-encoded) |
{"message": "DataTransfer accepted by charger","chargeBoxId": "CHARGER-001","vendorId": "MyVendor","messageId": "GetDisplayMessage","status": "Accepted","responseData": "{\"text\": \"Hello\"}"}
Possible status values: Accepted, Rejected, UnknownMessageId, UnknownVendorId
Data transfer history
/api/v1/chargers/:chargeBoxId/data-transferList DataTransfer history (both incoming and outgoing) for a charger.
| Parameter | Type | Description |
|---|---|---|
limit | number | Results per page (default: 20, max: 100) |
{"chargeBoxId": "CHARGER-001","dataTransfers": [{"id": "dt_123","direction": "outgoing","vendorId": "MyVendor","messageId": "GetDisplayMessage","data": "{\"screen\": 1}","responseStatus": "Accepted","responseData": "{\"text\": \"Hello\"}","createdAt": "2026-02-10T14:00:00.000Z"}],"count": 1}