Documentation

Keys and environments

How API keys work today β€” what's implemented in the business portal vs. what's aspirational.

Edit on GitHub

Environment pairs

A business’s /keys page mints two kinds of keys, both from the same endpoint:

  • sk_test_… β€” for integration testing.
  • sk_live_… β€” requires the business to hold at least one active certificate; there is no separate sandbox API host today, test vs live is a property of the key itself.

Environment variables inside your apps

SEAL_API_BASE=https://api.seal.club/v1
SEAL_API_KEY=sk_test_****

Rotation

There is no in-place rotation yet. To rotate: create a new key at /keys, roll it out, then revoke the old one from the same page. Revoked keys stop working immediately β€” there is no grace-period TTL.