API Reference

Prolifi Public API — programmatic access to billing, subscriptions, and entitlements

View as Markdown

The Prolifi Public API lets you integrate subscription billing, customer management, usage metering, and entitlement checks directly into your application.

Base URL

https://api.prolifi.co/api/v1/public

Quick start

  1. Generate API keys from the Prolifi dashboard (Settings > API Keys)
  2. Use your secret key (sk_test_*) for server-side integrations
  3. Make your first request:
$curl https://api.prolifi.co/api/v1/public/plans \
> -H "Authorization: Bearer sk_test_your_key_here"

Resources

API endpoints

The API is organized around six resource types:

ResourceEndpointsDescription
PlansGET /plans, GET /plans/{id}Browse the product catalog (read-only)
CustomersPOST, GET, PATCH, DELETE /customersManage customer records
SubscriptionsPOST, GET, PATCH, DELETE /subscriptionsCreate and manage subscriptions
InvoicesGET /invoices, POST /invoices/{id}/finalize, POST /invoices/{id}/voidInvoice management
Usage EventsPOST /events, POST /events/batch, GET /customers/{id}/usageUsage-based billing
EntitlementsPOST /entitlements/check, GET /customers/{id}/entitlementsFeature access and metering

Browse the full endpoint reference in the sidebar, or refer to the Developers getting started guide for integration architecture and webhook events.