Pre-screen a candidate from a binary resume upload
Accepts a multipart/form-data upload with candidate details and a binary resume file, converts the resume to text, runs AI pre-screening against the position, stores the result, and returns the decision.
Authorizations
Supabase JWT access token, passed as Authorization: Bearer <token>.
Body
The position the candidate is being pre-screened against.
1Full name of the candidate.
1Candidate email (normalized to lowercase, trimmed).
1ISO country code used as residency/nationality fallback.
1Resume file (pdf, doc, docx, txt, etc.)
Optional external identifier for the candidate.
Optional candidate LinkedIn profile URL.
Optional JSON string with education/languages/residency/nationality/visa/age/gender.
Response
Pre-screening result, or an early-exit status message.
- Option 1
- Option 2
Either the completed pre-screening result, or an early-exit status message when the candidate is not in the pre-screening candidate_action state.