API Keys
API keys let external applications access your Sidvy data.
What Are API Keys?
Section titled “What Are API Keys?”API keys are authentication tokens that allow:
- External apps to read/write your notes
- Automation tools to interact with Sidvy
- MCP (Model Context Protocol) servers to integrate with AI assistants
Creating an API Key
Section titled “Creating an API Key”- Go to Settings > API Keys
- Click Generate New Key
- Give the key a descriptive name (e.g., “Claude Desktop MCP”)
- Click Create
- Copy the key immediately - it won’t be shown again
Managing API Keys
Section titled “Managing API Keys”Viewing Keys
Section titled “Viewing Keys”The API Keys page shows:
- Key name
- Key prefix (first few characters)
- Created date
- Last used date
Revoking Keys
Section titled “Revoking Keys”To revoke an API key:
- Go to Settings > API Keys
- Find the key
- Click Delete
- Confirm
The key immediately stops working.
API Key Security
Section titled “API Key Security”Best Practices
Section titled “Best Practices”- Use descriptive names: Know what each key is for
- Rotate periodically: Create new keys and revoke old ones
- Minimum permissions: Only give access where needed
- Never share: Treat keys like passwords
- Revoke if compromised: If a key might be exposed, revoke immediately
What Keys Can Access
Section titled “What Keys Can Access”API keys have full access to:
- Read all notes (except encrypted content)
- Create and update notes
- Manage groups
- Access todos
They cannot:
- Change account settings
- Create new API keys
Using API Keys
Section titled “Using API Keys”With the API
Section titled “With the API”Include the key in the Authorization header:
Authorization: Bearer sidvy_abc123...Troubleshooting
Section titled “Troubleshooting”Key Not Working
Section titled “Key Not Working”- Verify the key was copied correctly (no extra spaces)
- Check if the key was revoked
- Ensure you’re using the correct API endpoint
Key Exposed
Section titled “Key Exposed”If you accidentally exposed a key:
- Revoke it immediately
- Create a new key
- Update your integrations with the new key