Skip to content

Send a candidate ​

Sending a candidate on a job means sending an application: POST /applications. Omogen creates the candidate if it does not know them, links them to the job and starts the interview (the process). There is no separate endpoint to create a candidate.

bash
curl -X POST https://api.omogen.ai/api/v1/integration-partner/applications \
  -H "Authorization: Bearer <API key>" \
  -H "OM-PARTNER: <partner key>" \
  -H "Content-Type: application/json" \
  -d '{
    "external_application_id": "APP-456",
    "external_candidate_id": "CAND-789",
    "job_opportunity_id": "550e8400-e29b-41d4-a716-446655440000",
    "first_name": "Marie",
    "last_name": "Dubois",
    "email": "marie.dubois@example.com",
    "phone": "+33612345678"
  }'

What an application holds ​

BlockFieldsRequired
Your identifiersexternal_application_id, external_candidate_idyes
The candidatefirst_name, last_name, emailyes
phone (+33612345678 or 0612345678)for a call, SMS or WhatsApp mode
The jobjob_opportunity_id or external_job_idsee Link your jobs
The interview typeuse_caseno, prequalification by default
The contact modedeployment_templateno, the job's campaign mode by default
The CVcv_url or cv_file + cv_filenameno
Candidate-specific valuesenrichment_datano

The two identifiers ​

These are your identifiers, as they exist in your tool. Omogen uses them to recognise what it has already received.

IdentifierStands forWhat Omogen does with it
external_candidate_idthe personFinds the candidate again from one send to the next: one candidate can apply to several jobs.
external_application_idone application, so one candidate + job pairMakes the send idempotent: sending the same application again starts nothing.

To send a candidate on a second job, keep their external_candidate_id and give a newexternal_application_id.

You sendOmogen answers
A new application201 and starts the interview
An application it already has (same external_application_id)200, "Application already exists", with the same result; nothing is restarted
A known candidate on a new job201, data.candidate.created is false
An application whose interview cannot start200, data.status is not_eligible: see below

external_application_id comes back in every webhook and is used to report the hiring decision: keep it.

A known candidate ​

When Omogen already knows the external_candidate_id, it keeps the existing record:

  • the CV is replaced if you send a new one;
  • enrichment_data is merged: keys you send are updated, the others stay;
  • name, email and phone are not changed. Fix them in the Omogen interface.

Prequalification or reactivation ​

use_case picks the kind of interview the agent runs:

use_caseForThe agent
prequalification (default)a candidate who just appliedchecks their criteria for the job
reactivationa candidate from your talent pool, contacted without applyingoffers them the job and checks they are still interested

A reactivation job is created with the same use_case, in the Omogen interface or with POST /jobs: its interview plan is then generated for reactivation.

Send use_case on every application

use_case is not inherited from the job. On a reactivation job, send "use_case": "reactivation" in every POST /applications, otherwise the candidate gets a prequalification interview.

Contact mode ​

deployment_template picks how Omogen reaches the candidate. Without it, Omogen uses the mode set on the job's campaign.

deployment_templateOmogen
single-callcalls right away
sms-then-callsends an SMS, then calls 5 minutes later
whatsapp-then-callsends a WhatsApp message, then calls
3-daysspreads call attempts over 3 days
reactivationcalls, sends an SMS, calls again an hour later, then the next day
email-invitation, sms-invitation, whatsapp-invitationsends an invitation link: the candidate picks their slot
invitation-link-onlysends nothing: you pass the invitation link on yourself
cv-onlyscreens the CV, with no interview

Your organization may have its own modes, created in Omogen. GET /interview-params lists every mode you can send.

Without phone, a call mode cannot succeed. If your organization has a no-phone fallback mode, Omogen switches to it and the response says so with data.deployment_template_fallback: true.

With an invitation mode, the candidate picks their slot on an Omogen page. The response holds their link in data.invitation_link (https://agent.omogen.ai/invitation/<process_id>).

deployment_templateOmogen sends the link by
email-invitationemail
sms-invitationSMS
whatsapp-invitationWhatsApp
invitation-link-onlynothing: you show it in your tool or send it yourself

For the other modes, invitation_link is null. Without a booking, the invitation expires after the delay set on your organization, and you receive an expired result.

The CV ​

The CV is optional. Send one or the other:

  • cv_url: a URL Omogen can download;
  • cv_file: the file in base64, with cv_filename for its extension (.pdf, .doc, .docx, .txt, .rtf).

If you send both, cv_file wins. Above 10 MB, the request is refused (400 CV_TOO_LARGE). If the job screens CVs and this one does not match, Omogen stops there, with no interview.

You only have the CV, no name or email? POST /applications/cv-only extracts the candidate from the CV.

Custom fields ​

enrichment_data carries values specific to one candidate. The agent uses them during the call, and your SMS, email or WhatsApp messages show them with {candidate_<name>}.

json
"enrichment_data": {
  "application_date": "on 14 March",
  "signup_link": "https://your-ats.com/signup/CAND-789"
}
RuleDetail
Declared keysEach key must exist as a candidate variable in Omogen, otherwise 400 UNKNOWN_ENRICHMENT_VARIABLE
StringsAlways text, even for a number or a date
Read aloud"on 14 March" rather than "2026-03-14", "CV and ID card" rather than ["cv", "id_card"]
UpdatesA new send for the same external_candidate_id merges the keys; "" empties a key

Reading the response ​

json
{
  "success": true,
  "message": "Application synchronized and process created successfully",
  "data": {
    "process_id": "c50e8400-e29b-41d4-a716-446655440007",
    "status": "in_progress",
    "launch_blocked_reason": null,
    "use_case": "prequalification",
    "candidate": { "id": "…", "external_candidate_id": "CAND-789", "created": true },
    "job": { "id": "550e8400-e29b-41d4-a716-446655440000", "external_job_id": null },
    "invitation_link": null
  }
}
data.statusMeansNext
in_progressthe interview has startedthe result comes with the report_generated webhook
pending_triageOmogen is picking the job from the CV (triage)process_id is null for now
not_eligiblethe interview could not startthe reason is in launch_blocked_reason; if you turned on the process_rejected webhook, it is sent with the same code

When the interview does not start ​

Omogen answers 200 (not 201) with success: true: the application is recorded, but no interview started. success and message do not tell you so: read data.status, or data.launch_blocked_reason, which is null when everything went well.

json
{
  "success": true,
  "message": "Process creation failed: candidate_already_in_campaign",
  "data": {
    "process_id": null,
    "status": "not_eligible",
    "launch_blocked_reason": "candidate_already_in_campaign"
  }
}
launch_blocked_reasonMeans
candidate_already_in_campaignthe candidate is already in this job's campaign
recent_processyour organization contacted the candidate recently (cooldown)
recent_process_sibling_orgsame, by another organization of your group
campaign_closedthe job's campaign is closed
campaign_match_limit, campaign_report_limitthe campaign reached its candidate or report limit
prerequisite_no_phone, prerequisite_no_email, prerequisite_no_cvthe chosen contact mode lacks a piece of data
prerequisite_phone_country_not_allowedthe phone number's country is not allowed
billing_…, gating_…credits used up, account suspended, or feature not in your plan
triage_no_matchtriage found no fitting job
unhandledanything else: write to us with the external_application_id

The code is stable: build your logic on it, never on the message text. Sending the same application again returns the same not_eligible and the same code.

Report the hiring decision ​

Once your client has decided, tell Omogen: hired (hired), rejected (rejected) or withdrawn (withdrawn). Omogen uses it for your hiring statistics and to recommend candidates better.

bash
curl -X PUT https://api.omogen.ai/api/v1/integration-partner/applications/APP-456/hiring-decision \
  -H "Authorization: Bearer <API key>" \
  -H "OM-PARTNER: <partner key>" \
  -H "Content-Type: application/json" \
  -d '{"status": "hired", "decided_at": "2026-10-20T09:30:00Z"}'

APP-456 is the application's external_application_id. Sending the same decision again changes nothing; a new decision replaces the previous one. Details in the reference.

Any question?

gillian@omogen.ai

Documentation Omogen