Fleetwire Partner API: Vehicles and rentals API
Plates to watch, and which rental had a car at a given time.
Plates to watch, and which rental had a car at a given time.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/fleetwire:fleetwire-partner-api-vehicles-and-rentals-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: 'Fleetwire Partner API: Vehicles and rentals API'
version: 2.0.0
contact:
name: Fleetwire
email: hi@fleetwire.io
description: '# Fleetwire API
Read your fleet''s listings, availability and bookings, and block dates or change booking status from your own systems. ## Authentication
Create a token in the dashboard under **Settings → Security → API Tokens**: https://app.fleetwire.io/settings/security/api-tokens
Send it as a bearer token on every request:
```
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
```
A token acts as the user who created it, scoped to that user''s company. Treat it like a password: keep it server-side, never put it in browser or mobile code, and delete it from the dashboard if it leaks. ## Token scopes
When you create a token you choose its access:
| Access | Scopes | Can |
|---|---|---|
| Full access | `*` | Everything the user can do. Use this for Zapier. |
| Read only | `read` | Every `GET` endpoint |
| Custom | `read` plus any of the below | Read, plus the writes you pick |
Write scopes:
- `bookings:write` — booking status, blocked dates, notes, payment requests
- `customers:write` — create and update customers
- `webhooks:write` — create, change and delete webhook endpoints
- `pricing:write` — set and clear per-day listing prices
A request outside the token''s scopes gets `403` with the missing scope in `message`. Scopes narrow a token; they never grant more than the user who created it has. ## Plan requirement
Reading works on every paid plan and during a free trial: any `GET`, with a token that has `read`. Changing data (any request that needs a write scope such as `bookings:write`) needs the **Premium** plan. Both cases are refused with `402 Payment Required`. Without an active subscription:
```json
{ "success": false, "message": "No subscription", "errors": ["You do not have an active subscription"] }
```
A write request on a plan below Premium:
```json
{ "success": false, "message": "Your subscription does not support this feature.", "errors": ["Your subscription does not support this feature."] }
```
## Base URL
`https://api.fleetwire.io/api/v2`
## Rate limits
200 requests per minute per token. Over the limit you receive `429 Too Many Requests` with a `Retry-After` header. ## Errors
| Status | Meaning |
|---|---|
| 401 | Missing or invalid token |
| 402 | No active subscription, or a write request on a plan below Premium |
| 403 | The token''s user lacks permission for this action |
| 404 | Record not found, or it belongs to another company |
| 422 | Validation failed — see `errors` for the field messages |
| 429 | Rate limited |
Validation errors look like:
```json
{ "message": "The trip end field is required.", "errors": { "trip_end": ["The trip end field is required."] } }
```
## Dates and times
`trip_start` / `trip_end` are local wall-clock times (`YYYY-MM-DD HH:MM:SS`) in the listing''s timezone, returned alongside as `timezone`. `created_at` / `updated_at` are UTC ISO 8601. Money values are in **cents**. ## Webhooks
Rather than polling, register an endpoint (see the **Webhooks** folder) and Fleetwire POSTs a JSON body to it when something happens. Events:
| Event | When |
|---|---|
| `reservation.created` | A booking is made, or a request is approved |
| `reservation.requested` | A booking request needs your approval |
| `reservation.canceled` | A booking is canceled |
| `booking.updated` | Dates, vehicle, customer or total change. `changed` lists the fields. |
| `booking.status_changed` | Any status change. Includes `previous_status`. |
| `trip.started` | A booking is marked started |
| `trip.ended` | A started trip is returned or completed |
| `payment.processed` | A payment succeeds |
| `payment.failed` | A charge is declined |
| `payment.refunded` | A payment is refunded |
| `customer.created` | A customer is added |
| `customer.updated` | A customer''s name, email, phone, birth date or address changes. `changed` lists the fields.'
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
security:
- apiToken: []
tags:
- name: 'Partner API: Vehicles and rentals'
description: Plates to watch, and which rental had a car at a given time.
paths:
/partners/v1/companies/{company_id}/vehicles:
get:
tags:
- 'Partner API: Vehicles and rentals'
operationId: partnerListVehicles
summary: List vehicles
description: The company's vehicles and their plates, one row per car. A listing with several identical units returns one row per unit, each with its own plate and `unit_id`, so `listing_id` can repeat. Paginated.
parameters:
- $ref: '#/components/parameters/PartnerCompanyId'
- name: page
in: query
schema:
type: integer
minimum: 1
default: 1
- name: per_page
in: query
schema:
type: integer
minimum: 1
maximum: 500
default: 100
responses:
'200':
description: One page of vehicles.
content:
application/json:
schema:
type: object
required:
- data
- meta
properties:
data:
type: array
items:
$ref: '#/components/schemas/PartnerVehicle'
meta:
$ref: '#/components/schemas/PartnerPageMeta'
'401':
$ref: '#/components/responses/PartnerInvalidKey'
'404':
$ref: '#/components/responses/PartnerCompanyNotConnected'
'429':
$ref: '#/components/responses/PartnerRateLimited'
security:
- partnerKey: []
/partners/v1/companies/{company_id}/rentals:
get:
tags:
- 'Partner API: Vehicles and rentals'
operationId: partnerFindRental
summary: Find rentals
description: 'Rentals, with no renter details. Two ways to ask:
- **One lookup:** `plate` and `at` return the rental that had that plate at that moment, or an empty list. Optional: if you skip it, Fleetwire matches charges by plate and time itself.
- **A period:** `from` and `to` (at most 93 days apart) return every rental whose trip overlaps the window, paginated, cancelled ones included. Use it for per-rental fees such as a registration fee.
Send one pair or the other, not both. Unconfirmed booking requests are never listed.'
parameters:
- $ref: '#/components/parameters/PartnerCompanyId'
- name: plate
in: query
description: 'With `at`: the plate to look up.'
schema:
type: string
maxLength: 20
example: K72LMX
- name: at
in: query
description: 'With `plate`: the moment to look up.'
schema:
type: string
format: date-time
example: '2026-10-10T18:12:00Z'
- name: from
in: query
description: 'With `to`: start of the period. e.g. `2026-10-01T00:00:00Z`.'
schema:
type: string
format: date-time
- name: to
in: query
description: 'With `from`: end of the period, at most 93 days after `from`. e.g. `2026-10-31T23:59:59Z`.'
schema:
type: string
format: date-time
- name: page
in: query
description: Period only.
schema:
type: integer
minimum: 1
default: 1
- name: per_page
in: query
description: Period only.
schema:
type: integer
minimum: 1
maximum: 500
default: 100
responses:
'200':
description: The matching rentals. `meta` is present for a period.
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/PartnerRental'
meta:
$ref: '#/components/schemas/PartnerPageMeta'
examples:
lookup:
summary: One lookup (plate and at)
value:
data:
- rental_id: b_EXAMPLE1
listing_id: l_EXAMPLE1
plate: K72-LMX
status: in_progress
timezone: America/New_York
starts_at: '2026-10-08T10:00:00-04:00'
ends_at: '2026-10-12T10:00:00-04:00'
period:
summary: A period (from and to)
value:
data:
- rental_id: b_EXAMPLE1
listing_id: l_EXAMPLE1
plate: K72-LMX
status: in_progress
timezone: America/New_York
starts_at: '2026-10-08T10:00:00-04:00'
ends_at: '2026-10-12T10:00:00-04:00'
- rental_id: b_EXAMPLE2
listing_id: l_EXAMPLE1
plate: K72-LMX
status: canceled
timezone: America/New_York
starts_at: '2026-10-20T10:00:00-04:00'
ends_at: '2026-10-22T10:00:00-04:00'
meta:
page: 1
next_page: null
'401':
$ref: '#/components/responses/PartnerInvalidKey'
'404':
$ref: '#/components/responses/PartnerCompanyNotConnected'
'422':
$ref: '#/components/responses/PartnerValidationFailed'
'429':
$ref: '#/components/responses/PartnerRateLimited'
security:
- partnerKey: []
components:
responses:
PartnerCompanyNotConnected:
description: Unknown company, or it hasn't turned you on, or turned you off. Stop sending for this company.
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerError'
example:
error:
code: company_not_connected
message: This company has not turned on your integration, or has turned it off. Stop sending for this company.
PartnerRateLimited:
description: More than 600 requests in a minute. Wait for the `Retry-After` header (seconds).
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Too Many Attempts.
PartnerInvalidKey:
description: Missing, wrong or revoked partner key.
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerError'
example:
error:
code: invalid_key
message: Missing or unknown partner key.
PartnerValidationFailed:
description: The request is invalid. `error.fields` lists each problem.
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerError'
example:
error:
code: validation_failed
message: The request is invalid.
fields:
occurred_at:
- This happened outside that rental_id's trip.
parameters:
PartnerCompanyId:
name: company_id
in: path
required: true
description: The Fleetwire company ID from `GET /companies`.
schema:
type: string
format: uuid
example: 9b1d6c3e-2f4a-4b8e-9c71-5d0e8a3f2b11
schemas:
PartnerRental:
type: object
required:
- rental_id
- listing_id
- plate
- status
- timezone
- starts_at
- ends_at
- toll_plan
properties:
rental_id:
type: string
example: b_EXAMPLE1
listing_id:
type: string
example: l_EXAMPLE1
plate:
type:
- string
- 'null'
example: K72-LMX
status:
type: string
enum:
- booked
- in_progress
- completed
- canceled
description: '`canceled` rentals are listed by period so you can reverse a per-rental fee.'
timezone:
type: string
example: America/New_York
starts_at:
type: string
format: date-time
example: '2026-10-08T10:00:00-04:00'
ends_at:
type: string
format: date-time
example: '2026-10-12T10:00:00-04:00'
toll_plan:
type:
- string
- 'null'
enum:
- unlimited
- activation_plus_toll
- pay_per_use
- null
example: activation_plus_toll
description: 'How the renter pays for tolls on this rental. `unlimited`: don''t add individual tolls. `activation_plus_toll`: send each actual toll. `pay_per_use`: send each toll, with your fee in `provider_fee_cents` if you charge one. `null`: the rental company hasn''t set a plan, so hold the toll for review. The rental company sets a default and can change it per rental. Treat a value you don''t recognize like `null`.'
source:
type:
- string
- 'null'
example: direct
description: 'Where the rental was booked: `direct` (through Fleetwire), `turo`, `getaround`, `outdoorsy`, `hirecar`, `shair` or `hq_rentals`. Marketplace trips such as Turo are billed through the marketplace, so use it to leave per-rental fees off them. New values may be added later; `null` means unknown.'
PartnerPageMeta:
type: object
required:
- page
- next_page
properties:
page:
type: integer
example: 1
next_page:
type:
- integer
- 'null'
description: '`null` on the last page.'
example: null
PartnerVehicle:
type: object
required:
- listing_id
- name
- unit_id
- plate
- plate_state
- vin
- year
- make
- model
properties:
listing_id:
type: string
example: l_EXAMPLE1
name:
type: string
example: 2022 Tesla Model 3
unit_id:
type:
- string
- 'null'
description: The rental company's own name for this car (for example `CAMRY-2`), when they have given it one. On a listing with several identical cars it tells the rows apart.
example: CAMRY-2
plate:
type:
- string
- 'null'
example: K72-LMX
plate_state:
type:
- string
- 'null'
description: State or province on the plate, when the rental company has entered it.
example: NJ
vin:
type:
- string
- 'null'
example: 5YJ3E1EA7KF317000
year:
type:
- integer
- 'null'
example: 2022
make:
type:
- string
- 'null'
example: Tesla
model:
type:
- string
- 'null'
example: Model 3
PartnerError:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- invalid_key
- company_not_connected
- not_found
- external_id_conflict
- validation_failed
message:
type: string
fields:
type: object
description: Present only on `validation_failed`. Each invalid field with its problems.
additionalProperties:
type: array
items:
type: string
securitySchemes:
apiToken:
type: http
scheme: bearer
description: 'An API token from **Settings → API tokens** in Fleetwire, sent as `Authorization: Bearer …`. Each token carries scopes: `read` for every GET, plus write scopes such as `bookings:write`.'
partnerKey:
type: http
scheme: bearer
description: 'Your partner key, starting with `fwp_`, sent as `Authorization: Bearer fwp_…`. Keep it server-side.
Fleetwire can rotate it at any time; the old key stops working as soon as a new one is issued.
'