Quickstart
Quickstart
Choose the API you want to get started with:
AV / Ride-Hail Analytics
Make your first analytics API call in under 2 minutes.
Prerequisites
- An Autolane account with at least one active site
- An API key with
analytics:readpermission (create one here)
1. Get today’s metrics
Example response:
2. Check occupancy trends
3. Explore the API Reference
See the full API Reference for all available endpoints, query parameters, and response schemas.
Common query parameters
All analytics endpoints accept these parameters:
Direct Delivery
Quote and create your first delivery in under 2 minutes. The flow is two-step: quote first, then create.
Prerequisites
- An Autolane API key with
deliveries:writepermission (create one here) - Your site UUID (the
x-retailer-idvalue), available in the Autolane Portal under your store’s settings
1. Request a quote
Example response:
The quote is valid for 5 minutes. If available is false, the response includes an unavailable_reason (e.g., OUT_OF_SERVICE_AREA) and you cannot promote it to a delivery.
2. Create the delivery
Use the same external_delivery_id to convert the quote into an active delivery:
The locked terms (price, ETAs) carry over from the quote.
3. Check delivery status
4. Set up webhooks (optional)
Register a webhook to receive real-time delivery status updates instead of polling:
Save the secret from the response — you will need it to verify webhook signatures.
5. Explore the API Reference
See the full Direct Delivery API Reference and Overview for authentication details, the delivery lifecycle, error codes, and webhook documentation.