Authentication

All API requests require authentication using an API key passed in the Authorization header.

Getting an API Key

  1. Login to your dashboard
  2. Navigate to the "API" tab
  3. Click "Create Key" and give it a name
  4. Copy the key immediately - it won't be shown again

Using Your API Key

Include your API key in the Authorization header with the Bearer prefix:

curl -X GET "https://requesthunt.com/api/v1/requests" \
  -H "Authorization: Bearer rh_live_your_api_key_here" \
  -H "Content-Type: application/json"

API Key Format

API keys follow this format:

rh_live_[32 random characters]

Example: rh_live_k9tcn0zs48v311krjx1m1d6emuiah6z3

Error Response

If authentication fails, you'll receive a 401 response:

401 Unauthorized
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid API key"
  }
}