Curriculos
Curriculos
Gestiona curriculos: listar, obtener, analizar desde archivos y renderizar a PDF.
Listar curriculos
GET /v1/resumesDevuelve todos los curriculos del usuario autenticado.
Solicitud
curl https://api.laddro.com/v1/resumes \
-H "x-api-key: YOUR_API_KEY"Respuesta
{
"data": [
{
"id": "res_abc123",
"title": "Software Engineer Resume",
"createdAt": "2026-05-01T10:00:00Z",
"updatedAt": "2026-05-02T15:30:00Z"
}
]
}Obtener curriculo
GET /v1/resumes/{resumeId}Devuelve los datos completos del curriculo, incluyendo todas las secciones.
Parametros
| Parametro | Tipo | Ubicacion | Descripcion |
|---|---|---|---|
resumeId | string | path | ID del curriculo |
Solicitud
curl https://api.laddro.com/v1/resumes/res_abc123 \
-H "x-api-key: YOUR_API_KEY"Respuesta
{
"data": {
"id": "res_abc123",
"title": "Software Engineer Resume",
"sections": {
"header": {
"name": "Jane Smith",
"email": "[email protected]",
"phone": "+49 170 1234567",
"location": "Berlin, Germany"
},
"summary": "Experienced software engineer...",
"experience": [...],
"education": [...],
"skills": [...],
"languages": [...]
}
}
}Errores
| Estado | Descripcion |
|---|---|
401 | Clave API faltante o invalida |
404 | Curriculo no encontrado |
Analizar curriculo
POST /v1/resumes/parseSube un archivo PDF o DOCX para extraer datos estructurados del curriculo. El archivo se analiza usando IA para identificar secciones, fechas y contenido.
Solicitud
curl https://api.laddro.com/v1/resumes/parse \
-H "x-api-key: YOUR_API_KEY" \
-F "[email protected]"Parametros
| Parametro | Tipo | Ubicacion | Descripcion |
|---|---|---|---|
file | file | form-data | Archivo PDF o DOCX (max. 10 MB) |
Respuesta
{
"data": {
"id": "res_def456",
"title": "Parsed Resume",
"sections": {
"header": { ... },
"summary": "...",
"experience": [...],
"education": [...],
"skills": [...]
}
}
}Errores
| Estado | Descripcion |
|---|---|
400 | Formato de archivo invalido (solo PDF/DOCX) |
401 | Clave API faltante o invalida |
402 | Sin creditos disponibles |
413 | Archivo demasiado grande (max. 10 MB) |
Renderizar curriculo a PDF
PUT /v1/resumes/{resumeId}/renderRenderiza un curriculo usando la plantilla especificada y devuelve un archivo PDF.
Parametros
| Parametro | Tipo | Ubicacion | Descripcion |
|---|---|---|---|
resumeId | string | path | ID del curriculo |
templateId | string | body | Plantilla a utilizar (ej. graphite) |
fontId | string | body | Fuente a utilizar (opcional) |
Solicitud
curl https://api.laddro.com/v1/resumes/res_abc123/render \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "templateId": "graphite" }' \
--output resume.pdfRespuesta
Devuelve datos binarios application/pdf.
Errores
| Estado | Descripcion |
|---|---|
401 | Clave API faltante o invalida |
402 | Sin creditos disponibles |
404 | Curriculo o plantilla no encontrados |