Tailor
AI-powered resume tailoring. Rewrites resume sections to match a specific job description.
Tailor Resume
POST /v1/tailorSends a resume and job description to the AI engine, which returns tailored suggestions for each resume section. Supports SSE streaming for real-time responses.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
resumeId | string | Yes | ID of the resume to tailor |
jobDescription | string | Yes | Full job description text or URL |
Standard Request
curl https://api.laddro.com/v1/tailor \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"resumeId": "res_abc123",
"jobDescription": "We are looking for a Senior Frontend Engineer with 5+ years of React experience..."
}'Standard Response
{
"data": {
"suggestions": {
"summary": "Senior frontend engineer with 6 years of React expertise...",
"experience": [
{
"index": 0,
"original": "Built web applications",
"tailored": "Architected and shipped 3 production React applications serving 50K+ users"
}
],
"skills": ["React", "TypeScript", "Next.js", "Tailwind CSS"]
}
}
}Streaming Request (SSE)
Add Accept: text/event-stream to receive results as they’re generated:
curl https://api.laddro.com/v1/tailor \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-d '{
"resumeId": "res_abc123",
"jobDescription": "Senior Frontend Engineer..."
}'SSE Response
data: {"type":"section","section":"summary","content":"Senior frontend..."}
data: {"type":"section","section":"experience","content":"..."}
data: {"type":"done"}See Streaming Guide for implementation patterns.
Errors
| Status | Description |
|---|---|
400 | Missing resumeId or jobDescription |
401 | Missing or invalid API key |
402 | No credits remaining |
404 | Resume not found |
422 | Job description too short or invalid |
Last updated on