Publish a job
Create a draft, review its details with the employer, then publish when it is approved. These steps are free and do not activate Reach. For a complete first request, follow the Quickstart. This guide explains the choices you can make and how to fix missing requirements.
Check where an opening was created
GET /v1/openings/{openingId}, GET /v1/openings and GET /v1/openings/{openingId}/attraction-preferences return a read-only creationSource when available. Attraction-first draft initialization returns it too:
| Value | Original creation flow |
|---|---|
api |
REST API or MCP. |
emma |
Emma, even when the employer owns the opening. |
web |
Torre's job-posting website. |
crawler |
An imported job, including imports submitted through the API. |
For example, an API-created opening can include "creationSource": "api". You do not send this field when creating or updating an opening. Editing, sharing or reusing an existing job does not change it. Historical openings can report null, and older source versions can omit it; neither means the opening was created on the web.
Create an opening
Imported job lifecycle
Sending externalApplicationUrl in structured creation saves a normal opening owned by your
account with an external Apply button. A URL alone does not select the import flow. The import
lifecycle below applies only when your integration explicitly selects import creation. Adding a
link to an existing normal opening does not turn it into an import either.
Send a single externalApplicationUrl for the primary application destination and optional crawledSources for up to 20 distinct HTTP(S) pages where the job was found. Sources are stored verbatim and never replace the application link. Send deadline at creation as a non-past YYYY-MM-DD date or a future RFC3339 timestamp with timezone. It is saved before publication. Imports whose sources or apply link belong to LinkedIn default to three days when no deadline is supplied; other imports retain the existing native default. GET /v1/openings/{openingId} returns the exact saved timestamp in deadlineAt and the existing date-only deadline.
Torre remains the owner of distributed imports. An active sharer can read, make supported maintenance updates, close and unpublish those imports using their own API key, including when the original source disappears. This does not grant applicant, pipeline, later publication or paid-service permissions. In particular, a sharer cannot replace externalApplicationUrl or change geography. An operation outside those permissions can return 404 even when the same key can read the import. Removed sharers and unrelated users cannot maintain the job. A duplicate creation adds a sharer but does not replace the existing deadline, sources or content.
Use a standalone PATCH /v1/openings/{openingId} with { "crawledSources": ["https://example.com/original-post"] } to replace all source URLs, or an empty array to clear them. Send deadline changes separately. Close a disappeared import with bodyless POST /v1/openings/{openingId}/close; the existing native closure workflow runs, and the response has status: "closed".
Unlike creation, PATCH deadline accepts only a non-past YYYY-MM-DD calendar date, not a timestamp, and must be sent alone. Crawl-source URLs must be HTTP(S), have no embedded username/password or surrounding whitespace, and contain at most 2,048 characters each. Do not send nulls or duplicate URLs. Omitting crawledSources leaves existing sources unchanged; [] clears them.
Send applicants to your own application page
Already have a job in Torre and want applicants to finish on your careers site? Add or replace its application link with one request. You must own or manage the opening; sharing an imported job is not enough to change its destination.
curl -X PATCH "https://api.torre.ai/v1/openings/$OPENING_ID" \
-H "Authorization: Bearer $TORRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"externalApplicationUrl":"https://careers.example.com/jobs/backend-engineer?source=torre"}'
Send this field alone. Use a complete HTTP(S) URL of at most 2,048 characters, without embedded credentials or whitespace. Torre keeps the exact link, including tracking parameters, and returns it as externalApplicationUrl. The opening keeps its owner, native/imported classification, source URLs, alignment and publication state. Omitting the field keeps the current link; empty strings and null are rejected. This operation does not publish the job or activate a paid service.
For a new normal opening with external Apply, include externalApplicationUrl in structured creation. You can also create an unpublished draft without an application link, then send the PATCH above using the returned opening ID. Review and publish it through the normal flow when ready. The opening stays owned by your account; only the Apply destination is external.
{
"organization_id": 123,
"objective": "Backend engineer",
"type": "employee",
"remote": true,
"externalApplicationUrl": "https://careers.example.com/jobs/backend-engineer"
}
This creates a draft, not a complete publishable job. Add the other required job details before publishing.
This example uses separate creation and link-update requests. Structured creation saves the normal opening and its external Apply destination in one request. In either flow, if the link update fails, inspect the retained draft and retry only that update after resolving the error; do not create another opening. Explicit imports keep the import/share behavior described above.
Changing only the application URL does not reset alignment. If a URL's country parameter changes
but the job still accepts the same applicants, update the link on the existing normal opening.
If the eligible countries change, update geography separately and align again. For genuinely
separate country-specific vacancies, create one opening per vacancy and close the one that is no
longer available. Do not recreate a job just to correct tracking parameters. Redirecting Apply to
an external site does not itself create a Torre application or a candidate webhook; those describe
actions that actually take place in Torre, not applications completed in your external ATS.
Working arrangement and geographic restrictions
Use geography for the same working arrangements as the job-post form. Omit legacy location; remote is optional when geography is supplied, and must match its mode if present. Existing remote/single-location requests remain supported.
geography.type |
Other fields | Meaning |
|---|---|---|
remote_anywhere |
None | Fully remote from anywhere. |
remote_countries |
Nonempty locations array |
Fully remote, restricted to the listed countries. |
remote_timezones |
Exactly two timezones |
Fully remote within the inclusive GMT-offset range. This does not restrict country of residence. |
physical_location |
Nonempty locations array |
On-site workplaces. |
hybrid |
Nonempty locations array |
Partially remote, associated with the supplied workplaces. |
For remote countries, send country names, not cities. For on-site and hybrid work, supply a city or precise workplace address; a whole country is too broad. Do not mix a country list with a timezone range or send fields belonging to another mode.
Remote in multiple countries:
{
"objective": "Backend engineer",
"geography": {
"type": "remote_countries",
"locations": [{ "country": "Colombia" }, { "country": "Mexico" }]
}
}
For remote LATAM, supply the complete intended country list using remote_countries. Do not send LATAM as if it were a country or replace a residency restriction with timezone offsets: those select different candidates. Regional labels can mean different country sets; the explicit list is authoritative.
Timezone-based remote work:
{
"objective": "Backend engineer",
"geography": {
"type": "remote_timezones",
"timezones": ["GMT-06:00", "GMT-03:00"]
}
}
The timezone format matches the web selector: whole-hour offsets from GMT-12:00 to GMT+14:00. The two inclusive endpoints retain their order, including ranges wrapping across the date line.
sourceText creation preserves all extracted countries, working arrangement and timezone endpoints. It does not truncate a multi-location result to its first entry. Inspect the saved geography before publication; extraction is not permission to invent missing requirements.
To change an owned opening, send only geography to PATCH /v1/openings/{openingId}. This replaces the complete selection, removes locations/timezones from the previous mode and resets alignment. Do not combine it with other PATCH fields. Opening reads return the saved geography; legacy remote and single location remain for compatibility and are not the complete multi-location representation. A failed or timed-out mutation is not automatically retried: read the current opening before deciding whether another write is needed.
Company and opening content
List several companies on one job
Use organization_ids to associate existing companies with one opening, just like the web
form. There is still one opening ID and one application flow. This is not a parent/subsidiary
hierarchy and does not grant company roles. Search for each company first and copy its numeric ID.
Create a draft:
curl -X POST "https://api.torre.ai/v1/openings" \
-H "Authorization: Bearer $TORRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"objective":"Backend engineer","type":"employee","remote":true,"organization_ids":[123,456]}'
The same selection works with {"sourceText":"Hiring a backend engineer...","organization_ids":[123,456]}.
Company IDs are never inferred from the text. To replace the list on an opening you own or manage:
curl -X PATCH "https://api.torre.ai/v1/openings/$OPENING_ID" \
-H "Authorization: Bearer $TORRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"organization_ids":[123,789]}'
PATCH replaces the whole list, not just the added company: the example removes 456 and adds 789.
Omitting the field keeps the current list. Send 1–100 distinct positive integer IDs, never an empty
list, nulls or strings. An unknown ID rejects the selection before association writes. Select only
one of organization_id, organization_ids or organization; combining them returns 422.
GET /v1/openings/{openingId} and successful owned create/PATCH responses return organizationIds
with all numeric IDs; the legacy organizationId remains the first company's slug.
Changing companies follows the existing web flow, including alignment reset.
A duplicate import keeps the existing job's companies.
Select one company
Already know the numeric company ID? Read its name without searching again:
curl "https://api.torre.ai/v1/organizations/123" \
-H "Authorization: Bearer $TORRE_API_KEY"
The response is { "id": 123, "name": "Acme" }. Use an ID from search, creation, matching or
an opening's organizationIds array, not the legacy singular organizationId slug. This read
is free, does not require company membership and does not create or claim a company. A company
that does not exist returns 404; an invalid numeric ID returns 422.
Search for the company with GET /v1/organizations/search?q=Acme&limit=10. To check whether Torre already has a company without creating one, call the read-only POST /v1/organizations/match with its name and optional website, links and context: it returns { "organization": { "id": 123, "name": "Acme" } }, or { "organization": null } when Torre doesn't have it, and 503 when matching is temporarily unavailable. If none matches, call POST /v1/organizations with { "name": "Acme", "website": "https://acme.com" }. Creation uses the same company matching as the job-post form and may return an existing company. Match and creation accept an optional context with the job's title, locations and description, which Torre uses only to tell apart companies with similar names. Search and creation return { "id": 123, "name": "Acme" } (search returns an array).
Use the returned numeric id as organization_id in either opening input shape. The field is required except for flexible-job (freelance), including when the type is extracted from text. Invalid IDs return 422 without creating an opening or a company. Instead of the id you can send organization with the company's name and optional website, links and picture, the same fields as POST /v1/organizations. Torre finds the company it already has, using the job's title, locations and responsibilities, or creates it, and the response includes organization with its id, name and matched. Send one of organization_id or organization, never both (422). A validation error, or an apply link Torre already has, creates no company. If posting fails after the opening is created, the company remains. The company is never inferred from free text or the API key. The read-only Opening.organizationId remains the existing public slug, not this numeric selector ID.
Free text:
{
"organization_id": 123,
"sourceText": "Senior backend engineer for a remote payments team."
}
Structured draft input (not a complete publishable job):
{
"organization_id": 123,
"objective": "Build reliable payment services",
"remote": true,
"type": "employee",
"skills": [
{
"name": "Go",
"experience": "3-plus-years"
}
]
}
New openings start unpublished and not aligned.
Responsibilities and job type
Send responsibilities in structured creation or PATCH to set Responsibilities & more without
AI rewriting. Opening reads return the same text. The text must have at least 100 characters after
trimming and no more than 10,000 characters. PATCH replaces only this section, preserving other details.
Structured creation accepts these web-form choices:
timeframe:{ "type": "ongoing" },{ "type": "one-time-project" }, or{ "type": "specific-dates", "startDate": "2027-01-01T00:00:00", "endDate": "2027-06-01T00:00:00" }.startDate:{ "option": "not-defined" }or anexactly-on/no-later-thanoption with a non-pastdateinYYYY-MM-DDTHH:mm:ssformat. Specific-date timeframes already define the start.agreement: anemployment-contract,non-employment-contract,location-dependent, orto-be-definedtype. Non-employment and location-dependent agreements requirecurrencyTaxes(company,candidate, orlocation-dependent).engagementLength(Engagement length), for full-time (employee) and part-time openings only:{ "type": "open-ended" }or{ "type": "defined-length", "length": 6, "unit": "months" }, with alengthof 1–120days,weeks,monthsoryears. Other job types return422, except imports sent withexternalApplicationUrl.visaSponsorship(Are you willing to sponsor visas?):yes,no, orto-be-discussed(to be discussed or negotiated).locale: the language the job post is written in,enores. Omitting it saves English.
Opening reads return these choices, and timeframe, startDate and agreement, with the same names
and shapes. Freelance jobs and internships without a saved timeframe read as ongoing. Once Torre detects
the language of the job's text, locale reads as that language.
Publication requires timeframe and start-date choices for freelance jobs and internships (internships
cannot use one-time-project), an agreement for full-time employees, and 1–30 commitment hours for
part-time employment, except an import whose source states no exact hours: omit commitment and it
posts without hours. Incomplete drafts remain allowed. tagline is read-only and generated by Torre.
Compensation
compensation takes the same choices as the job post form's Base compensation, under the form's
own codes:
code |
Form label | Amounts |
|---|---|---|
omitted or range |
Range | min and max |
fixed |
Fixed | min only (the form's "Min amount") |
unpaid |
Unpaid | none |
get-quotes |
Get price quotes from freelancers | none |
to-be-agreed |
To be agreed upon | none |
Range and fixed also take currency, periodicity (yearly, monthly, daily, hourly,
project or task; default yearly), negotiable (default true) and visibility: visible
(default), prescreening-only (not visible in the job post) or hidden (not visible at all).
unpaid and get-quotes take none of these. to-be-agreed takes no amounts, negotiable or
visibility, and ignores a currency or periodicity sent with it. unpaid is never negotiable;
get-quotes and to-be-agreed always are.
additionalCompensation lists extra pay, each code once:
commissions:amountper pay period in the compensation currency, 1 to 10,000,000,000.bonuses: up toamountpercent of base pay, 1 to 1,000.equity: up toamountpercent of the company, 0.0001 to 100.health-insurance: noamount.overtime:amountper hour in the compensation currency, 1 to 10,000,000,000.
{
"type": "employee",
"compensation": {
"code": "fixed",
"min": 4000,
"currency": "USD",
"periodicity": "monthly",
"visibility": "prescreening-only",
"additionalCompensation": [{ "code": "bonuses", "amount": 10 }, { "code": "health-insurance" }]
}
}
For a normal job your company posts, including one with an external Apply destination, creation accepts only what the form offers
for the job type, and otherwise returns 422 on compensation:
| Job type | Codes | Periods | Additional compensation |
|---|---|---|---|
employee, part-time |
range, fixed, to-be-agreed | yearly, monthly, hourly | all five |
intern |
range, fixed, unpaid | yearly, monthly, hourly | none |
flexible-job |
range, fixed, get-quotes | monthly, daily, hourly, and task for an ongoing or omitted timeframe or project otherwise |
commissions, equity |
Additional compensation goes with range, fixed and to-be-agreed. Because periodicity defaults to
yearly, a flexible-job range or fixed pay must send its period. Imports with
externalApplicationUrl accept any of these combinations. A zero min needs commissions before
publication. The opening returns the same fields; fixed returns min only.
PATCH /v1/openings/{openingId} still takes only a range or { "code": "to-be-agreed" } with
hourly, monthly or yearly, and no min or max for to-be-agreed. Updating compensation resets
alignment, so align again before publishing or searching. Text extraction keeps the pay it identifies
in the description.
Align the opening
Alignment means confirming that the saved requirements describe the people you want to hire. Review the opening before confirming; do not use alignment just to bypass a search restriction.
Read GET /openings/{openingId}/alignment for the current state.
Use POST /openings/{openingId}/alignment/feedback to apply feedback.
The returned screeningQuestions are already saved and include their IDs. If the request fails after some work has completed, opening changes or screening questions may still be present; retrieve them before retrying.
Use PUT /openings/{openingId}/alignment to save the current alignment timestamp.
Publish or unpublish
Once the employer has approved publication, set OPENING_ID to the saved opening ID and publish:
curl -X POST "https://api.torre.ai/v1/openings/$OPENING_ID/publish" \
-H "Authorization: Bearer $TORRE_API_KEY"
curl "https://api.torre.ai/v1/openings/$OPENING_ID" \
-H "Authorization: Bearer $TORRE_API_KEY"
Check both published: true and a non-closed status in the last response. To unpublish, use the same POST endpoint with JSON {"published":false}. Unpublishing and closing are different actions: closing leaves published unchanged. Active sharers can unpublish a Torre-owned import but cannot publish it.
Reopen a closed job you own
Publishing changes visibility; it does not reopen a closed job. 409 opening_closed means you must
first set a future deadline through the existing opening update workflow. Set FUTURE_DATE to a
future date in YYYY-MM-DD format, and send the deadline alone:
curl -X PATCH "https://api.torre.ai/v1/openings/$OPENING_ID" \
-H "Authorization: Bearer $TORRE_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"deadline\":\"$FUTURE_DATE\"}"
Read the opening and check that its status is open, then publish as shown above. Normal alignment,
company, completeness and poster-verification requirements still apply. An unpublished but open
normal job does not need this reopening step. This is not a way for an import sharer to gain
publication rights. After any uncertain write result, read the current opening before retrying.
Publishing requires the same job details as Torre's posting wizard: valid job type/commitment and
conditional legal agreement or freelance timeframe, title (except freelance), responsibilities
(100–10000 characters), explicit work location, at least one skill with proficiency or experience,
at least one language with fluency, compensation, and a company for full-time jobs or internships.
The API's existing non-freelance company rule remains in effect. Numeric compensation needs a currency,
periodicity and valid nonnegative amounts; zero base needs commissions. Explicit to-be-agreed is
valid and is not a substitute for an omitted compensation field. Hidden compensation is also distinct
from missing compensation.
Missing requirements return 422 opening_incomplete with error.details.fields. This also applies
to structured action: "post", shared/crawled submissions and MCP. skipAlignment never skips these
checks. A failed create-and-post can retain its unpublished draft and report error.details.openingId; inspect that
draft before retrying. When an import fails publication and cleanup succeeds, the error instead includes
error.details.creationState: "discarded" and its diagnostic openingId. That opening is not an editable
draft: correct the input before creating again. For a location error, supply countries for country-restricted
remote work or precise places for on-site or hybrid work, without widening the source restrictions.
No employer choices are silently invented. Fields not exposed by the current
public create/PATCH contract must be completed through Torre's existing posting wizard. Drafts may
remain incomplete and unpublishing does not require completeness.
{
"published": true,
"skipAlignment": false
}
If you omit published, the operation publishes the opening. If you omit skipAlignment, it defaults to false.
skipAlignment: true bypasses only the alignment requirement. It does not bypass ownership, access checks, or the company requirement. Except for freelance (flexible-job), publishing or activating Reach for a legacy opening without a company returns 409 opening_organization_required. Select its company in Torre before retrying. Reading and unpublishing remain available.
After an ambiguous result, read the opening before retrying because its publication state may already have changed.
Screening questions
Use these free operations:
GET /openings/{openingId}/screening-questionsPOST /openings/{openingId}/screening-questions
Question types follow the job post form's Questions for applicants:
- Open answers:
written,audio, orvideo. yes-no,multiple-choice(one answer), andcheckboxes(several answers) withoptions.
The optional purpose is rank (use as a ranking factor), filter (automatically filter applicants), or learn (just learn more about the applicants), and defaults to learn. As in the form, open answers take rank or learn, yes-no and multiple-choice take filter or learn, and checkboxes take only learn. Any other combination returns 422.
Each option is { "title": "2 years or more", "purposeType": "qualifies" }, where purposeType is qualifies (qualifies the applicant) or disqualifies (rules out the applicant). multiple-choice and checkboxes need at least two options. yes-no takes exactly two and, when you omit them, saves Yes (qualifies) and No (disqualifies). A filter question needs at least one option of each purposeType.
curl -X POST "https://api.torre.ai/v1/openings/$OPENING_ID/screening-questions" \
-H "Authorization: Bearer $TORRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "type": "multiple-choice", "prompt": "How many years have you led teams?", "purpose": "filter", "options": [{ "title": "Under 2 years", "purposeType": "disqualifies" }, { "title": "2 years or more", "purposeType": "qualifies" }] }'
The response and GET return each question with its purpose and options as saved. Questions can be added and listed, not edited or deleted, through the API.
Close the opening
POST /openings/{openingId}/close stops new activity and returns the opening with status: "closed".
Saved attraction setup
If you started on the attraction form or initialized a draft through the API/MCP, continue the existing opening instead of creating another. Follow the saved-task and API/MCP continuation steps, then complete the publication requirements in this guide. Use Sponsor a job for quotes and approval before paid activation.
Company requirements after free-text extraction
In the sourceText variant, the job type comes from the extracted text rather than a separate type input. The request schema therefore permits a brief without a company so that a freelance (flexible-job) opening can be created. After extraction, any other type requires organization_id or organization. Missing both returns the documented 422 invalid_field, with organization_id and organization in error.details.fields, before creating an opening. A syntactically valid request is not a promise that extracted requirements satisfy every business rule. Select a company before submitting an employee or part-time brief; do not infer it from the text.