Greenhouse application form on WordPress
Candidates apply on your WordPress site and land in Greenhouse. The form, its questions, what happens on submit, and the log.
Quick answer
Save a Job Board API key and each job page shows a form built from its Greenhouse questions. Candidates apply on your site. The application lands in Greenhouse on that job. Answers and files are never kept on your site.
On this page
With a Job Board API key, candidates apply on your job pages. Each application arrives in Greenhouse on that job.
Why this matters: visitors from a Greenhouse tracking link keep their source when they apply. See what gh_jid and gh_src mean.
Turn on the embedded job application form on your job pages
- Create a Job Board API key in Greenhouse. No partner approval is needed.
- Leave Greenhouse → Settings → Applications on Automatic, or pick On-site application form.
The form replaces the Apply on Greenhouse button on every job page. Each job’s JobPosting
data then says directApply: true: candidates can apply on the page.
To keep the button with a key saved, pick Send applicants to Greenhouse.
What the Greenhouse application form asks
The form is built from each job’s questions in Greenhouse. So different jobs can ask different things. The order:
| # | Section | Shown when |
|---|---|---|
| 1 | First name, Last name, Email, Phone | Always. The first three are required; Phone when the job requires it. |
| 2 | The job’s questions, in Greenhouse’s order | Always. Includes Resume/CV and Cover Letter (file or pasted text) and custom questions. |
| 3 | Location questions | The job asks where the candidate is based. |
| 4 | Education and employment history | The job asks for them. |
| 5 | EEOC and demographic questions | The job has them. |
| 6 | Consent checkbox, must be ticked | Turned on in settings, or the job requires GDPR consent in Greenhouse. |
A job with Greenhouse’s AI disclaimer shows it above the form. It adds a Request to opt out of AI review link when the job has an opt-out address.
| Greenhouse type | Form input |
|---|---|
| Short text | Text box (email or phone box for those fields) |
| Long text | Text area |
| Single select | Radio buttons for up to four options, a dropdown for more |
| Multi select | Checkboxes |
| Yes/No | Yes and No radio buttons. “No” is sent as a real answer. |
| File | File upload |
| Hidden | Not shown or filled in |
Greenhouse accepts an application even with a required answer missing. So the plugin checks every required question before anything is sent.
Every control has a label. Errors are linked to their fields. After a submit, focus moves to the first field to fix, or to the message.
Questions are cached for an hour. After changing them in Greenhouse, click Clear cache under Greenhouse → Settings → Tools.
Education and employment history
A job that asks for these gets the section, required or optional as the job says.
| Education | Employment | |
|---|---|---|
| Fields | School, Degree, Discipline, start and end month and year | Company, Title, start month and year, I currently work here, end month and year |
| Required once an entry is started | School, degree, discipline | Company, title, start date. End date unless I currently work here is ticked. |
| Dates | Optional. Month and year go together. | |
| Entries | Up to 5 with Add another; one without JavaScript | Same |
| Years offered | From 60 years ago. Start years stop at this year; end years reach 6 years ahead. | Same |
A required section needs one entry; blank entries in an optional one are skipped. An end date before the start, or a start month in the future, is refused.
Degree and discipline lists come from your Greenhouse account, cached for a day. If they can’t load, the section is left out and tried again after 5 minutes. A job that requires education then shows the Apply on Greenhouse button.
School suggestions appear from the second character typed. A typed school is matched on send: an exact name, or the only match. Otherwise the applicant is asked to “Pick your school from the list of suggestions.”
Suggestions come from GET /wp-json/ghjb/v1/education/schools?term=. It answers only while
applications are on-site. One IP address, or IPv6 /64 network, can send 30 searches a minute to
Greenhouse; cached answers don’t count.
EEOC and demographic answers
EEOC questions (gender, race, veteran status, disability status) are always optional. Demographic questions follow the job’s settings in Greenhouse.
If the job asks for consent to demographic data, a Demographic data consent checkbox comes first. Answers are sent only when it is ticked.
These answers go to Greenhouse only. They are never stored on your site: not in the log, the emails or WordPress’s personal data export.
File uploads
| Rule | Detail |
|---|---|
| File types | PDF, DOC, DOCX, TXT, RTF, ODT |
| Size | Up to 5 MB. Your PHP upload_max_filesize also applies. |
| While sending | A temporary copy under a random name in wp-content/uploads/ghjb-tmp, closed to web access on Apache |
| After sending | Deleted straight away. A leftover from an interrupted request is removed by the next upload once it is an hour old. |
| Media Library | Files never enter it. |
| File name | The original name still goes to Greenhouse. |
What happens when someone applies
The form sends in the background, without a page reload. Without JavaScript it posts as a normal form.
A sent application reloads the page with ?ghjb_applied=<job ID>, so a reload never sends it
twice. A failed one keeps the typed answers; files need attaching again.
The checks run in this order. The applicant sees the message when one fails:
| Check | Message |
|---|---|
| Rate limit: 10 attempts per 10 minutes per IP address or IPv6 /64 network. Every attempt counts. | “Too many applications submitted from this connection. Please try again later.” |
| The job is still open on your site. | “This job is no longer available.” |
| A hidden honeypot field bots tend to fill in. | “Your submission could not be processed.” |
| Logged-in users only: the page is not stale. | “Your session expired. Please reload the page and try again.” |
| Turnstile or reCAPTCHA, when both keys are saved. It resets after any error. | “Spam protection check failed. Please try again.” |
| Required answers, file types and sizes. | “Please correct the highlighted fields and try again.”, plus a message on each field |
Behind a proxy, set the real visitor address with the ghjb_client_ip filter. Otherwise all
applicants share one limit.
Field messages include “First name is required.”, “Please enter a valid email address.” and “The file is too large. Maximum size is 5 MB.”
Then the application goes to Greenhouse:
| Outcome | What the applicant sees |
|---|---|
| Greenhouse accepts it | “Thank you — your application has been submitted.” |
| Rejects answers, names the fields | “Please correct the highlighted fields and try again.”, with those fields marked |
| Rejects answers, names no field on the form | “Greenhouse could not accept this application. Please check your details and try again.” |
| Rejects the API key | “Applications are temporarily unavailable. Please try again later.” |
| Is busy | “Greenhouse is busy right now. Please try again in a moment.” |
| Anything else | “Your application could not be sent. Please try again later.” Details go to Submissions. |
On success, the job’s Applications count goes up. The application emails go out if on.
A visitor from a Greenhouse tracking link (?gh_src=) keeps that source for 30 days. It is sent
with the application, so Greenhouse credits the right source.
When the API key stops working
The key is used for one thing only: sending applications. Job lists, pages and questions come from your public job board.
If Greenhouse rejects the key, say after it is deleted there, the form stays up but applications fail. Applicants see “Applications are temporarily unavailable. Please try again later.”
An admin notice names the fix. Create a new Job Board API key and save it under Greenhouse → Settings. The notice clears when you save a new key, dismiss it, or after a day.
When a job shows the Apply on Greenhouse button
A job shows the button instead of the form when:
- Applications is Send applicants to Greenhouse, or no key is saved;
- its questions can’t be loaded, say while Greenhouse is down (tried again after a minute);
- it requires education, and the degree and discipline lists can’t be loaded.
The button links to the job on your Greenhouse job board. That address may point back at your own site, as Greenhouse’s embed does. Then it links to Greenhouse’s hosted form instead:
https://job-boards.greenhouse.io/embed/job_app?for=<board token>&token=<job ID>
An EU board uses job-boards.eu.greenhouse.io.
The Submissions log
Greenhouse → Submissions lists the last 100 attempts, newest first. It is on by default (Log submissions under Greenhouse → Settings → Features).
| Each entry shows | |
|---|---|
| When and what | The time, the job and its Greenhouse ID |
| Who | The applicant’s name and email, and a shortened IP address |
| Status | Delivered, Failed or Email failed |
| Message | On a failure, the error in plain words. When Greenhouse answered: its HTTP status and reply. |
Greenhouse returns no candidate ID, so entries don’t link to the candidate. Find them in Greenhouse by name or email.
| Log detail | |
|---|---|
| Not stored | Answers and files. They go only to Greenhouse. |
| Filter | Delivered or Failed |
| Blocked attempts | Honeypot, captcha and rate-limit blocks are counted, not listed. |
| Empty it | Clear log |
| Personal data tools | Included in Tools → Export Personal Data and Erase Personal Data, matched by email |
| WP Logs | If active, each attempt is written there too, without name or email. |
Developer hooks
| Hook | Type | Use it to |
|---|---|---|
ghjb_application_fields | filter | Change the whole form: add, remove or reorder groups of fields. Receives the groups and the job. |
ghjb_map_application_group | filter | Change how one Greenhouse question becomes a group of inputs. Receives the group and Greenhouse’s question. |
ghjb_map_application_field | filter | Change how one Greenhouse field becomes a form input. Receives the field and Greenhouse’s field. |
ghjb_application_payload | filter | Change the application data sent to Greenhouse. Receives the data, the groups and the submitted values. |
ghjb_allowed_file_types | filter | Change the accepted file extensions. Default pdf, doc, docx, txt, rtf, odt. |
ghjb_max_upload_size | filter | Change the maximum upload size, in bytes. Default 5242880 (5 MB). |
ghjb_application_validation_errors | filter | Add your own field checks. Receives the errors, the groups, the submitted values and the files. |
ghjb_application_success_message | filter | Change the thank-you message. |
ghjb_application_rate_limit | filter | Change the number of application attempts allowed per IP address in each window. Default 10; 0 turns the limit off. |
ghjb_application_rate_window | filter | Change the rate limit window, in seconds. Default 600, minimum 60. |
ghjb_application_form_ttl | filter | Change how long a job’s questions are cached, in seconds. Default 3600. |
ghjb_application_form_error_ttl | filter | Change how long a failed question load is remembered, in seconds. Default 60. |
ghjb_application_form_failure_ttl | filter | Change how long a question load that Greenhouse refused (HTTP 401 or 403) is remembered, in seconds. Default 300. |
ghjb_submission_log_max | filter | Change how many attempts the Submissions log keeps. Default 100. |
ghjb_client_ip | filter | Change how the applicant’s IP address is detected, for example behind a proxy. |
ghjb_recaptcha_score_threshold | filter | Change the minimum reCAPTCHA v3 score. Default 0.5. |
ghjb_application_submitted | action | Run code after Greenhouse accepts an application. Receives the Greenhouse job ID, the job, Greenhouse’s response and the applicant’s name, email and phone. |
ghjb_application_logged | action | Run code after any attempt is logged. Receives the log entry. |
ghjb_admin_notification_email | filter | Change the hiring team email, or return false to skip it. Receives the to, subject, message and headers, the job, the applicant and Greenhouse’s response. |
ghjb_applicant_confirmation_email | filter | The same for the applicant’s confirmation. |
For the education and employment sections:
| Hook | Type | Use it to |
|---|---|---|
ghjb_application_section_groups | filter | Add or change the education and employment sections. Receives the section groups and the job. |
ghjb_application_request_data | filter | Change the submitted values before they are checked and sent. Receives the values, the groups and the job. |
ghjb_complex_payload_keys | filter | Change the Greenhouse key each section is sent under. Default education → educations, employment → employments. |
ghjb_section_max_entries | filter | Change how many entries a section takes. Receives the limit and the section name. Default 5. |
ghjb_section_year_range | filter | Change the years the date dropdowns offer. Receives first and last. Start years never go past this year. |
ghjb_education_lists_ttl | filter | Change how long the degree and discipline lists are cached, in seconds. Default 86400. |
ghjb_education_lists_failure_ttl | filter | Change how long a failed list load is remembered, in seconds. Default 300. |
ghjb_school_search_rate_limit | filter | Change how many school searches a minute one IP address may send on to Greenhouse. Default 30; 0 turns the limit off. |
Example: post to a Slack channel whenever Greenhouse accepts an application.
add_action( 'ghjb_application_submitted', function ( $job_id, $job ) {
wp_remote_post(
'https://hooks.slack.com/services/XXXX/XXXX/XXXX',
array(
'headers' => array( 'Content-Type' => 'application/json' ),
'body' => wp_json_encode( array( 'text' => 'New application: ' . $job['title'] ) ),
)
);
}, 10, 2 ); Put your Greenhouse jobs on your own site
Each job gets its own page. $69 a year, not on sale yet.