Developers
developers

Sign in with ReconHire

Standard OpenID Connect (authorization code with PKCE). Issuer and endpoints are on https://reconhire.com.

1. Register your app

Open the console, sign in with your ReconHire email and password, and choose New app. Give it a name, your website and the exact redirect URL(s) where ReconHire should send people back (https only; http is allowed for localhost). You get a client ID and, for server apps, a client secret. The secret is shown once.

New apps show a “not verified” note on the consent screen until ReconHire has checked them. Apps can’t use “ReconHire” in their name.

2. Send people to ReconHire

Redirect the browser to the authorize URL. PKCE (S256) is required for every app, and always send a random state.

GET https://reconhire.com/oauth2/authorize
  ?response_type=code
  &client_id=YOUR_CLIENT_ID
  &redirect_uri=https://yourapp.com/callback
  &scope=openid profile email
  &state=RANDOM
  &code_challenge=BASE64URL(SHA256(verifier))
  &code_challenge_method=S256

3. Swap the code for tokens

The code lasts 60 seconds and works once. From your server:

POST https://reconhire.com/oauth2/token
Authorization: Basic base64(client_id:client_secret)     (server apps)
Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code&code=…&redirect_uri=…&code_verifier=VERIFIER

You get access_token (1 hour), id_token (a signed JWT) and, if you asked for offline_access, a refresh_token (30 days, rotates each use; send grant_type=refresh_token).

4. Read who signed in

Decode the ID token (RS256; keys at /oauth2/jwks.json) or call:

GET https://reconhire.com/oauth2/userinfo
Authorization: Bearer ACCESS_TOKEN

→ { "sub": "u_…", "name": "…", "picture": "…", "preferred_username": "…", "profile": "https://…/u/…", "email": "…", "email_verified": true }

Example (Node 18+)

const crypto = require('crypto');
const BASE = 'https://reconhire.com';
// start: keep verifier + state in the visitor's session
const verifier = crypto.randomBytes(32).toString('base64url');
const challenge = crypto.createHash('sha256').update(verifier).digest('base64url');
const state = crypto.randomBytes(16).toString('base64url');
res.redirect(BASE + '/oauth2/authorize?' + new URLSearchParams({
  response_type: 'code', client_id: ID, redirect_uri: REDIRECT, scope: 'openid profile email',
  state, code_challenge: challenge, code_challenge_method: 'S256' }));

// callback: check state, then
const tok = await (await fetch(BASE + '/oauth2/token', { method: 'POST',
  headers: { Authorization: 'Basic ' + Buffer.from(ID + ':' + SECRET).toString('base64') },
  body: new URLSearchParams({ grant_type: 'authorization_code', code, redirect_uri: REDIRECT, code_verifier: verifier }) })).json();
const me = await (await fetch(BASE + '/oauth2/userinfo', { headers: { Authorization: 'Bearer ' + tok.access_token } })).json();

Reference

EndpointWhat it does
GET /.well-known/openid-configurationDiscovery document
GET /oauth2/authorizeSend the member here (code + PKCE)
POST /oauth2/tokenSwap a code or refresh token for tokens
GET|POST /oauth2/userinfoThe member’s details for an access token
POST /oauth2/revokeRevoke a token (same client login as /oauth2/token)
GET /oauth2/jwks.jsonPublic keys for ID token signatures

All endpoints are on https://reconhire.com. Discovery: https://reconhire.com/.well-known/openid-configuration.

  • Scopes: openid (private ID), profile (name, picture, preferred_username, profile), email (email, email_verified), offline_access (refresh token).
  • sub: different for every app, so apps can’t match people up. Use it as the account key, not the email.
  • Email: only ever a verified address. Members can change it later, so key accounts on sub.
  • Revoke: members can also disconnect your app in their Settings; after that your tokens stop working.
  • Errors: sent back to your redirect URL as ?error=access_denied|login_required|consent_required|invalid_scope…&state=…. A wrong client or redirect URL is never redirected.
  • Public apps (single-page or mobile): create the app as “Public”. It has no secret and signs in with PKCE only.

REST API

Read live jobs that employers posted directly on ReconHire. Create a key in the console (up to 3 per account) and send it as a Bearer token from your server. Keys are secret: never put one in a web page or app. Limit: 60 requests per minute per key (a 429 comes with Retry-After).

curl https://reconhire.com/api/v1/jobs?q=analyst&remote=1&limit=10 \
  -H "Authorization: Bearer rh_live_YOUR_KEY"
EndpointWhat it does
GET /api/v1/jobsLive jobs. Query: q, location, remote=1, limit (1 to 50), cursor. Returns { data, next_cursor }
GET /api/v1/jobs/:idOne job
GET /api/v1/meCheck your key and limits

A job has id, title, company, location, remote, salary_min, salary_max, salary_text, posted_at, url, apply_url and description. Errors are { "error": "…" } with 401 (missing or bad key), 404 or 429.

Only jobs employers posted on ReconHire are shared, never postings collected from other sites. Link people to each job’s url and credit ReconHire. See the API terms.

Feeds (RSS and JSON)

Same jobs, ready for a feed reader, a Slack or Discord bot, or a newsletter tool. The newest 30 matches, with the same filters as the jobs endpoint (q, location, remote=1). Feed readers can’t send headers, so feeds also accept your key as ?key=. Treat that URL like a password.

https://reconhire.com/api/v1/feed.rss?q=analyst&remote=1&key=rh_live_YOUR_KEY
https://reconhire.com/api/v1/feed.json?location=Florida&key=rh_live_YOUR_KEY

Webhooks

Add up to 3 in the console: an https address plus optional keywords, place and remote-only. About a minute after a matching employer job goes live, we POST it to you once. Answer with any 2xx. Ten failures in a row switch the webhook off (turn it back on in the console).

POST https://your-site.example/hooks/reconhire
X-ReconHire-Signature: t=1731200000,v1=<hex hmac>

{ "event": "job.created", "created": "2026-11-10T05:00:00Z", "data": { "id": "...", "title": "...", "company": "...", "url": "...", ... } }

Check the signature so only we can call you: compute HMAC-SHA256 with your whsec_… secret over t + "." + rawBody, compare it to v1 in constant time, and reject if t is more than 5 minutes old.

const crypto = require('crypto');
function valid(header, raw, secret) {
  const p = Object.fromEntries(header.split(',').map((x) => x.split('=')));
  if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
  const mine = crypto.createHmac('sha256', secret).update(p.t + '.' + raw).digest('hex');
  return mine.length === p.v1.length && crypto.timingSafeEqual(Buffer.from(mine), Buffer.from(p.v1));
}
Addresses must be https on a public host name. We never call private or internal addresses and we don’t follow redirects. Use Send test in the console to try yours (event ping).

Job widget

No key and no code. Paste this on any page to show live ReconHire jobs. It draws itself inside a sealed box, so your CSS can’t break it. Use the builder in the console to pick filters and see it live.

<div data-reconhire-jobs data-q="soc analyst" data-limit="5"></div>
<script async src="https://reconhire.com/embed/jobs.js"></script>

Options: data-q, data-location, data-remote="1", data-limit (1 to 10), data-theme (light, dark; the default matches the page).

A button

<a href="YOUR_AUTHORIZE_URL" style="display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid #d9def0;border-radius:12px;font:600 15px system-ui;color:#0f172a;text-decoration:none;background:#fff">
  <img src="https://reconhire.com/static/img/logo-512.png" width="22" height="22" alt="">Sign in with ReconHire</a>