API keys let your systems send inbound notices to Anvaro (POST /api/partners/inbound/{your-partner-id}). Only the
portal owner can see and manage them.
Generating a key
- Go to Settings.
- Enter a label if you like (for example "Production") — it's optional.
- Click Generate new key.
- Copy the key with Copy to clipboard. It is shown only once: Anvaro keeps only a hash, so it can't show it again.
Keys start with npk_. Send the key with every request:
Authorization: Bearer npk_…
A missing, revoked or wrong key gets 401.
Your keys
Each key is listed by its first characters (for example npk_1a2b3c4d...), its label, Created and, once it has
been used, Last used. A recent Last used date you don't expect may mean the key has leaked.
Limits
You can have up to 5 active keys. At 5, Generate new key is disabled until you revoke one.
Revoking
Click Revoke next to the key and confirm. It stops working at once and can't be restored; it disappears from the list.
Security
- Treat keys like passwords: keep them in your secrets store, never in code or email.
- If a key may be compromised, generate a new one, switch your systems to it, then revoke the old one.
- If your organisation is suspended, its keys stop working until it is reinstated.