Skip to content

Stage Fleet Services API · v1

Fleet services, on cue.

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.

  • Access through PMC sales
  • Sandbox and production workspaces
  • Idempotent requests
  • Signed webhooks

How it works

Two steps, then you're live

Register your fleet once. Then request services whenever a vehicle needs them: search, reserve, and follow the reservation from check-in to check-out.

1

Register your fleet

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.

2

Request services

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

Reserve a service in one request

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.

  • Capacity is held synchronouslyA 201 means the reservation is confirmed. No polling, no pending state.
  • Access comes with itDirections to the fleet spaces, ready for the driver or the vehicle.
  • Safe to retrySend an Idempotency-Key and a retry after a timeout never reserves twice.
sh
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"
  }'
js
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

See a whole reservation, end to end

Driverless vehicle · idle parking

A robotaxi stages between rides, then leaves when dispatch calls

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.

  1. Search locations near the vehicle
  2. Reserve the closest fit, open-ended
  3. Check in when it parks
  4. Check out when hailed

Reference

Everything else you need

Webhooks

Signed events for every reservation status change.

Conventions

IDs, pagination, idempotency, and errors.

Changelog

What changed in each version of the API.