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.
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
| Block | Fields | Required |
|---|---|---|
| Your identifiers | external_application_id, external_candidate_id | yes |
| The candidate | first_name, last_name, email | yes |
phone (+33612345678 or 0612345678) | for a call, SMS or WhatsApp mode | |
| The job | job_opportunity_id or external_job_id | see Link your jobs |
| The interview type | use_case | no, prequalification by default |
| The contact mode | deployment_template | no, the job's campaign mode by default |
| The CV | cv_url or cv_file + cv_filename | no |
| Candidate-specific values | enrichment_data | no |
The two identifiers
These are your identifiers, as they exist in your tool. Omogen uses them to recognise what it has already received.
| Identifier | Stands for | What Omogen does with it |
|---|---|---|
external_candidate_id | the person | Finds the candidate again from one send to the next: one candidate can apply to several jobs. |
external_application_id | one application, so one candidate + job pair | Makes 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 send | Omogen answers |
|---|---|
| A new application | 201 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 job | 201, data.candidate.created is false |
| An application whose interview cannot start | 200, 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_datais 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_case | For | The agent |
|---|---|---|
prequalification (default) | a candidate who just applied | checks their criteria for the job |
reactivation | a candidate from your talent pool, contacted without applying | offers 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_template | Omogen |
|---|---|
single-call | calls right away |
sms-then-call | sends an SMS, then calls 5 minutes later |
whatsapp-then-call | sends a WhatsApp message, then calls |
3-days | spreads call attempts over 3 days |
reactivation | calls, sends an SMS, calls again an hour later, then the next day |
email-invitation, sms-invitation, whatsapp-invitation | sends an invitation link: the candidate picks their slot |
invitation-link-only | sends nothing: you pass the invitation link on yourself |
cv-only | screens 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.
Invitation link
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_template | Omogen sends the link by |
|---|---|
email-invitation | |
sms-invitation | SMS |
whatsapp-invitation | |
invitation-link-only | nothing: 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, withcv_filenamefor 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>}.
"enrichment_data": {
"application_date": "on 14 March",
"signup_link": "https://your-ats.com/signup/CAND-789"
}| Rule | Detail |
|---|---|
| Declared keys | Each key must exist as a candidate variable in Omogen, otherwise 400 UNKNOWN_ENRICHMENT_VARIABLE |
| Strings | Always 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"] |
| Updates | A new send for the same external_candidate_id merges the keys; "" empties a key |
Reading the response
{
"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.status | Means | Next |
|---|---|---|
in_progress | the interview has started | the result comes with the report_generated webhook |
pending_triage | Omogen is picking the job from the CV (triage) | process_id is null for now |
not_eligible | the interview could not start | the 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.
{
"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_reason | Means |
|---|---|
candidate_already_in_campaign | the candidate is already in this job's campaign |
recent_process | your organization contacted the candidate recently (cooldown) |
recent_process_sibling_org | same, by another organization of your group |
campaign_closed | the job's campaign is closed |
campaign_match_limit, campaign_report_limit | the campaign reached its candidate or report limit |
prerequisite_no_phone, prerequisite_no_email, prerequisite_no_cv | the chosen contact mode lacks a piece of data |
prerequisite_phone_country_not_allowed | the phone number's country is not allowed |
billing_…, gating_… | credits used up, account suspended, or feature not in your plan |
triage_no_match | triage found no fitting job |
unhandled | anything 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.
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?