Skip to main content
The 1eye API authenticates every request with a bearer token. Generate keys from your workspace settings and pass them in the Authorization header.

Generate an API key

1

Open workspace settings

Navigate to Settings → API keys in your 1eye workspace.
2

Create a new key

Click Create key, give it a descriptive name, and select the scopes it needs.
3

Copy and store the key

Copy the key immediately. You won’t be able to see it again after you close the dialog.

Use the key

Include the key in the Authorization header on every request:
Never commit API keys to source control or expose them in client-side code. Rotate any key that leaks.