← Answers

What is a scoped key?

A scoped key is an API key that can only do what its scope allows. Human keys (sk_live_ / sk_test_) are send-only by default; per-agent keys (sk_agent_) are bound to one agent, one recipient-domain allowlist, and one cap set. A leaked key can be revoked on its own — no other key, domain, or team data is exposed.

Scope is the product: instead of one master key per team, every key carries its own permissions. A human key is scoped to send, from the domains you allow, inside the caps you set. An agent key goes further — it belongs to exactly one agent and cannot send to a domain outside that agent's allowlist.

Test keys (sk_test_) never deliver. Use them while you are trying things out; switch to a live key when you are ready to send for real.

Keys are stored as hashes, never in plain text. If a key leaks, revoke it in the dashboard and make a new one — the rest of the team is unaffected.

Read more

What is a scoped key? — ScopedPost