Skip to main content
Bily returns standard HTTP status codes with JSON error bodies, so your application can choose the right recovery step.
An unexpected server error can also include its request ID:

Act on each status

Keep the request ID

Every response includes x-request-id. Record it with the operation and timestamp. You can send a safe correlation value in x-request-id or x-correlation-id. Bily returns the selected value as x-request-id.
Keep customer data, credentials, and secrets out of request IDs.

Retry only when safe

Retry idempotent GET requests after transient 429, 500, 502, or 504 responses. Add jitter to capped exponential backoff. Do not automatically retry create, clone, update, toggle, delete, sync, or other mutation requests. First read the affected resource and confirm that the original write did not succeed.