Create job

Creates a job as a copy of an existing job, usually a template, with number_of_openings new openings. The copy takes the template's hiring team, interview plan and job posts. When approvals are enabled, a non-confidential job uses the default approval flow for its department and offices, not the template's. The job stays draft if that flow includes an open_job approval, and opens at once otherwise. The job's approvals are not requested yet, so request them with POST /v3/approval_flows/{id}/request_approvals.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

Id of the job to copy, usually a template from GET /v3/jobs/search with templates=only. The new job takes its hiring team, interview plan and job posts, but not its approvals.

integer
required

Number of openings to create on the new job. Each opening can be filled by a single hire. The total open openings across the job cannot exceed Greenhouse's internal limit of 200; requests that would exceed it are rejected.

string

Title for every job post copied from the template job. When omitted, the copied posts keep the template's titles.

string

Internal HTML notes about the job, surfaced to the hiring team in the Greenhouse UI.

string

Internal job title shown to the hiring team. When omitted, the job is named Copy of followed by the template job's name.

integer | null

Id of the department to assign the job to, from GET /v3/departments. Mutually exclusive with external_department_id.

string | null

Partner-supplied external_id of the department to assign the job to. Resolved to a Greenhouse department_id in the caller's organization; unknown values are rejected. Mutually exclusive with department_id.

office_ids
array of integers | null

Ids of the offices to assign the job to, from GET /v3/offices. A job can span multiple offices. Mutually exclusive with external_office_ids.

office_ids
external_office_ids
array of strings | null

Partner-supplied external_id values of the offices to assign the job to. Each entry is resolved to a Greenhouse office_id in the caller's organization; unknown values are rejected. Mutually exclusive with office_ids.

external_office_ids
string | null

Partner-supplied external identifier for the requisition (e.g. an HRIS or ATS code). Free-form string and not required to be unique across the organization.

opening_ids
array of strings | null

Optional partner-supplied identifiers for the openings being created — one entry per new opening, paired positionally with number_of_openings. Each value is stored on the resulting opening as its opening_id (a free-form string, not the Greenhouse opening id) and may be null. Greenhouse enforces an internal limit of 200 open openings per job; requests that would exceed it fail.

opening_ids
custom_fields
array of objects

Values to set on this job's job custom fields. Each entry identifies the field by custom_field_id or name_key and supplies a value whose shape matches the field's value_type (see GET /v3/custom_fields?field_type=job). Every field marked required that the template job leaves blank must be supplied here. Single-select and multi-select values must name an active option: read them from GET /v3/custom_field_options?active=true, because archived options are listed unless active=true is passed and are rejected on write. A non-null value for a field that is hidden fails with a 422 naming the field: either the field doesn't apply to the job's offices or departments (GET /v3/custom_field_offices, GET /v3/custom_field_departments), or a custom field dependency hides it (GET /v3/custom_field_dependencies). Dependencies are judged against the new job's values after this request, so set a dependent field's parent in the same request when needed. An explicit null for a hidden field is accepted.

custom_fields
boolean

If true, skips validation that required job custom fields have a value. Useful for integrations that only intend to sync a subset of fields and rely on the template job or a later request to supply the rest. Restricted to integration service-account credentials; other callers are rejected with a 422.

boolean

If true, skips the check that a user set as a job or offer approver via custom_fields has permission to view/edit this job. Lets an integration assign an approver without first broadening that user's Greenhouse permissions. Restricted to integration service-account credentials; other callers are rejected with a 422.

Responses

401

Unauthorized

403

Forbidden

422

Unprocessable Content

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json