Oligon Receipts is in private beta — request access.
Getting started
Authentication

Authentication

Every request authenticates with an API key sent in the X-API-Key header. Keys are scoped to a single organization and to a set of permissions.

X-API-Key: sk_live_K2J9...

Obtaining a key

  1. Sign in at oligontech.com/portal (opens in a new tab).
  2. Pick your organization (or create one).
  3. API keys → Create key. Name it after the workload (prod-extractor, local-dev-gustavo, etc.).
  4. Pick scopes — most workloads only need read + write.
  5. Copy the secret. We display it once. Lose it, rotate it.
⚠️

Treat secrets like passwords. Never commit them, never log them, never ship them to clients. Use environment variables in production and a secrets manager for staging.

Key prefixes

PrefixModeUse for
sk_test_…SandboxLocal dev, CI, demos. No usage billed.
sk_live_…ProductionReal workloads. Billed per the active plan.
pk_publishable_…Browser-safeUpload-only, never returns sensitive fields.

Scopes

ScopeWhat it allows
readGET on /v1/receipts, /v1/webhooks/events, /v1/org, /v1/team
writePOST /v1/extract, PATCH/DELETE on owned resources
adminMember invites, API key creation/revocation, billing

Scopes are additive: an admin key already covers read + write.

Setting the key in code

export OLIGON_API_KEY=sk_live_...

All three SDKs read this automatically.

Rotating keys

The dashboard supports zero-downtime rotation: create the new key, deploy it, then revoke the old one. Revoking takes effect within 60 seconds globally.

Suspicious activity

We monitor for usage anomalies (sudden 100× spike from a new region, brute-forcing scopes, etc.) and will email all admin members before auto-revoking. You can also call /v1/api-keys/:id/revoke yourself.