Appearance
Stage Fleet Services API · v1
One API to register your vehicles and reserve services across the PMC network, starting with parking. Search near a vehicle, reserve, and follow it from check-in to check-out.
How it works
Register your fleet once. Then request services whenever a vehicle needs them: search, reserve, and follow the reservation from check-in to check-out.
Create an API key, then add your vehicles one at a time or in batches of up to 1,000. Your ID and a license plate are all a vehicle needs.
Search for locations offering a service near your vehicle, reserve it for the time you need, and track the reservation through check-in and check-out.
One call
Every request uses your secret key: a key of your sandbox workspace while you build, a key of your production workspace once PMC approves your fleet. The key's workspace decides which data it works on.
201 means the reservation is confirmed. No polling, no pending state.Idempotency-Key and a retry after a timeout never reserves twice.curl https://fleet.parkingmgt.com/fleet/v1/reservations \
-H "Authorization: Bearer $STAGE_API_KEY" \
-H "Idempotency-Key: 0b9c2f7e-8f4b-4c1e-9a77-5d1c2b3a4e5f" \
-H "Content-Type: application/json" \
-d '{
"location": "eec93d2d-5729-441b-99b2-f764872ca895",
"vehicle": "7da8aca7-40fc-47d8-a1b1-2bb93405532d",
"service_id": "5f1c2a8e-3b47-4d9a-8e6f-1c2d3b4a5e60",
"start_at": "2026-11-02T14:00:00Z",
"end_at": "2026-11-02T17:00:00Z",
"external_reference": "trip-88213"
}'const API = 'https://fleet.parkingmgt.com/fleet/v1'
const res = await fetch(`${API}/reservations`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.STAGE_API_KEY}`,
'Idempotency-Key': crypto.randomUUID(),
'Content-Type': 'application/json'
},
body: JSON.stringify({
location: 'eec93d2d-5729-441b-99b2-f764872ca895',
vehicle: '7da8aca7-40fc-47d8-a1b1-2bb93405532d',
service_id: '5f1c2a8e-3b47-4d9a-8e6f-1c2d3b4a5e60',
start_at: '2026-11-02T14:00:00Z',
end_at: '2026-11-02T17:00:00Z',
external_reference: 'trip-88213'
})
})
const reservation = await res.json()Parking is the service available today. The time you request (start_at → end_at) decides whether it is a short stay between trips or an overnight stay.
Example
Driverless vehicle · idle parking
Every request and response, in order, for a fictional driverless fleet: search nearby, reserve until checked out, check in when it parks, and check out when the next ride is hailed.
Reference