Extract candidate details, skills, and work experience from resumes into structured JSON for recruiting workflows.
Who this is for
Recruiting teams and HR platforms use this recipe to automate resume screening. Upload a resume in PDF or DOCX format and receive structured JSON with candidate name, email, work history, and skills — ready for your ATS or candidate pipeline.
curl -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
-H"Authorization: Bearer YOUR_API_KEY"\
-H"Content-Type: application/json"\
-d'{
"files": [
{
"type": "url",
"name": "resume.pdf",
"url": "https://example.com/resumes/resume.pdf"
}
],
"schema": {
"fields": [
{ "name": "name", "type": "TEXT", "description": "Full name of the candidate" },
{ "name": "email", "type": "EMAIL", "description": "Candidate email address" },
{ "name": "experience", "type": "ARRAY", "description": "Work experience entries", "fields": [
{ "name": "company", "type": "TEXT", "description": "Employer or company name" },
{ "name": "role", "type": "TEXT", "description": "Job title or role" },
{ "name": "start_date", "type": "DATE", "description": "Start date of employment" },
{ "name": "end_date", "type": "DATE", "description": "End date of employment" }
]},
{ "name": "skills", "type": "ARRAY", "description": "List of candidate skills", "fields": [
{ "name": "skill", "type": "TEXT", "description": "Skill name" }
]}
]
}
}'
import{IterationLayer}from"iterationlayer";constclient=newIterationLayer({apiKey:"YOUR_API_KEY"});constresult=awaitclient.extract({files:[{type:"url",name:"resume.pdf",url:"https://example.com/resumes/resume.pdf",},],schema:{fields:[{name:"name",type:"TEXT",description:"Full name of the candidate"},{name:"email",type:"EMAIL",description:"Candidate email address"},{name:"experience",type:"ARRAY",description:"Work experience entries",fields:[{name:"company",type:"TEXT",description:"Employer or company name"},{name:"role",type:"TEXT",description:"Job title or role"},{name:"start_date",type:"DATE",description:"Start date of employment"},{name:"end_date",type:"DATE",description:"End date of employment"},]},{name:"skills",type:"ARRAY",description:"List of candidate skills",fields:[{name:"skill",type:"TEXT",description:"Skill name"},]},],},});console.log(result);
fromiterationlayerimportIterationLayerclient=IterationLayer(api_key="YOUR_API_KEY")result=client.extract(files=[{"type":"url","name":"resume.pdf","url":"https://example.com/resumes/resume.pdf",}],schema={"fields":[{"name":"name","type":"TEXT","description":"Full name of the candidate"},{"name":"email","type":"EMAIL","description":"Candidate email address"},{"name":"experience","type":"ARRAY","description":"Work experience entries","fields":[{"name":"company","type":"TEXT","description":"Employer or company name"},{"name":"role","type":"TEXT","description":"Job title or role"},{"name":"start_date","type":"DATE","description":"Start date of employment"},{"name":"end_date","type":"DATE","description":"End date of employment"},]},{"name":"skills","type":"ARRAY","description":"List of candidate skills","fields":[{"name":"skill","type":"TEXT","description":"Skill name"},]},]},)print(result)
packagemainimportil"github.com/iterationlayer/sdk-go"client:=il.NewClient("YOUR_API_KEY")result,err:=client.Extract(il.ExtractRequest{Files:[]il.FileInput{il.NewFileFromURL("resume.pdf","https://example.com/resumes/resume.pdf"),},Schema:il.ExtractionSchema{"name":il.NewTextFieldConfig("name","Full name of the candidate"),"email":il.NewEmailFieldConfig("email","Candidate email address"),"experience":il.NewArrayFieldConfig("experience","Work experience entries",[]il.FieldConfig{il.NewTextFieldConfig("company","Employer or company name"),il.NewTextFieldConfig("role","Job title or role"),il.NewDateFieldConfig("start_date","Start date of employment"),il.NewDateFieldConfig("end_date","End date of employment"),}),"skills":il.NewArrayFieldConfig("skills","List of candidate skills",[]il.FieldConfig{il.NewTextFieldConfig("skill","Skill name"),}),},})