Base URLs
Production
Use for live customers, production data, and real payments.Sandbox
Use for development, integration testing, and test payments.
The Core API manages resources such as products, plans, customers, subscriptions, and checkout sessions. The Edge API serves latency-sensitive features such as entitlements and promotions.
Sandbox and production are isolated. API keys and data created in one environment do not work or appear in the other.
Authentication
Kelviq uses API keys. Send your Server API Key as a Bearer token when calling the API from your backend:Switching environments
For direct API calls, change the base URL and use the matching environment’s API key. Official Kelviq SDKs accept anenvironment option:
environment or set it to production for live traffic.
Pagination
List endpoints that support pagination use thepage and page_size query parameters.
Pagination defaults depend on the resource:
You can request fewer results by setting
page_size. Values above 100 are capped at 100.
Filtering
Search and filter parameters vary by endpoint and can be combined with pagination when supported. Use thesearch query parameter for free-text search and endpoint-specific query parameters for filtering.
Rate limits
To keep the API responsive for everyone, requests are rate limited per organization. The limit applies to all endpoints authenticated with a Server or Client API Key, and differs by environment:
The limit applies to your whole organization, not to an individual API key — Server and Client API Key requests share the same quota. Sandbox and production are isolated environments, so each maintains its own limit.
If you exceed the limit, the API returns a
429 Too Many Requests response with a Retry-After header indicating how many seconds to wait before retrying: