API Key Authentication
Mark2Notion uses API key authentication. Include your API key in thex-api-key
header for all requests.
Getting Your API Key
- Sign up at mark2notion.com
- Navigate to your dashboard
- Copy your API key from the API section
- Keep it secure - never expose it in client-side code
Your API key is sensitive. Never include it in client-side code or commit it to version control.
Usage Limits
API usage is tracked and limited based on your subscription plan. You can check usage in the dashbardRate Limiting
The API implements intelligent rate limiting:- Respect Notion’s limits: 3 requests per second to Notion API
- Automatic retries: Built-in exponential backoff for rate limits
- Usage tracking: Real-time tracking of your quota usage
Error Responses
Authentication Errors
Best Practices
Secure Storage: Store your API key in environment variables, not in your code.
Monitor Usage: Check the usage headers to avoid hitting limits unexpectedly.
Handle Errors: Always implement proper error handling for authentication failures.