Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cuprice.io/llms.txt

Use this file to discover all available pages before exploring further.

The Cuprice API v1 uses API keys for authentication. Public endpoints (Share, Receipt, Checkout) don’t require authentication.

Getting an API Key

1

Go to Settings

Open Dashboard → Settings → API Keys
2

Create a key

Click Create API key, give it a name and choose permissions:
  • Read — list projects, features, plans
  • Read & Write — create, update, delete projects, features, plans
3

Copy the key

The key is shown only once. Copy it immediately.
API keys are shown only once at creation time. Store them securely. If you lose a key, revoke it and create a new one.

Using Your API Key

Pass the key in the Authorization header:
curl https://cuprice.io/api/v1/projects \
  -H "Authorization: Bearer cpk_your_key_here"

Key Format

All Cuprice API keys start with cpk_ followed by a random string:
cpk_qdC2ul3mn-j0ywEvn9QznOoBhtJ4_e8Y1rv6JRUPa6U

Permissions

PermissionCan do
readList and read projects, features, plans
read_writeEverything above + create, update, delete

Rate Limits

ScopeLimit
Per key100 requests/minute
Per user500 requests/minute

Error Responses

StatusMeaning
401Invalid or missing API key
403Key doesn’t have write permission
404Resource not found
400Bad request (missing fields, validation error)