Requests and responses
Nozle APIs use JSON request and response bodies. Send:Pagination
Collection endpoints usepage and per_page query parameters. Paginated responses include metadata with the current page, adjacent pages, total pages, and total record count.
External identifiers
Prefer stable external identifiers from your own system when an endpoint accepts them. They make reconciliation easier and prevent your application from depending on database-generated UUIDs.Idempotency and retries
For metered events and credit operations, generate a unique transaction or idempotency identifier and reuse it when retrying the same logical operation. Do not generate a new identifier after a timeout unless you intend to create a second operation. Retry transient network failures and HTTP429 or 5xx responses with exponential backoff and jitter. Do not automatically retry validation or authorization failures.
Errors
Use the HTTP status code as the primary error category and log the response body for diagnosis. Common statuses include:
See Errors for retry guidance and application-safe handling.