In the Stynar app, go to Settings → API keys. Every account has it — there's nothing to request.
Click Create API Key. Choose a name and scopes (read and/or write).
Your key is shown once, in full. Copy it somewhere secure — Stynar cannot show it to you again.
Send it on every request as Authorization: Bearer esk_.... See Authentication.
Authorization: Bearer esk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx| Field | Type | Required | Description |
|---|---|---|---|
| read | scope | Optional | View-only endpoints — every GET on this API. |
| write | scope | Optional | State-changing endpoints — POST, PUT, PATCH, DELETE. |
Scopes are chosen at creation time and can't be changed afterward — create a new key with different scopes instead. A key can hold both scopes at once.
Revoke a key from Settings → API keys at any time. Revocation takes effect immediately — every request checks the key live, never against a cache.