GET
/
reservations
/
{reservation}
curl --request GET \
  --url https://api.chargeapi.co/v1/reservations/{reservation} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "object": "reservation",
  "cancellation_policy": {
    "free_until_before": 123,
    "type": "free_cancellation"
  },
  "charging_station": "<string>",
  "confirmed_at": 123,
  "connector_type": [
    "<string>"
  ],
  "created": 123,
  "currency": "<string>",
  "driver": "<string>",
  "earliest_start": 123,
  "failed_reason": "no_available_connectors",
  "ideal_end": 123,
  "ideal_start": 123,
  "latest_end": 123,
  "location": {
    "latitude": 123,
    "longitude": 123,
    "radius": 123
  },
  "metadata": {},
  "payment_method": "<string>",
  "reservation_fee": 123,
  "reserved_end": 123,
  "reserved_start": 123,
  "status": "pending",
  "updated": 123,
  "vehicle": "<string>"
}

Path Parameters

reservation
string
required

ID of the reservation to retrieve.

Query Parameters

expand
string[]

Optional fields to expand in the response, e.g., expand[]=charging_station.

Body

application/json · object

Response

200
application/json

Returns the Reservation object for a valid identifier. Raises an error if the reservation ID provided does not exist.