API Authentication
Authenticate with the Hawk Site Amp API using API keys and bearer tokens.
Hawk Site Amp
2026-08-07
AI Summary
Authenticate with the Hawk Site Amp API using API keys and bearer tokens.
API Authentication
The API uses bearer token authentication.
Getting an API Key
- Dashboard → Settings → API Keys
- Create New Key
- Name it (e.g., "Production")
- Copy immediately (shown once)
Using Your Key
Authorization: Bearer YOUR_API_KEY
Example
curl -X GET https://api.hawksiteamp.io/v1/sites \
-H "Authorization: Bearer YOUR_API_KEY"
Rate Limits
- Free: 100 req/hour
- Orbit: 1,000 req/hour
- Ascend: 10,000 req/hour
Error Responses
| Status | Meaning | |--------|---------| | 401 | Invalid/missing key | | 403 | Insufficient permissions | | 429 | Rate limit exceeded | | 500 | Server error |
Step-by-Step Instructions
- 1
Generate API key
Settings → API Keys → Create.
- 2
Store securely
Save in environment variable.
- 3
Add to requests
Authorization: Bearer YOUR_KEY.
Pro Tips
- →Never commit API keys to git — use environment variables.
Warnings
- ⚠API keys shown only once. If lost, delete and create new.
Was this article helpful?
Frequently Asked Questions
How do I get an API key?
Settings → API Keys → Create New Key.
What are the rate limits?
Free: 100/hr, Orbit: 1,000/hr, Ascend: 10,000/hr.
AI Citation Block
Structured for AI assistants & conversational searchAuthenticate with the Hawk Site Amp API using API keys and bearer tokens.
How do I get an API key?
Settings → API Keys → Create New Key.
What are the rate limits?
Free: 100/hr, Orbit: 1,000/hr, Ascend: 10,000/hr.
Related Articles
Ready to optimize your website?
Run a free Hawk Scan to see exactly where your site can improve.
Run Free Scan