Fleetwire Partner API Vehicles And Rentals API

Plates to watch, and which rental had a car at a given time.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /partners/v1/companies/{company_id}/vehicles List vehicles #
GET /partners/v1/companies/{company_id}/rentals Find rentals #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fleetwire:fleetwire-partnerapivehiclesandrentals-api"
All apis
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.

Get an API 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 Specification

fleetwire-partnerapivehiclesandrentals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Partner API Vehicles And Rentals API
  version: 1.0.0
  description: Plates to watch, and which rental had a car at a given time.
servers:
- url: https://api.fleetwire.io/api
  description: Production
- url: https://staging.fleetwire.io/api
  description: Sandbox (Partner API)
tags:
- name: partnerApiVehiclesAndRentals
  description: Plates to watch, and which rental had a car at a given time.
paths:
  /partners/v1/companies/{company_id}/vehicles:
    get:
      operationId: partnerApiVehiclesAndRentals_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.
      tags:
      - partnerApiVehiclesAndRentals
      parameters:
      - name: company_id
        in: path
        description: The Fleetwire company ID from `GET /companies`.
        required: true
        schema:
          type: string
          format: uuid
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 500
          default: 100
      responses:
        '200':
          description: One page of vehicles.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Partner_API__Vehicles_and_rentals_partnerListVehicles_Response_200'
        '401':
          description: Missing, wrong or revoked partner key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerError'
        '404':
          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'
        '429':
          description: More than 600 requests in a minute. Wait for the `Retry-After` header (seconds).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerListVehiclesRequestTooManyRequestsError'
      security:
      - partnerKey: []
  /partners/v1/companies/{company_id}/rentals:
    get:
      operationId: partnerApiVehiclesAndRentals_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.'
      tags:
      - partnerApiVehiclesAndRentals
      parameters:
      - name: company_id
        in: path
        description: The Fleetwire company ID from `GET /companies`.
        required: true
        schema:
          type: string
          format: uuid
      - name: plate
        in: query
        description: 'With `at`: the plate to look up.'
        required: false
        schema:
          type: string
          maxLength: 20
      - name: at
        in: query
        description: 'With `plate`: the moment to look up.'
        required: false
        schema:
          type: string
          format: date-time
      - name: from
        in: query
        description: 'With `to`: start of the period. e.g. `2026-10-01T00:00:00Z`.'
        required: false
        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`.'
        required: false
        schema:
          type: string
          format: date-time
      - name: page
        in: query
        description: Period only.
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: per_page
        in: query
        description: Period only.
        required: false
        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:
                $ref: '#/components/schemas/Partner_API__Vehicles_and_rentals_partnerFindRental_Response_200'
        '401':
          description: Missing, wrong or revoked partner key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerError'
        '404':
          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'
        '422':
          description: The request is invalid. `error.fields` lists each problem.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerError'
        '429':
          description: More than 600 requests in a minute. Wait for the `Retry-After` header (seconds).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerFindRentalRequestTooManyRequestsError'
      security:
      - partnerKey: []
components:
  schemas:
    PartnerRentalStatus:
      type: string
      enum:
      - booked
      - in_progress
      - completed
      - canceled
      description: '`canceled` rentals are listed by period so you can reverse a per-rental fee.'
      title: PartnerRentalStatus
    PartnerFindRentalRequestTooManyRequestsError:
      type: object
      properties:
        message:
          type: string
      title: PartnerFindRentalRequestTooManyRequestsError
    PartnerVehicle:
      type: object
      properties:
        listing_id:
          type: string
        name:
          type: string
        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.
        plate:
          type:
          - string
          - 'null'
        plate_state:
          type:
          - string
          - 'null'
          description: State or province on the plate, when the rental company has entered it.
        vin:
          type:
          - string
          - 'null'
        year:
          type:
          - integer
          - 'null'
        make:
          type:
          - string
          - 'null'
        model:
          type:
          - string
          - 'null'
      required:
      - listing_id
      - name
      - unit_id
      - plate
      - plate_state
      - vin
      - year
      - make
      - model
      title: PartnerVehicle
    Partner_API__Vehicles_and_rentals_partnerListVehicles_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PartnerVehicle'
        meta:
          $ref: '#/components/schemas/PartnerPageMeta'
      required:
      - data
      - meta
      title: 'Partner API: Vehicles and rentals_partnerListVehicles_Response_200'
    PartnerRentalTollPlan:
      type: string
      enum:
      - unlimited
      - activation_plus_toll
      - pay_per_use
      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`.'
      title: PartnerRentalTollPlan
    PartnerRental:
      type: object
      properties:
        rental_id:
          type: string
        listing_id:
          type: string
        plate:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/PartnerRentalStatus'
          description: '`canceled` rentals are listed by period so you can reverse a per-rental fee.'
        timezone:
          type: string
        starts_at:
          type: string
          format: date-time
        ends_at:
          type: string
          format: date-time
        toll_plan:
          $ref: '#/components/schemas/PartnerRentalTollPlan'
          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'
          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.'
      required:
      - rental_id
      - listing_id
      - plate
      - status
      - timezone
      - starts_at
      - ends_at
      - toll_plan
      title: PartnerRental
    PartnerErrorError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/PartnerErrorErrorCode'
        message:
          type: string
        fields:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Present only on `validation_failed`. Each invalid field with its problems.
      required:
      - code
      - message
      title: PartnerErrorError
    PartnerPageMeta:
      type: object
      properties:
        page:
          type: integer
        next_page:
          type:
          - integer
          - 'null'
          description: '`null` on the last page.'
      required:
      - page
      - next_page
      title: PartnerPageMeta
    PartnerListVehiclesRequestTooManyRequestsError:
      type: object
      properties:
        message:
          type: string
      title: PartnerListVehiclesRequestTooManyRequestsError
    Partner_API__Vehicles_and_rentals_partnerFindRental_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/PartnerRental'
        meta:
          $ref: '#/components/schemas/PartnerPageMeta'
      required:
      - data
      title: 'Partner API: Vehicles and rentals_partnerFindRental_Response_200'
    PartnerError:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/PartnerErrorError'
      required:
      - error
      title: PartnerError
    PartnerErrorErrorCode:
      type: string
      enum:
      - invalid_key
      - company_not_connected
      - not_found
      - external_id_conflict
      - validation_failed
      title: PartnerErrorErrorCode
  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.

        '