Authentication
Authenticate every SEO Boost Hub API request using scoped API keys and Bearer tokens.
API Keys
Create API keys in your dashboard under Settings → API Keys. Keys belong to your organization and can be scoped by permission.
Generating API Keys Open your dashboard, go to Settings → API Keys, then click Create New Key. Give it a clear name and choose the right scope.
Bearer Token Authentication
Include your API key in the Authorization header as a Bearer token on every request.
Authorization: Bearer sbh_live_abc123def456ghi789
Example Authenticated Request
Here is a complete authenticated request example:
curl -X GET https://seoboosthub.com/api/v1/locations \ -H "Authorization: Bearer sbh_live_abc123def456ghi789" \ -H "Accept: application/json" \ -H "Content-Type: application/json"
Token Scopes
API keys can be assigned one of three permission scopes:
| Scope | Learn how to authenticate your API requests. | Access |
|---|---|---|
read |
read | GET |
write |
write | GET, POST, PATCH, DELETE |
admin |
admin | Full access to all resources and settings |
Security Best Practices
- All API requests are served over HTTPS only
- Rotate API keys periodically and revoke unused keys
- Store keys in environment variables, never in source code
- Use the minimum scope required for your integration