Skip to main content
The Crevio API lets you manage products, pricing, checkouts, orders, customers, invoices, subscriptions, and more. All endpoints return JSON with snake_case keys following Stripe conventions.

Base URL

For local development:

Authentication

All API requests require a Bearer token in the Authorization header.
Generate API tokens from Settings > Developer > API tokens in your dashboard.
Keep your API tokens secure. Do not expose them in client-side code or public repositories.

Object types

Every API resource includes an object field that identifies the resource type:
All IDs are prefixed strings that encode the resource type (e.g., prod_abc123, cus_ghi789).

Slug lookup

Products, blog posts, experiences, and legal pages can be retrieved by slug instead of ID:
This works anywhere an ID is accepted for these resources.

List responses

List endpoints return a consistent envelope:
Use starting_after and limit query parameters to paginate. Pass the id of the last item to fetch the next page:
Default limit is 20, maximum is 100.

Expandable fields

Some endpoints support an expand query parameter to include related data inline. Pass a comma-separated list of fields:
Without expand, related resources appear as collapsed IDs:
With expand, they become full objects:

Delete responses

Delete endpoints return a confirmation:

Errors

All errors follow this format:
StatusTypeCodeDescription
400invalid_request_errorparameter_missingA required parameter is missing
401invalid_request_errorauthentication_requiredInvalid or missing API token
404invalid_request_errorresource_missingResource not found
422validation_errorvalidation_failedRequest failed validation
500api_errorInternal server error

SDKs

TypeScript

Install the official TypeScript SDK:

Full endpoint reference

Browse all available endpoints below.