https://api.crevio.co/v1. The official @crevio/sdk wraps it with types and retries, and the same operations are exposed to AI agents over MCP.
Get your key and make a call
Create an API key
In your dashboard, go to Settings → Developer and click New API token. Give it a descriptive name. The token is shown once — copy it and store it in an environment variable.
Make your first call
The friendliest first call is A successful response looks like:
GET /status — a lightweight health check that confirms your token works and tells you which account you’re authenticated as.- cURL
- SDK (TypeScript)
- MCP (agent)
Create your first product the right way
Publishing a product takes three calls in order. A product can’t go live without at least one price variant, so creating one withstatus: "active" in a single call fails with 422. Do it like this:
Create the product as a draft
Parameters go at the top level (not wrapped in a The response includes the new id, e.g.
product key)."id": "prod_abc123".Add a price variant
Reference the product by its bare association name (
product, not product_id) and its prefixed id. Money is in integer cents with a lowercase ISO currency.amount: 4900 is $49.00. The response id looks like "id": "price_xyz789".Next steps
Conventions
The full set of request and response rules — read before building.
Errors
Decode every status code and fix it fast.
TypeScript SDK
Type-safe access with automatic retries.
Usage & billing
How metered pay-per-call credits work.

