Skip to content
EN | DE

Set a SoC-based charging plan

POST
/vehicles/{name}/plan/soc/{soc}/{timestamp}
curl --request POST \
--url https://demo.evcc.io/api/vehicles/vehicle_1/plan/soc/60/2026-04-15T12%3A00%3A00Z

Create charging plan with fixed time and SoC target.

More information

name
required

More information

string
>= 1 characters /[a-zA-Z0-9_.:-]+/
Example
vehicle_1

Vehicle name

soc
required

SOC in %

number
<= 100
Example
60

SOC in %

timestamp
required

Timestamp in RFC3339 format

string format: date-time

Timestamp in RFC3339 format

Success

Media typeapplication/json
object
soc

SOC in %

number
<= 100
time

Timestamp in RFC3339 format

string format: date-time
Example
{
"soc": 60
}