Authentication
API keys, OAuth access tokens, and dashboard sessions.
Every /v1 route that needs an account takes a bearer token:
Authorization: Bearer ak_...API keys
Create the key
Press Create an API key and name it after the script or app that will use
it, such as Sonarr script. Choose its access:
- Full access can do anything you can, including managing other keys.
- Limited has only the scopes you pick. A route outside them
answers
403.
Press Create key.
Copy it
The key starts with ak_ and is shown once. Store it like a password.
To revoke a key, press Revoke beside it on the same page; it stops working at once. Make one key per script or app, so you can revoke one alone.
OAuth access tokens
Apps that act for other people use OAuth instead of asking for a key. See OAuth apps.
Scopes
| Scope | Allows |
|---|---|
files:read | List, search, and download files; playback URLs |
files:write | Rename, move, and delete files and folders |
progress:write | Save watch progress |
transfers:read | List and follow transfers |
transfers:write | Add, retry, and cancel transfers |
feeds:read | List RSS feeds and their items |
feeds:write | Add, change, and remove RSS feeds |
A key without scopes has full access, including account routes such as managing keys.
Each route in the API reference says which scopes it needs.