Skip to content

Endpoints

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.

MethodEndpointDescription
GET/api/v1/access/checkEvaluate access for a URL and identity
POST/api/v1/eventsSend up to 100 events
MethodEndpointDescription
POST/api/v1/auth/customers/registerRegister a customer with email and password
POST/api/v1/auth/customers/loginLog in and receive JWT + refresh token
POST/api/v1/auth/customers/refreshExchange a refresh token for a new token pair
POST/api/v1/auth/customers/logoutRevoke a refresh token
GET/api/v1/auth/customers/meGet customer profile (requires Bearer JWT)
GET/api/v1/subscriptions/meGet a customer’s active subscription (JWT or customerId param)
POST/api/v1/subscriptions/checkoutCreate a checkout session (JWT, customerId, or email)
POST/api/v1/subscriptions/portalCreate a Stripe customer-portal session (JWT or customerId)
MethodEndpointDescription
POST/api/v1/subscriptions/cancelMark an active subscription to cancel at period end
MethodEndpointDescription
GET/api/v1/productsList products with prices
POST/api/v1/productsCreate a product
PATCH/api/v1/products/:idUpdate a product
DELETE/api/v1/products/:idDelete a product
POST/api/v1/products/:id/pricesAdd a price
PATCH/api/v1/products/:id/prices/:priceIdUpdate a price
DELETE/api/v1/products/:id/prices/:priceIdDelete a price
GET/api/v1/paywallsList paywall rules
POST/api/v1/paywallsCreate a paywall rule
PATCH/api/v1/paywalls/:idUpdate a paywall rule
DELETE/api/v1/paywalls/:idDelete a paywall rule
GET/api/v1/customersList customers
POST/api/v1/customersCreate a customer
GET/api/v1/customers/:idGet a customer
PATCH/api/v1/customers/:idUpdate a customer
DELETE/api/v1/customers/:idDelete a customer
POST/api/v1/customers/:id/subscriptionAssign a manual subscription
DELETE/api/v1/customers/:id/subscriptionRemove an active subscription
GET/api/v1/segmentsList segments
POST/api/v1/segmentsCreate a segment
PATCH/api/v1/segments/:idUpdate a segment
DELETE/api/v1/segments/:idDelete a segment
GET/api/v1/segments/:id/customersList matching members
GET/api/v1/api-keysList API keys
POST/api/v1/api-keysCreate an API key pair
DELETE/api/v1/api-keys/:idDelete one API key
GET/api/v1/stats/overviewOverview counters
GET/api/v1/stripe/statusStripe connection status
POST/api/v1/stripeSave Stripe settings
POST/api/v1/stripe/syncRe-sync all products and prices to Stripe
DELETE/api/v1/stripeRemove Stripe settings
MethodEndpointDescription
GET/healthHealth check
POST/api/v1/webhooks/stripeStripe webhook endpoint