Skip to main content
Every request sends an API key in the x-api-key header.
Authorization: Bearer YOUR_API_KEY works too.
Never ship an API key in client-side code.

Create a key

Create a key on the API Keys dashboard. Each key has an environment and a role.

Environment

A key works only against its own environment. See Sandbox.

Role

These docs also call Read Only stytch_member and Admin stytch_admin.

Errors