The interactive reference at /docs on your API instance is still the best place to inspect schemas. This page summarizes the implemented route surface and auth model.
| Method | Endpoint | Description |
|---|
GET | /api/v1/public/access/check | Evaluate access for a URL and identity |
POST | /api/v1/public/events | Send up to 100 events |
GET | /api/v1/public/products | List active products and prices (limited fields) |
GET | /api/v1/public/branding | Get public branding |
| Method | Endpoint | Description |
|---|
POST | /api/v1/customer/auth/register | Register a customer with email and password |
POST | /api/v1/customer/auth/login | Log in and receive JWT + refresh token |
POST | /api/v1/customer/auth/refresh | Exchange a refresh token for a new token pair |
POST | /api/v1/customer/auth/logout | Revoke a refresh token |
GET | /api/v1/customer/auth/me | Get customer profile (requires Bearer JWT) |
GET | /api/v1/customer/subscriptions/me | Get a customer’s subscription (JWT with pk_; customerId or JWT with sk_) |
POST | /api/v1/customer/subscriptions/checkout | Create a checkout session (JWT, guest email, or customerId with sk_) |
POST | /api/v1/customer/subscriptions/portal | Create a Stripe customer-portal session (JWT with pk_; customerId or JWT with sk_) |
The operations below, including subscription cancellation, are scoped to the validated key’s publication or the session’s active organization.
| Method | Endpoint | Description |
|---|
GET | /api/v1/admin/products | List products with prices |
POST | /api/v1/admin/products | Create a product |
PATCH | /api/v1/admin/products/:id | Update a product |
DELETE | /api/v1/admin/products/:id | Delete a product |
POST | /api/v1/admin/products/:id/prices | Add a price |
PATCH | /api/v1/admin/products/:id/prices/:priceId | Update a price |
DELETE | /api/v1/admin/products/:id/prices/:priceId | Delete a price |
GET | /api/v1/admin/paywalls | List paywall rules |
POST | /api/v1/admin/paywalls | Create a paywall rule |
PATCH | /api/v1/admin/paywalls/:id | Update a paywall rule |
DELETE | /api/v1/admin/paywalls/:id | Delete a paywall rule |
GET | /api/v1/admin/customers | List customers |
POST | /api/v1/admin/customers | Create a customer |
GET | /api/v1/admin/customers/:id | Get a customer |
PATCH | /api/v1/admin/customers/:id | Update a customer |
DELETE | /api/v1/admin/customers/:id | Delete a customer |
POST | /api/v1/admin/customers/:id/subscription | Assign a manual subscription |
DELETE | /api/v1/admin/customers/:id/subscription | Remove an active subscription |
GET | /api/v1/admin/segments | List segments |
POST | /api/v1/admin/segments | Create a segment |
PATCH | /api/v1/admin/segments/:id | Update a segment |
DELETE | /api/v1/admin/segments/:id | Delete a segment |
GET | /api/v1/admin/segments/:id/customers | List matching members |
GET | /api/v1/admin/stats/overview | Overview counters |
POST | /api/v1/admin/subscriptions/cancel | Mark a subscription to cancel at period end |
| Method | Endpoint | Description |
|---|
GET | /api/v1/account/api-keys | List API keys |
POST | /api/v1/account/api-keys | Create an API key pair |
DELETE | /api/v1/account/api-keys/:id | Delete one API key |
GET | /api/v1/account/stripe/status | Stripe connection status |
POST | /api/v1/account/stripe | Save Stripe settings |
POST | /api/v1/account/stripe/sync | Re-sync all products and prices to Stripe |
DELETE | /api/v1/account/stripe | Remove Stripe settings |
| Method | Endpoint | Description |
|---|
GET | /health | Health check |
POST | /api/v1/webhooks/stripe | Stripe webhook endpoint |