Installation
Prerequisites
Section titled “Prerequisites”- Access to the Fleet Cockpit for your company, with permission to create or rotate Platform API credentials.
- HTTPS from the environment where your integration runs.
Get a platform API key
Section titled “Get a platform API key”- Sign in to the Fleet Cockpit.
- Open the company settings, where Platform API keys are managed.
- Create a credential and copy the secret once. Store it in a secret manager or environment variable. Never commit it to source control.
- Pick the key’s scope: READ (every GET) or WRITE (also POST, PATCH, and DELETE).
If a secret is exposed, rotate or revoke it from the same place.
Base URL
Section titled “Base URL”| Environment | Host | Path prefix |
|---|---|---|
| Production | https://api.fleet.co |
/platform/v1 |
| Sandbox | https://demo-api.fleet.co |
/platform/v1 |
First request
Section titled “First request”Call any GET operation from the API reference, for example GET /platform/v1/users?limit=1, with the header Authorization: Bearer <your_secret>.
A successful read returns 200 and JSON with a data object or array (plus meta for paginated lists). A missing, invalid, or revoked secret returns 401.
Hosted OpenAPI schema
Section titled “Hosted OpenAPI schema”Each host also serves the schema and an interactive explorer:
- OpenAPI JSON:
https://api.fleet.co/platform/v1/openapi.json - Swagger UI:
https://api.fleet.co/platform/v1/swagger
Use the same paths on https://demo-api.fleet.co for the sandbox. You can import openapi.json into Postman, Insomnia, or a client generator; every operation has an operationId.
Next steps
Section titled “Next steps”- Authentication & scopes — scopes and rate limits.
- Requests & responses — envelopes and errors.

