Skip to content

Installation

  • 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.
  1. Sign in to the Fleet Cockpit.
  2. Open the company settings, where Platform API keys are managed.
  3. Create a credential and copy the secret once. Store it in a secret manager or environment variable. Never commit it to source control.
  4. 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.

Environment Host Path prefix
Production https://api.fleet.co /platform/v1
Sandbox https://demo-api.fleet.co /platform/v1

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.

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.