Standard OpenID Connect (authorization code with PKCE). Issuer and endpoints are on https://reconhire.com.
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.
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).
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 }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();| Endpoint | What it does |
|---|---|
GET /.well-known/openid-configuration | Discovery document |
GET /oauth2/authorize | Send the member here (code + PKCE) |
POST /oauth2/token | Swap a code or refresh token for tokens |
GET|POST /oauth2/userinfo | The member’s details for an access token |
POST /oauth2/revoke | Revoke a token (same client login as /oauth2/token) |
GET /oauth2/jwks.json | Public keys for ID token signatures |
All endpoints are on https://reconhire.com. Discovery: https://reconhire.com/.well-known/openid-configuration.
openid (private ID), profile (name, picture, preferred_username, profile), email (email, email_verified), offline_access (refresh token).sub.?error=access_denied|login_required|consent_required|invalid_scope…&state=…. A wrong client or redirect URL is never redirected.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"
| Endpoint | What it does |
|---|---|
GET /api/v1/jobs | Live jobs. Query: q, location, remote=1, limit (1 to 50), cursor. Returns { data, next_cursor } |
GET /api/v1/jobs/:id | One job |
GET /api/v1/me | Check 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.
url and credit ReconHire. See the API terms.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_KEYAdd 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));
}
ping).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).