Authentication¶
All API requests require authentication via an API key.
Getting an API Key¶
- Log in to jobko.ai/dashboard
- Go to the Integrations tab (or use
#agentanchor) - Click "Create API Key"
- Give it a name (e.g., "My AI Agent")
- Copy the key immediately - it won't be shown again
Using Your API Key¶
HTTP Header (Recommended)¶
Include your API key in the Authorization header:
Example¶
API Key Scopes¶
API keys can be restricted to specific operations:
| Scope | Allows |
|---|---|
profile_read |
Read user profile |
credits_read |
Check credit balance |
jobs_read |
List saved jobs |
job_analysis |
Analyze job postings |
cv_generation |
Generate CVs |
By default, new API keys have all scopes enabled.
Security Best Practices¶
Never expose your API key
- Don't commit keys to git
- Don't include keys in client-side code
- Use environment variables
Use separate keys for different apps
Create a new API key for each integration. This way you can revoke access to one without affecting others.
Environment Variables¶
Store your key in an environment variable:
Then use it in your code:
Revoking API Keys¶
To revoke an API key:
- Go to jobko.ai/dashboard#agent
- Find the key in your list
- Click "Revoke"
The key will stop working immediately.