Authentication
Screenshotly uses API tokens for authentication. Each request to the API must include your token in the Authorization header.Getting Your API Token
- Sign in to your Screenshotly Dashboard
- Navigate to the API Tokens page
- Click “Generate New Token”
- Give your token a descriptive name (e.g., “Development”, “Production”)
- Copy your token immediately - you won’t be able to see it again!
Using Your Token
Include your API token in theAuthorization header with the Bearer scheme:
Token Security
Follow these best practices to keep your tokens secure:- Never share your API tokens or commit them to version control
- Use different tokens for development and production environments
- Set appropriate expiration dates for your tokens
- Store tokens securely in environment variables
- Revoke compromised tokens immediately through the dashboard
Rate Limits
Rate limits are applied per token and vary by plan:Free
- 100 successful screenshots total
- 5 requests per minute
Basic
- 2,500 successful screenshots per month
- 40 requests per minute
Growth
- 12,000 successful screenshots per month
- 80 requests per minute
Scale
- 50,000 successful screenshots per month
- 200 requests per minute
Rate Limit Headers
The API includes rate limit information in the response headers:Rate Limit Errors
When you exceed your rate limit, the API will return a429 Too Many Requests response:
Token Management
Manage your tokens through the dashboard:- Generate new tokens
- View active tokens
- Monitor token usage
- Revoke tokens
- Set expiration dates
Next Steps
- Learn how to capture screenshots
- Explore mockup options
- Check out our best practices