Authentication

Authenticate every SEO Boost Hub API request using scoped API keys and Bearer tokens.

API Keys

Generate API keys from your dashboard under Settings → API Keys. Each key is tied to your organization and can be scoped with specific permissions.

Generating API Keys Navigate to your dashboard, open Settings → API Keys, and click Create New Key. Assign a descriptive name and select the appropriate 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://api.seoboosthub.com/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