A bay closes in one of two ways. A planned closure is announced ahead, and nobody is asked to leave for it. A sudden one closes the whole bay at once, and every vehicle there has to go. This guide covers both, and how to send a vehicle on.
Planned closures
The owner closes some spots, or the whole bay, for repairs or works, and tells us ahead. The closure shows in the bay's closures, soonest first:
{ "id": "bay_norreport", "object": "bay", "name": "Nørreport", "spots": 6, "status": "open", "closures": [ { "starts_at": "2026-11-09T06:00:00Z", "ends_at": "2026-11-09T14:00:00Z", "spots": ["P5", "P6"], "reason": "Resurfacing" } ]}spots is null when the closure covers the whole bay. ends_at is null until the owner knows when it ends. When a closure is added or changed, you receive bay.updated.
Nobody is asked to leave for a planned closure:
- A spot is not held for a time inside a closure. If no other spot is free then, reserving fails with
no_spot_available, orbay_closedwhen the closure covers the whole bay. - A vehicle that checks in gets a
leave_byno later than the start of a closure of its spot. - A closure never starts before the vehicles already checked in there have to leave.
If a closure is announced after you reserved, and your reservation is held for a time inside it, we cancel the reservation, as for a sudden closure below.
Sudden closures
The police close the street, or there is a fire. The bay's status becomes closed, for all of it at once, and you receive bay.closed. Every vehicle there has to go:
- A held reservation is cancelled, with
cancellation_reasonset tobay_closed. You receivereservation.cancelled. - A checked-in vehicle has to leave now. You receive
reservation.must_leave. The reservation stayschecked_in, withleave_bymoved to the moment the bay closed.
{ "id": "evt_4a9d27", "object": "event", "type": "reservation.must_leave", "created_at": "2026-11-02T14:15:00Z", "api_version": "2026-10-30", "data": { "object": { "id": "res_8f2c41", "object": "reservation", "vehicle_id": "rt-0417", "bay": "bay_norreport", "pick_up_zone": null, "spot": "P2", "status": "checked_in", "checked_in_at": "2026-11-02T14:01:37Z", "leave_by": "2026-11-02T14:15:00Z" }, "alternatives": [ { "object": "availability", "kind": "bay", "id": "bay_israels_plads", "name": "Israels Plads", "distance_m": 780, "room": 1 } ] }}Check the vehicle out as it pulls away. Until then, reserving a new spot for it fails with vehicle_already_reserved.
When the bay opens again, you receive bay.reopened.
Sending the vehicle on
reservation.cancelled and reservation.must_leave both carry data.alternatives: other bays nearby with room, in the same shape as Availability. Their distance_m is measured from the bay that closed.
To send the vehicle to one, reserve a spot there with the same vehicle_id, and an arrive_by that allows for the drive. room is not a hold: until you reserve, the spot can go to someone else. If the reservation fails with no_spot_available, its error carries a fresh alternatives list to try next.
To receive these events, register an endpoint that asks for them; see Receiving webhooks.