Automation & Developers
API Keys
Create, scope, and rotate the keys that authenticate API access.
API keys authenticate programmatic access to PeekHire — both the REST API and your no-code automations.

Creating a Key
- Go to Developer tools → API keys → Create.
- Give the key a descriptive name (e.g. Zapier integration) so you remember what it's for.
- Copy the key value when it's shown — for security, you won't be able to see it again afterward.
Using a Key
Send the key as a bearer token on every request:
curl https://your-api-host/api/v1/applications \
-H "Authorization: Bearer YOUR_API_KEY"
Permissions
Each key carries permissions that limit what it can do:
- Read — fetch data (list and retrieve campaigns, applications, users).
- Write — create or modify data.
Grant only what the integration needs (least privilege). A read-only key is enough to sync data into a spreadsheet or dashboard; add Write only when the integration has to change something in PeekHire.
Keeping Keys Secure
- Treat keys like passwords. Anyone with a key can act on your data.
- Never commit keys to a repository or put them in client-side code.
- Use a separate key per integration, so you can revoke one without affecting the others.
- Store keys in a secrets manager or your tool's credential store, not in plain text.
Rotating and Revoking
If a key is exposed — or you simply rotate keys on a schedule — create a new key, update your integration, and then delete the old one. Deleting a key revokes its access immediately.