Create and use an API key
- Open Account → Settings → API Keys and create a named key.
- Choose the permissions the integration needs and a suitable expiry. Uploaders need Upload files.
- Copy the secret when Chibisafe displays it. Save it in your client's secret store. The secret appears once.
- Send the value in the
X-API-Keyrequest header. Browser clients should omit cookies when authenticating with a key.
Effective permissions are limited by both the key and the account. A key can still access ordinary operations on the account's own files and collections even with an empty set of additional permissions. Use a dedicated account with restricted access and quota for an uploader that should be isolated from your personal library.
Disable or delete a key when an integration is retired or a key is exposed. Create a replacement and update the client when rotating it. Session-only account routes, such as key management, require a signed-in session.
See upload via HTTP, ShareX, or connect a chat app. MCP uses a per-user OAuth grant.