I get 401 Unauthorized

Last updated: September 20, 2026

The API did not accept your API key.

Causes and solutions

Cause Solution
The Authorization header is missing. Add the header Authorization: Bearer YOUR_API_KEY.
The header does not start with Bearer. Add Bearer and a space before the key.
The key has extra spaces or line breaks. Remove them.
The key is revoked or expired. Check the status on the API Keys page. Create a new key.
The key is not complete. Copy the full key from a safe store. The dashboard cannot show it again.

See Authentication.