Browse API documentation
Get startedv1

Authentication

App keys, secrets, scopes, validity, rotation and revocation.

On this page

A credential has two values: an app key you can inspect at any time and a secret that appears only after creation or reset. Use the same pair for websites and integrations. Access follows scopes, not a separate purpose selection.

Authenticate every request

http
X-Karwa-App-Key: <APP_KEY>
Authorization: Bearer <SECRET_KEY>

New and reset credentials require both headers. An app key alone grants no access. Legacy bearer-only credentials keep their existing authentication until explicitly reset or revoked; resetting upgrades them to require the pair. Legacy credentials without developer scopes need replacement to access jobs and application intake.

Choose scopes

ScopeAllowsDoes not allow
jobs:readList postings, retrieve details and read form definitionsRead candidate profiles or internal jobs
applications:writeStart sessions, upload files and submit applicationsList or change existing applications

In Settings, enabling Submit applications also enables Read public jobs so a custom application can retrieve its form. Scopes are fixed at creation. To change access, create a replacement credential and revoke the previous one after switching your server.

The account creating or resetting credentials needs API key management permission. Viewing keys and revoking keys have separate workspace permissions. Your company's plan must include API keys.

Set validity

Choose one of these options when creating a key or resetting its secret. The default is 28 days.

ChoiceExpiry from creation or reset
12 hoursAfter 12 hours
1 dayAfter 24 hours
3 daysAfter 3 days
7 daysAfter 7 days
14 daysAfter 14 days
28 daysAfter 28 days
PermanentNo automatic expiry; disable, reset and revoke remain available

The response's expires_at is the authority; null means permanent.

Reset a secret

Choose Reset secret in the key's row menu and select validity for the replacement. The new secret is shown once. The app key, company, scopes and rate-limit usage remain unchanged. The old secret and existing developer application sessions stop working for new requests. Requests already in progress may complete.

Update your server's secret and start fresh sessions. Resetting does not enable a disabled credential. An expired credential can receive a new validity period; a revoked credential cannot be reset. Reset events appear in company audit records without the secret.

Disable and revoke

Disable temporarily blocks authentication. Enable restores it only while the credential is valid and not revoked. Revocation is permanent. For a planned migration with no interruption, create a second credential, deploy it, confirm calls succeed, then revoke the first. Reset has no grace period.

Store secrets safely

Use environment variables or a secret manager. Redact Authorization, application session tokens, upload tokens and candidate payloads from logs. Require HTTPS for production requests. Do not place the secret in a public API explorer or expose it to a frontend through environment variables intended for browser use.