Public API overview
The v1 public API exposes subscription lifecycle management, analytics, and audit access through Developer API keys. It is designed for scripts, agents, automation tools, and third-party integrations.Base path
Design choices
- API responses are JSON.
- Request and response field names use camelCase.
- Database-managed fields are read-only.
- The API key owner determines the user scope.
- Every subscription query is filtered by the authenticated API key owner.
nextPaymentDateis the authoritative renewal date; monthly schedules preserve their original calendar-day anchor.statussupports soft lifecycle changes:active,paused, andcancelled.- Analytics endpoints report totals per currency and never convert across currencies.
- Audit endpoints expose write history for public API create, update, and delete operations.
- Write operations return AI-readable validation errors when a specific field can be corrected.
AI-ready artifacts
Use these files when connecting an AI assistant or agent framework:Default plan limits
You can override defaults with server-only environment variables: