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).
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.
openapi: 3.2.0
info:
title: Reference Partner API Companies API
version: 1.0.0
description: The rental companies that turned your integration on.
servers:
- url: https://api.fleetwire.io/api
description: Production
- url: https://staging.fleetwire.io/api
description: Sandbox (Partner API)
tags:
- name: partnerApiCompanies
description: The rental companies that turned your integration on.
paths:
/partners/v1/companies:
get:
operationId: partnerApiCompanies_partnerListCompanies
summary: List companies
description: The companies that have you turned on.
tags:
- partnerApiCompanies
responses:
'200':
description: Companies with your integration on.
content:
application/json:
schema:
$ref: '#/components/schemas/Partner_API__Companies_partnerListCompanies_Response_200'
'401':
description: Missing, wrong or revoked partner key.
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/PartnerListCompaniesRequestTooManyRequestsError'
security:
- partnerKey: []
components:
schemas:
Partner_API__Companies_partnerListCompanies_Response_200:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/PartnerCompany'
required:
- data
title: 'Partner API: Companies_partnerListCompanies_Response_200'
PartnerCompany:
type: object
properties:
company_id:
type: string
format: uuid
name:
type: string
activated_at:
type:
- string
- 'null'
format: date-time
description: When the company turned you on.
required:
- company_id
- name
- activated_at
title: PartnerCompany
PartnerListCompaniesRequestTooManyRequestsError:
type: object
properties:
message:
type: string
title: PartnerListCompaniesRequestTooManyRequestsError
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
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.
'