Skip to content

Requests & responses

All platform endpoints share the path prefix /platform/v1. Combine it with your host (for example https://api.fleet.co) to build full URLs.

Path identifiers (order_id, user_id, device_id, product_id, product_group_id, …) are strings matching a positive integer with no leading zeros (for example 42, not 042).

List operations accept limit and offset. Defaults and max values vary by resource.
The response meta object repeats total, limit, and offset.

  • Single resource: top-level data is one object.
  • List: data is an array and meta carries pagination fields.
  • Batch device create: data wraps a devices array; the status code is 201.

For exact field names and nested objects, use the API reference.

  • Domain / business rules: usually { "error": "SOME_CODE" } with stable codes (for example ORDER_NOT_FOUND, INSUFFICIENT_SCOPE, USER_EMAIL_CONFLICT).
  • Validation: typically 400 with { "error": "<readable message>" } when query or body does not match schema.

For POST and PATCH, send Content-Type: application/json, unless an operation says otherwise.

Platform routes are rate-limited per credential (see Authentication & scopes for production vs non-production limits and 429 / 503 behavior).