Create bulk draft hire
Creates one or more draft hires in bulk and returns the new ID and details.
Helpful resources
Required Scopes
- draft-hires.read-write
Request
- application/json
Body
draft_hires object[]required
personal_info objectrequired
Gender of the candidate
Date of birth
Race of the candidate
Ethnicity of the candidate
Citizenship of the candidate
name objectrequired
Title or honorific (e.g., Mr., Ms., Dr.)
First name or given name
Middle name(s)
Last name or family name
Name suffix (e.g., Jr., Sr., III)
Preferred nickname or informal name
Social security number of the candidate
home_address object
The classification of the address.
The formatted mailing address.
The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
The city or locality component.
The state or region component, pursuant to SCIM RFC 7643 4.1.2.
The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
The country component, pursuant to SCIM RFC 7643 4.1.2.
locale object
The user's timezone
The locale code for formatting
The primary language code
Additional language inspection data
The region code
Emergency contact name
emergency_contact_phone object
Country code for the phone number
National phone number without country code
Phone number extension
personal_phone object
Country code for the phone number
National phone number without country code
Phone number extension
Invite email of the candidate
employment_info objectrequired
Manager ID
Start date
Work email
Employment type ID
Legal entity ID
Overtime exemption
Department ID
Teams IDs
Title
Level ID
Job family ID
Job title
Probation end date
Contract end date
Salary per unit
Salary unit
Currency
Signing bonus
Relocation reimbursement
Target annual bonus
Target annual bonus as a percentage
On target commission
Weekly hours
Duties
Equity number of shares
Equity value
Offer expiration date
equity_vesting_schedule object
Required company ID for the vesting schedule
Name of the vesting schedule
Spoke ID for the vesting schedule
Type of vesting schedule
Total number of vesting months
Total number of vesting years
Number of cliff months before vesting begins
Number of continuous vesting months
Percentage of initial vesting as decimal
EEOC job classification (e.g., EXECUTIVE, MID_LEVEL, PROFESSIONALS, TECHNICIANS, SALES_WORKERS, SUPPORT_WORKERS, CRAFT_WORKERS, OPERATIVES, HELPERS, SERVICE_WORKERS)
work_location_info objectrequired
Work location ID
Whether the work location is remote
Country code of the work location
State code of the work location
custom_fields object[]
Name of the custom field
Value of the custom field
headcount_info object
The Position ID (PID) of the headcount allocation to fill (e.g., PID100615)
documents object[]
Id of a FileUploadTracker in ACTIVE status whose file should become a document on the hire
Document name. Defaults to the uploaded file name when omitted.
Signature date in YYYY-MM-DD format.
Responses
- 200
- 400
- 401
- 403
Successful response
- application/json
- Schema
- Example (from schema)
Schema
__meta object
redacted_fields object[]
The name for the redacted field
The reason for the redaction
invalid_items object[]
Generated draft hire ID if successful
Status of the creation (success, error, warning)
Success or error message
List of validation errors if any
successful_results object[]
Generated draft hire ID if successful
Status of the creation (success, error, warning)
Success or error message
List of validation errors if any
{
"__meta": {
"redacted_fields": [
{
"name": "date_of_birth",
"reason": "Insufficient entitlements"
}
]
},
"invalid_items": [],
"successful_results": [
{
"draft_hire_role_id": "string",
"status": "string",
"message": "string",
"errors": [
"string"
]
}
]
}
The request failed validation. The response body describes the error.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}
Authentication is required or the supplied credentials are invalid.
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1ok booleanrequired
Whether the request succeeded. Always false for an authentication error.
Possible values: [false]error stringrequiredA human-readable explanation of why authentication failed.
- Format 2detail stringrequired
A human-readable explanation of the authentication error.
- Format 1
{
"ok": false,
"error": "Incorrect authentication credentials."
}
{
"detail": "string"
}
The caller is not authorized to perform this action.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}