Rentals API

Get rental

Using the UUID of a rental, do a GET request to learn more about that specific rental.

GEThttps://api.airgarage.com/rentals/{uuid}

Path parameters

NameTypeDescription
uuidRequiredstringUUID of the rental, returned when it was created.

Headers

NameTypeDescription
X-Api-KeyRequiredstringYour access token.
Example requestbash
curl https://api.airgarage.com/rentals/hT4kQnW2xLmZ8vRbYc3dFa/ \
  -H "X-Api-Key: YOUR_API_KEY"
200 response (truncated)json
{
  "uuid": "hT4kQnW2xLmZ8vRbYc3dFa",
  "spot_uuid": "dB2YV5Ngco4f7uKjdnGqgQ",
  "spot_name": "Church of All Saints",
  "renter_email": "driver@example.com",
  "rental_type": "monthly",
  "start_date": 1625167463,
  "end_date": null,
  "cancelled_date": null,
  "source": "YourIntegration",
  "cars_detail": [
    { "pk": 812, "plate": "XY3BAC", "state": "CA", "country": "US" },
    { "pk": 813, "plate": "MR09E3", "state": "CA", "country": "US" }
  ],
  ...
}