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>'
import requests

url = "https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary"

files = { "file": ("example-file", open("example-file", "rb")) }
payload = {
"position_id": "<string>",
"candidate_name": "<string>",
"candidate_email": "<string>",
"candidate_country_code": "<string>",
"candidate_external_id": "<string>",
"candidate_linkedin_url": "<string>",
"form": "<string>"
}
headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, data=payload, files=files, headers=headers)

print(response.text)
const form = new FormData();
form.append('position_id', '<string>');
form.append('candidate_name', '<string>');
form.append('candidate_email', '<string>');
form.append('candidate_country_code', '<string>');
form.append('file', '<string>');
form.append('candidate_external_id', '<string>');
form.append('candidate_linkedin_url', '<string>');
form.append('form', '<string>');

const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

options.body = form;

fetch('https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"position_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_name\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_email\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_country_code\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_external_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_linkedin_url\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"form\"\r\n\r\n<string>\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: multipart/form-data"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary"

payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"position_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_name\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_email\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_country_code\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_external_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_linkedin_url\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"form\"\r\n\r\n<string>\r\n-----011000010111000001101001--")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary")
.header("Authorization", "Bearer <token>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"position_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_name\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_email\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_country_code\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_external_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_linkedin_url\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"form\"\r\n\r\n<string>\r\n-----011000010111000001101001--")
.asString();
require 'uri'
require 'net/http'

url = URI("https://cool.jobmojito.com/functions/v1/job-interview-pre-screening-api-resume-binary")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"position_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_name\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_email\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_country_code\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"file\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_external_id\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"candidate_linkedin_url\"\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"form\"\r\n\r\n<string>\r\n-----011000010111000001101001--"

response = http.request(request)
puts response.read_body
{
  "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>"
}
{
"error": "Field is required.",
"name": "interview_result_id"
}
{
"error": "Field is required.",
"name": "interview_result_id"
}
{
"error": "Field is required.",
"name": "interview_result_id"
}
{
"error": "Field is required.",
"name": "interview_result_id"
}
{
"error": "Field is required.",
"name": "interview_result_id"
}

Authorizations

Authorization
string
header
required

Supabase JWT — 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