Authentication & scopes
Bearer token
Section titled “Bearer token”Send the platform API secret as a Bearer token on every request:
Authorization: Bearer <platform_api_secret>Treat the secret like a password: use TLS, store it in a vault or env vars, and rotate it if exposed. A missing, invalid, or revoked secret returns 401 with the plain-text body Unauthorized.
Your company
Section titled “Your company”The credential is issued for your Fleet company. Every resource is scoped to that company. You never pass a company id in requests.
READ vs WRITE
Section titled “READ vs WRITE”| Scope | What you can do |
|---|---|
| READ | Every GET operation. |
| WRITE | Everything READ can do, plus every POST, PATCH, and DELETE operation. |
Calling a POST, PATCH, or DELETE with a READ key returns 403 with { "error": "INSUFFICIENT_SCOPE" }.
Rate limits
Section titled “Rate limits”Limits are counted per platform API credential over a 1-minute window:
| Environment | Max requests per minute |
|---|---|
Production (api.fleet.co) |
100 |
Sandbox (demo-api.fleet.co) |
300 |
Responses carry the standard RateLimit-* headers. Over the limit, the API returns 429 with a plain-text body; wait for the reset the headers give.
If Fleet’s rate-limit backend is unavailable, the API returns 503 with { "message": "..." }. Retry with a short backoff.
See also
Section titled “See also”- Installation — obtaining a key.
- Requests & responses — JSON shapes and errors.

