Source of truth: the live API reference and the OpenAPI document at
https://connect.rylixfleet.com/api/v1/openapi.json. If this wiki and they ever disagree, they win.
Send the key in the Authorization header on every request:
Authorization: Bearer rxk_…
| Situation | Answer |
|---|---|
| Missing, malformed, unknown or revoked key | 401 unauthorized |
| The business's plan does not include the API | 403 feature_off |
| The key lacks the scope the operation needs | 403 insufficient_scope (fields.scope names the scope) |
| The business is suspended, and the request is a write | 403 suspended |
| The business is read-only, and the request is a write | 403 read_only |
Reads keep working while a business is suspended or read-only. See Read-only and suspended accounts.
A key acts for the whole business (organization-wide): it reads and creates orders and locations for every branch.
| Scope | Allows |
|---|---|
orders:read |
List orders, read one order, its status and tracking link. |
orders:write |
Create and cancel orders. |
locations:read |
List pickup locations. |
locations:write |
Add pickup locations. |
webhooks:manage |
List, register, read, change and delete webhook endpoints; send test events, preview payloads and read the webhook catalog. |
Give each key only the scopes it needs. To change a key's scopes, create a new key and revoke the old one.
A fleet company account (one that supplies riders to other businesses) owns no orders, so the order endpoints answer 403 feature_off for it. See Account types.