Skip to main content
POST
Publish a job for the partner's company

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Request a token from the token endpoint of the identity provider's domain (https://{cognito-domain}/oauth2/token, with HTTP Basic client authentication) and send it as a Bearer token. Production uses auth.mypilotindex.com. The sandbox uses the dev environment's Cognito domain, which is given to the partner with its sandbox credential. A token carries only the scopes the partner was approved for.

Body

application/json

Maximum 65536 bytes. Unknown or repeated members are rejected.

The members a partner may set. Each is optional here; a create requires its own.

title
string
required

Surrounding whitespace is trimmed.

Minimum string length: 1
position_type
enum<string>
required
Available options:
captain,
first_officer,
check_airman,
instructor,
management,
other,
program
client_ref
string
required

The partner's own name for this create, unique per partner and kind of publication. Send the same ref to retry.

Required string length: 1 - 64
Pattern: ^[A-Za-z0-9._:-]{1,64}$
description
string | null
employment_type
enum<string>
Available options:
full_time,
part_time,
contract,
temporary,
seasonal
operation_type
enum<string>
Available options:
part_121,
part_135,
part_91,
part_91k,
military,
government,
other
base_location
string | null
base_airport_code
string | null
work_mode
enum<string> | null
Available options:
onsite,
hybrid,
remote,
null
min_total_hours
integer | null
Required range: x >= 0
min_pic_hours
integer | null
Required range: x >= 0
min_multi_engine_hours
integer | null
Required range: x >= 0
min_turbine_hours
integer | null
Required range: x >= 0
min_jet_hours
integer | null
Required range: x >= 0
required_licenses
string[]

License codes, such as ATP or CPL.

Minimum string length: 1
required_type_ratings
string[]

FAA type rating designators, such as CE-680.

Minimum string length: 1
salary_min
number | null
salary_max
number | null

At least salary_min.

salary_type
enum<string> | null
Available options:
annual,
hourly,
per_diem,
daily_rate,
monthly,
fixed,
null
salary_currency
string
Pattern: ^[A-Z]{3}$
application_url
string | null

An absolute http or https URL.

application_email
string | null
application_instructions
string | null
expires_at
string<date-time>

RFC 3339. 30 days from the create unless it says otherwise.

status
enum<string>
default:active
Available options:
draft,
active

Response

A retry of a create already made; nothing was published.

job_id
string<uuid>
required

The job; a change and a close name it.

replayed
boolean
required

True when this client_ref had already made the job and nothing was published.