cimplify

API Keys

Authentication credentials for the Cimplify API. Create keys at app.cimplify.io/settings/developer.

Key format

curl
# {type}_{environment}_{random}
pk_live_abc123...   # Public key, production
pk_test_xyz789...   # Public key, sandbox
sk_live_def456...   # Secret key, production
sk_test_ghi012...   # Secret key, sandbox

Public vs Secret keys

TypePrefixWhereAccess
Publicpk_Browser / SDKRead catalogue, manage cart, customer auth
Secretsk_Server onlyFull API access based on scopes

Secret keys must never appear in client-side code, git repos, or browser bundles.

Usage

Browser (public key)
import { createCimplifyClient } from "@cimplify/sdk";

const client = createCimplifyClient({
  publicKey: "pk_live_abc123",
});
Server (secret key)
curl https://api.cimplify.io/v1/businesses/{id}/orders \
  -H "X-API-Key: sk_live_your_secret_key"

Scopes

Assign granular permissions when creating secret keys.

ScopePermissions
catalogue.viewRead products, categories, variants, add-ons
catalogue.manageCreate, update, delete catalogue items
orders.viewRead orders and order history
orders.manageCreate, update, cancel orders
customers.viewRead customer profiles
customers.manageCreate, update, delete customers
inventory.viewRead stock levels and batches
inventory.manageUpdate stock, transfers, counts
payments.viewRead payment records
payments.manageProcess payments, refunds
*All permissions (full access)

Rate limits

Key TypeLimit
Secret (live)1,000 req/min
Secret (test)100 req/min
Public60 req/min
Rate limit headers
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640000000

Next steps