Skip to main content
POST
/
job-interview-pre-screening-api-resume-binary
Pre-screen a candidate from a binary resume upload
curl --request POST \
  --url https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'position_id=<string>' \
  --form 'candidate_name=<string>' \
  --form 'candidate_email=<string>' \
  --form 'candidate_country_code=<string>' \
  --form file='@example-file' \
  --form 'candidate_external_id=<string>' \
  --form 'candidate_linkedin_url=<string>' \
  --form 'form=<string>'
{
  "success": true,
  "decision_status": "<string>",
  "recommendation": "<string>",
  "profile_interview_id": "<string>",
  "interview_result_pre_screening_id": "<string>",
  "interview_file_id": "<string>",
  "pre_screening_score": 123,
  "resume_ai_analysis": "<string>",
  "resume_ai_education": "<string>",
  "resume_ai_technical_experience": 123,
  "resume_ai_is_switching_profession": true,
  "processing_reason": "<string>"
}

Authorizations

Authorization
string
header
required

Supabase JWT access token, passed as Authorization: Bearer <token>.

Body

multipart/form-data
position_id
string
required

The position the candidate is being pre-screened against.

Minimum string length: 1
candidate_name
string
required

Full name of the candidate.

Minimum string length: 1
candidate_email
string
required

Candidate email (normalized to lowercase, trimmed).

Minimum string length: 1
candidate_country_code
string
required

ISO country code used as residency/nationality fallback.

Minimum string length: 1
file
file
required

Resume file (pdf, doc, docx, txt, etc.)

candidate_external_id
string

Optional external identifier for the candidate.

candidate_linkedin_url
string

Optional candidate LinkedIn profile URL.

form
string

Optional JSON string with education/languages/residency/nationality/visa/age/gender.

Response

Pre-screening result, or an early-exit status message.

Either the completed pre-screening result, or an early-exit status message when the candidate is not in the pre-screening candidate_action state.

success
boolean
required
decision_status
string
required
recommendation
string | null
required
profile_interview_id
string
required
interview_result_pre_screening_id
string
required
interview_file_id
string
required
pre_screening_score
number | null
required
resume_ai_analysis
string | null
required
resume_ai_education
string | null
required
resume_ai_technical_experience
number | null
required
resume_ai_is_switching_profession
boolean | null
required
processing_reason
string | null
required