UpHunt API

Authentication

Generate and send API keys with every UpHunt request.

All UpHunt API requests require an API key sent via the x-api-key header. Keys are scoped to a single UpHunt account and inherit its auto-apply credits.

Generate a key

Sign in to your UpHunt Dashboard.

Navigate to Auto-Apply → API & Webhooks.

Click Generate API Key. Copy the key immediately — we only show it once.

Send the header

# Every request carries the x-api-key header
curl -X POST https://uphunt.io/api/auto-apply-v2/apply -H "Content-Type: application/json" -H "x-api-key: sk_uphunt_abc123def456..."

Security: Keep your API key secret. Never ship it in client-side bundles or commit it to git. Regenerate immediately if exposed.

Rotating keys

Each account supports one active API key at a time. Generating a new key revokes the old one immediately — plan a brief cutover if you rotate during live traffic.

Common auth errors

CodeMeaningWhat to do
401Missing x-api-keyAdd the header to your request.
401Invalid x-api-keyKey was revoked or mistyped. Regenerate in the dashboard.
402Insufficient creditsTop up auto-apply credits before retrying.

See Errors for the full list.

On this page