Skip to main content

Base URLs

Credential model

Send server credentials as a Bearer token:
The publishable-key boundary is unconditional: customer reads and mutations return HTTP 403 even if a browser supplies an arbitrary customer ID. Use an authenticated merchant backend for checkout, invoices, subscription status, cancellation, top-ups, entitlements, and credits. That backend derives the Nozle customer from the logged-in user or team and calls Nozle with a least-privilege sk_.
Never expose a secret or master key in client-side code. CORS and Origin headers do not authenticate a caller.

Public authentication endpoints

  • POST /api/v1/auth/send-otp
  • POST /api/v1/auth/verify-otp
  • POST /api/v1/auth/signup
Get API keys from app.nozle.app under Settings → API Keys.