Contact Stynar support and let them know you want to integrate with the API. They'll enable it for your account with limits that fit your use case.
Go to Settings → API Access and 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 Access at any time. Revocation takes effect immediately — every request checks the key live, never against a cache.