REFERENCIA DE API
Obtener un formulario
Lee las secciones y preguntas que tu sitio web debe mostrar para esta publicación.
En esta página
GET
/api/auth/public/v1/jobs/{job_id}/application-formCómo usar este endpoint
Autenticación
X-Karwa-App-Key: <APP_KEY>
Authorization: Bearer <SECRET_KEY>Parámetros
Parámetros de ruta
job_idObligatorioParámetros de consulta
posting_idOpcionalCuerpo de petición
Ejemplo de petición
curl --fail-with-body "$KARWA_API_BASE/jobs/$JOB_ID/application-form?posting_id=$POSTING_ID" \
-H "X-Karwa-App-Key: $KARWA_APP_KEY" \
-H "Authorization: Bearer $KARWA_SECRET_KEY"Respuesta
job_idObligatorioposting_idObligatorioapplication_formObligatorioconsent_requiredmax_file_bytes
{
"job_id": "job-public-id",
"posting_id": "posting-id",
"application_form": {
"name": "Application",
"sections": [
{
"id": "about-you",
"title": "About you",
"questions": [
{
"id": "full_name",
"label": "Full name",
"type": "short_text",
"required": true
},
{
"id": "email",
"label": "Email",
"type": "email",
"required": true
},
{
"id": "resume",
"label": "Résumé",
"type": "resume",
"required": true
}
]
}
]
},
"consent_required": true,
"max_file_bytes": 10485760
}Errores y recuperación
- 401
- 403
- 404
- 422
- 429
{
"detail": "Invalid API key"
}