Authentication

Every request to the JobTactics Public API is authenticated with a personal API key tied to your JobTactics account. Keys are bearer credentials — treat them like passwords and never embed them in client-side code.

1. Generate a key

  1. Sign in to app.jobtactics.io.
  2. Open Settings → API keys.
  3. Click Create a new key, give it a recognizable name, and copy the value shown once. You won’t be able to read it again — only its preview (first / last characters) is stored.

Keys always start with the prefix jt_sk_. The full string is required for every request.

2. Send the key

Pass the key as a bearer token in the Authorization header:

Authorization: Bearer jt_sk_your_key_here

Example with curl:

curl https://api.jobtactics.io/api/v1/public/credits/balance \
  -H "Authorization: Bearer jt_sk_your_key_here"

Example with fetch:

const response = await fetch(
  "https://api.jobtactics.io/api/v1/public/credits/balance",
  {
    headers: {
      Authorization: `Bearer ${process.env.JOBTACTICS_API_KEY}`,
    },
  },
);

3. Error responses

StatusMeaning
401 UnauthorizedMissing, malformed, or revoked key. Check the header value and confirm the key is still active.
402 Payment RequiredInsufficient credits for this operation. Top up at app.jobtactics.io/credits.
403 ForbiddenThe endpoint requires a resource you do not own (e.g. a premium template you have not purchased).
429 Too Many RequestsRate limit hit — slow down and retry with exponential back-off.

4. Rotation and revocation

You can revoke a key at any time from Settings → API keys. Revocation takes effect within a few seconds. Treat any leaked key as compromised:

  1. Revoke the leaked key immediately.
  2. Generate a new one with a different name.
  3. Update every consumer that referenced the old key.

5. Usage tracking

Each key tracks usage_count and last_used_at — visible in your dashboard. You will receive an email alert when a single key crosses the platform-wide high-usage threshold within a 24-hour window. This signal is one of the primary controls for detecting key leaks early.

6. Things to keep in mind

Need help? Reach out at support@jobtactics.io.