API-REFERENZ
Datei hochladen
Rohdaten von Lebenslauf oder Anhang für eine Formularfrage hochladen.
Auf dieser Seite
POST
/api/auth/public/v1/jobs/{job_id}/application-files/{question_id}So nutzt du diesen Endpunkt
Authentifizierung
X-Karwa-App-Key: <APP_KEY>
Authorization: Bearer <SECRET_KEY>Parameter
Pfadparameter
job_idErforderlichquestion_idErforderlichAbfrageparameter
posting_idOptionalfilenameOptionalHeader-Parameter
X-Karwa-Application-TokenErforderlichAnfragetext
Anfragebeispiel
curl --fail-with-body -X POST "$KARWA_API_BASE/jobs/$JOB_ID/application-files/$QUESTION_ID?posting_id=$POSTING_ID&filename=cv.pdf" \
-H "X-Karwa-App-Key: $KARWA_APP_KEY" \
-H "Authorization: Bearer $KARWA_SECRET_KEY" \
-H "X-Karwa-Application-Token: $APPLICATION_TOKEN" \
-H "Content-Type: application/pdf" \
--data-binary @cv.pdfAntwort
tokenErforderlichfilenameErforderlichcontent_typeErforderlichsize_bytesErforderlich
{
"token": "<UPLOAD_TOKEN>",
"filename": "cv.pdf",
"content_type": "application/pdf",
"size_bytes": 12345
}Fehler & Recovery
- 401
- 403
- 404
- 413
- 422
- 429
- 503
{
"detail": "Invalid API key"
}