# Bewerbung abrufen

`GET https://{tenant}.stamp.eu/rest/recruiting/applications/{application}`

Details, files and history

## Pfadparameter

| Name | Typ | Pflicht |
| --- | --- | --- |
| `application` | string | ja |

## Antworten

### 200: `JobApplicationResource`

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `data` | object | ja |  |
| `data.id` | string | ja |  |
| `data.job_posting_id` | string | ja |  |
| `data.posting` | object \| null | ja |  |
| `data.posting.id` | string | ja |  |
| `data.posting.title` | string | ja |  |
| `data.posting.status` | `draft`, `published`, `closed` | ja | Lifecycle of a job posting (OpenSpec add-recruiting, D3): draft → published ⇄ closed. A published posting is public only while `valid_through` has not passed ({@see \App\Models\JobPosting::scopePubliclyVisible()}); expiry is derived, not a status. |
| `data.first_name` | string \| null | ja |  |
| `data.last_name` | string \| null | ja |  |
| `data.full_name` | string \| null | ja |  |
| `data.email` | string \| null | ja |  |
| `data.phone` | string \| null | ja |  |
| `data.profile_url` | string \| null | ja |  |
| `data.cover_letter` | string \| null | ja |  |
| `data.stage` | `new`, `review`, `interview`, `offer`, `hired`, `rejected` | ja | Fixed pipeline of a job application (OpenSpec add-recruiting, D7). Every transition is allowed, also backwards; entering `rejected` or `hired` sets the matching timestamp, leaving it clears it. |
| `data.source` | `career_page`, `widget`, `indeed`, `stepstone`, `linkedin`, `aggregator` | ja | Where an application came from (OpenSpec add-recruiting, D16, D17): the hosted career page, the job widget or one of the feed channels. The public job page passes the value of `?source=` to the submission; the feed channels append it to every posting URL (`tracking_source` in `recruiting.feeds.channels`). Unknown values count as career page. |
| `data.locale` | string | ja |  |
| `data.privacy_acknowledged_at` | string | ja |  |
| `data.privacy_notice_version` | integer | ja |  |
| `data.submitted_at` | string \| null | ja |  |
| `data.rejected_at` | string \| null | ja |  |
| `data.hired_at` | string \| null | ja |  |
| `data.employee_id` | string \| null | ja |  |
| `data.is_purged` | boolean | ja |  |
| `data.purged_at` | string \| null | ja |  |
| `data.possible_duplicate` | boolean | ja |  |
| `data.duplicate_count` | integer | ja |  |
| `data.duplicate_on_posting_count` | integer | ja |  |
| `data.retention_due_at` | string \| null | ja |  |
| `data.retention_hint` | boolean | ja |  |
| `data.mail_templates` | `rejection`, `invitation`[] | ja |  |
| `data.can_convert` | boolean | ja |  |
| `data.can_create_questionnaire` | boolean | ja |  |
| `data.documents` | object[] | ja |  |
| `data.documents[].id` | string | ja |  |
| `data.documents[].kind` | `cv`, `other` | ja | Kind of a file attached to a job application (OpenSpec add-recruiting, D3). |
| `data.documents[].original_filename` | string \| null | ja |  |
| `data.documents[].mime_type` | string | ja |  |
| `data.documents[].size_bytes` | integer | ja |  |
| `data.documents[].quarantined` | boolean | ja |  |
| `data.documents[].check_result` | string \| null | ja |  |
| `data.documents[].check_state` | `pending`, `scanner_unavailable`, `released`, `rejected` | ja | State of the check of an application file as the admin shows it (OpenSpec add-recruiting, D9, O10), derived from `quarantined`, `check_result`, the recheck attempts and the age of the file: - `pending`: the check is running (just uploaded) - `scanner_unavailable`: still in quarantine because no virus scan could run (no scanner   configured for a PDF that needs one, scanner unreachable, or the check is overdue); the   scheduled recheck releases it once the scanner answers - `released`: checked, can be opened - `rejected`: malware found or format not supported, never downloadable |
| `data.documents[].checked_at` | string \| null | ja |  |
| `data.documents[].downloadable` | boolean | ja |  |
| `data.documents[].created_at` | string \| null | ja |  |
| `data.events` | object[] | ja |  |
| `data.events[].id` | string | ja |  |
| `data.events[].type` | `stage_changed`, `note`, `mail_sent`, `converted` | ja | Entry in the history of a job application (OpenSpec add-recruiting, D3, D7, D11, D14). |
| `data.events[].from_stage` | `new`, `review`, `interview`, `offer`, `hired`, `rejected` \| null | ja |  |
| `data.events[].to_stage` | `new`, `review`, `interview`, `offer`, `hired`, `rejected` \| null | ja |  |
| `data.events[].body` | string \| null | ja |  |
| `data.events[].mail_template` | `rejection`, `invitation` \| null | ja |  |
| `data.events[].mail_subject` | string \| null | ja |  |
| `data.events[].user_id` | string \| null | ja |  |
| `data.events[].user_name` | string \| null | ja |  |
| `data.events[].created_at` | string \| null | ja |  |

### 401: Unauthenticated

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |
