Skip to main content

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

Main endpoint groups live under:

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.
  • nextPaymentDate is the authoritative renewal date; monthly schedules preserve their original calendar-day anchor.
  • status supports soft lifecycle changes: active, paused, and cancelled.
  • 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:

Endpoints

API reference

Use the generated API Reference for endpoint schemas, parameters, and response examples.