Update opening

Updates an opening's details, or opens or closes it with status, and returns the opening. Closing a job's last open opening also closes the job. Reopening an opening on a closed job reopens the job, which becomes draft when its open_job approval must be redone. Reopening, changing opening_id or sending an approval custom field restarts a requested job approval, as POST /v3/openings does. Approvals reset by reopening the job stay unstarted, so start them with POST /v3/approval_flows/{id}/request_approvals.

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

Id of the job (requisition) this opening belongs to. Provided to disambiguate the opening; reassigning an opening to a different job is not supported.

string
length ≤ 255

Partner-supplied external identifier for the opening (e.g. an HRIS or ATS position id). Free-form string, not required to be unique across the organization.

integer

ID of the close_reason to record when closing the opening, for example Hire - New Headcount, On Hold, or Requisition Cancelled. Resolve via GET /v3/close_reasons. On an open opening, supplying close_reason_id without also setting status to closed returns 422; on an already-closed opening, close_reason_id can be updated on its own.

string
enum

Transition the opening's lifecycle. Pass closed to close an open opening (optionally with close_reason_id); pass open to reopen a closed opening that has not been filled.

Allowed:
date

Target start date for the hire that will fill this opening, in ISO 8601 (YYYY-MM-DD).

custom_fields
array of objects

Values to set on the opening's custom fields. Fields you leave out keep their values. Each entry names the field by custom_field_id or name_key with a value matching its value_type. GET /v3/custom_fields?field_type=opening lists the opening fields and their types. 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 opening'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
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