Developers & API 5 min read

REST API, Scoped Keys & Webhooks

Integrate your storefront, mobile app, or external tools with Cafoor using revocable API keys.

Creating Scoped API Keys

Go to Settings → API Keys to issue named keys restricted to specific scopes (e.g. products:read, invoices:write). Keys are displayed once upon creation and can be revoked instantaneously.

curl -X GET https://acme.cafoor.com/api/v1/invoices \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Rate Limits & Stripe Webhooks

Requests are rate-limited (default 120 req/min per key) to protect workspace stability. Connect Stripe in Settings to accept online invoice payments with signed webhook confirmation.

Need higher Enterprise rate limits or custom ERP connectors? Reach out via our Contact page.