Carsan for AI agents
Carsan rents cars in Los Angeles and Miami. An agent can search cars, check dates, and get prices without an account.
With an API key that the customer creates, the agent works on that customer's account. Payment, card addition, extension, and identity verification always stay with the customer.
What an agent can do
Without a key
- Search cars by city (
la,miami) and dates. - Read car details.
- Get a price quote for dates and options.
With the customer's API key
- Read the profile, verification status, trips, trip costs, invoices, and the saved card's brand and last four digits.
- Get customer links for payment, card addition, and extension.
- Create and cancel reservations under the normal rules (
booking_writekeys only).
Customer only
- Sign up, start and complete identity verification (KYC).
- Pay, add a card, and confirm an extension in the Carsan app.
- Create and revoke API keys.
Search and price without an account
Send no credentials on these calls. Dates are car-local YYYY-MM-DDTHH:MM: Los Angeles uses America/Los_Angeles, Miami uses America/New_York. Amounts are integer USD cents.
Search (sample data)
Result
Quote the dates and options
Result
final_total excludes the refundable deposit; deposit_cents is separate. A quote does not hold the car or guarantee a later price.
Continue with the customer's account
- The customer signs up at app.carsan.com.
- The customer opens Settings → API Keys and creates a key.
read_onlyreads the account;booking_writealso creates and cancels reservations. - The customer gives the key to the agent. It is shown once.
- The agent sends it as
Authorization: Bearer carsan_YOUR_API_KEYorX-API-Key: carsan_YOUR_API_KEY.
An API key is not driver approval. The customer starts and completes verification personally.
Customer actions
For payment, card addition, or extension the API returns a Carsan link. The link executes nothing and carries no key.
Payment link response (sample)
- Give the
urlto the customer. - The customer opens it, logs in if needed, reviews current details, and confirms.
- Read
GET /my/reservation/00000000-0000-4000-8000-000000000001again to report the actual result. A generated or visited link is not completion.