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 an Idempotency-Key header with every POST (a UUID is ideal; any 1 to 255 printable ASCII characters, no spaces). If the network fails, send the same request with the same key:
Idempotent-Replayed: true, and nothing is done twice;422 idempotency_key_reused;409 idempotency_in_progress; retry a moment later;curl -X POST "https://connect.rylixfleet.com/api/v1/orders/cm4w5r2xk0001s8z0a1b2c3d4/cancel" \
-H "Authorization: Bearer $RYLIX_API_KEY" \
-H "Idempotency-Key: 6f1d3c1e-8a52-4bb0-9d6f-3a3f7b6f2e10"
Creating an order replayed with the same key answers 200 with the order the first request created (the first answer was 201).
Webhook secrets: when you register a webhook endpoint, the signing secret is in the first answer only. A replay with the same key answers with "secret": null; store the secret from the first answer.