API Authentication
Authenticating API Requests
All API requests require authentication using your API key in the Authorization header.
Get Your API Key:
- Log in to Harper dashboard
- Go to Settings → API Keys
- Click "Create New API Key"
- Give it a name (e.g., "Production API")
- Copy the key immediately (shown only once!)
# Example API Request with Authentication curl -X GET https://api.harper.com/v1/stores \ -H "Authorization: Bearer wt_live_1234567890abcdef" \ -H "Content-Type: application/json"
⚠️ Security: Never expose API keys in client-side code or public repositories!
Previous
← Previous ArticleNext
Next Article →