Skip to content

Rate a charging session​

POST
/ratings

Rate a completed charging session with a whole number of stars (1-5), optionally with extra rating options, a note, and image URLs. A user can rate each of their charging sessions once; submitting again updates the rating.

Authorizations​

bearerAuth

Generate an API token here

Type
HTTP (bearer)

Parameters​

Header Parameters

compatibility-date*

API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.

Type
string
Required
Example"2025-11-02"
Pattern
^\d{4}-\d{2}-\d{2}$

Request Body​

application/json
Min Length1
Minimum1
Maximum5
Max Length2000
Max Items5

Responses​

Returns the created or updated rating of the charging session

application/json

Playground​

Authorization
Headers
Body

Samples​