Skip to main content
All current v2 API endpoints require bearer authentication.

Base URL

Required Headers

Example Request

Response Formats

Successful Requests

Successful responses return application/json.

Failed Requests

Failed requests return application/problem+json. Example:

Common Authentication Errors

Rate Limits

All v2 endpoints are rate limited per API key. Limits vary by endpoint, so check the individual endpoint page for the current enforced limit. When a request is rate limited, the API returns 429 Too Many Requests. Example:
If the gateway provides a Retry-After header, your client should wait that long before retrying. Our official libraries already help with this:
  • Sonoran.js automatically retries v2 CAD requests on 429 responses up to 2 times.
  • Sonoran.lua automatically retries v2 CAD requests on 429 responses up to 2 times.
  • Sonoran.Net automatically retries v2 CAD requests on 429 responses up to 2 times and respects Retry-After when it is provided.
  • Sonoran.py automatically retries v2 CAD requests on 429 responses up to 2 times and respects Retry-After when it is provided.
These retries are intentionally limited. High-frequency integrations should still avoid bursty request patterns and should respect the published per-endpoint limits.