Get started
Authentication
All WorqHat API requests require authentication using an API key.
API Keys
Your API key is a secret token that identifies you to the WorqHat API. Keep it secure and never share it publicly.
Getting Your API Key
- Log in to your WorqHat account
- Navigate to Settings > API Keys
- Create a new API key or copy an existing one
Using Your API Key
Include your API key in the Authorization header of every request:
api-key-header.js
headers: {'Authorization': `Bearer ${YOUR_API_KEY}`}Security Best Practices
- Never commit API keys to version control
- Use environment variables to store keys
- Rotate keys regularly
- Use different keys for different environments
