API REFERENCE
Create an application session
Create a short-lived, signed session before uploading files or submitting answers.
On this page
POST
/api/auth/public/v1/jobs/{job_id}/application-sessionHow to use this endpoint
Authentication
X-Karwa-App-Key: <APP_KEY>
Authorization: Bearer <SECRET_KEY>Parameters
Path parameters
job_idRequiredQuery parameters
posting_idOptionalRequest body
Request example
curl --fail-with-body -X POST "$KARWA_API_BASE/jobs/$JOB_ID/application-session?posting_id=$POSTING_ID" \
-H "X-Karwa-App-Key: $KARWA_APP_KEY" \
-H "Authorization: Bearer $KARWA_SECRET_KEY"Response
tokenRequiredexpires_atRequired
{
"token": "<APPLICATION_TOKEN>",
"expires_at": "2026-11-06T09:20:00Z"
}Errors and recovery
- 401
- 403
- 404
- 413
- 422
- 429
- 503
{
"detail": "Invalid API key"
}