Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Get Greenhouse access: You need a Greenhouse Recruiting account; ask your Greenhouse admin for access or request a demo/sandbox at https://www.greenhouse.com. Creating API keys requires the ‘Can manage ALL organization’s API Credentials’ developer permission.
  2. Create a Harvest API key: In Greenhouse, go to Configure (gear icon) → Dev Center → API Credential Management → Create New API Key, choose type ‘Harvest’, and grant only the endpoints you need (Jobs, Candidates, Applications).
  3. Store the key: Add GREENHOUSE_API_KEY=<your key> to your .env file and leave GREENHOUSE_API_PASSWORD empty. The Harvest API uses HTTP Basic auth with the key as username and a blank password.
  4. Find your user ID for writes: Write requests must include an On-Behalf-Of header with the numeric ID of the Greenhouse user performing the action (look it up via the Harvest Users endpoint or the Greenhouse UI).
  • Each API key is restricted to the endpoints granted at creation - a 403 usually means the key lacks that endpoint
  • All write endpoints (POST/PATCH/DELETE) require the On-Behalf-Of header for auditing
  • List endpoints return plain JSON arrays and paginate via per_page/page with RFC 5988 Link response headers
Provider API reference: https://developers.greenhouse.io/harvest.html

Tools

Example prompts

  • List my open jobs in Greenhouse and summarize active applications per job.
  • Show me candidates added to Greenhouse in the last week with their current application status.
  • Look up a candidate I specify in Greenhouse and add a note to their activity feed with my feedback.