Quickstart
Start with one read-only request, then create a draft when you are ready. This guide takes you from a hiring brief to an approved job post. Publishing makes the job public; do it only with the employer's approval. None of these steps activates a paid campaign.
1. Authenticate
Sign in and create a key at Torre API keys. Store your Recruiting API key securely:
export TORRE_API_KEY="<api-key>"
Use the key on every request:
curl https://api.torre.ai/v1/account \
-H "Authorization: Bearer $TORRE_API_KEY"
Expect 200 with your account's identity. If you get 401, check the key and Bearer header before continuing. This request does not create a job or spend credits.
2. Create an opening
First search GET /v1/organizations/search?q=Acme, or create the company with POST /v1/organizations and { "name": "Acme", "website": "https://acme.com" }. Both return numeric company IDs. To only check whether Torre has the company, the read-only POST /v1/organizations/match returns it as organization, or null, without creating one. Send the selected id as organization_id in either opening input shape, or send the company as organization ({ "name": "Acme", "website": "https://acme.com" }) and Torre finds or creates it. One of them is required except for flexible-job (freelance), including when type is extracted from text.
curl -X POST https://api.torre.ai/v1/openings \
-H "Authorization: Bearer $TORRE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"organization_id": 123,
"objective": "Senior backend engineer",
"type": "employee",
"agreement": {"type": "employment-contract"},
"geography": {"type": "remote_anywhere"},
"responsibilities": "Design and maintain reliable payment services, review production changes, collaborate with product and support teams, and investigate incidents to improve reliability.",
"skills": [{"name": "Go", "experience": "3-plus-years"}],
"languages": [{"code": "en", "fluency": "fully-fluent"}],
"compensation": {"code": "to-be-agreed"}
}'
Replace 123 with the numeric ID of the correct company, not an arbitrary test company, and replace all example job content with the real requirements. Store the returned opening id; replace OPENING_ID in subsequent commands with it. Read GET /v1/openings/{openingId} and inspect the saved content before publishing. tagline is generated by Torre; do not send it.
This example supplies the agreement choice for full-time employment, but you must still review all publication requirements. Other job types need different fields; see Publish a job. Free-text creation is supported too, but extraction does not guarantee completeness. Omit action while preparing a draft.
3. Align the opening
Read the current state:
curl https://api.torre.ai/v1/openings/OPENING_ID/alignment \
-H "Authorization: Bearer $TORRE_API_KEY"
If changes are needed, use the documented PATCH fields or alignment feedback and inspect the saved result. Feedback can also create saved screening questions.
When satisfied, save the current alignment with a bodyless request:
curl -X PUT https://api.torre.ai/v1/openings/OPENING_ID/alignment \
-H "Authorization: Bearer $TORRE_API_KEY"
4. Publish the job
Only publish when the job is ready to be public. Your account must also satisfy Torre's job-poster requirements.
curl -X POST https://api.torre.ai/v1/openings/OPENING_ID/publish \
-H "Authorization: Bearer $TORRE_API_KEY"
If the result is ambiguous, call GET /openings/{openingId} before retrying because the opening may already be published.
Read the opening back and inspect published. A 422 with error.code: "opening_incomplete" reports missing sections in error.details.fields. Complete them and align again if content changed. skipAlignment never skips publication completeness. Fields unavailable in public PATCH must be completed in Torre's posting wizard.
With create-and-post, an error can contain error.details.openingId for a retained draft. Inspect that draft before creating another opening.
5. Continue the workflow
- Use Search candidates to find relevant professional profiles.
- Use Review applicants for inbound applications and free applicant messages.
- Use Sponsor a job for Torre Reach.
Read Pricing before a paid request.
If a temporary job should no longer accept activity, close it with bodyless POST /v1/openings/{openingId}/close and verify status: "closed". Do not close a real active vacancy just to test connectivity.
Saved attraction setup
Already started on the attraction form? Follow Continue from the attraction form to connect your agent and send the saved task. For a direct API/MCP start, use the same guideās catalog and initialization examples. Follow Sponsor a job before paid activation.