Bewerbungen
Bewerbungen verwalten, Status aktualisieren und Notizen hinzufügen.
Bewerbungs-Objekt
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| id | integer | Pflicht | Eindeutige Bewerbungs-ID |
| code | string | Optional | Öffentlicher Bewerbungscodez.B. APP8XK2P |
| status | enum | Pflicht | pending | reviewed | shortlisted | interview | offered | hired | rejected | withdrawn |
| source | string | Optional | Quelle der Bewerbungz.B. api |
| cover_letter | string|null | Optional | Anschreiben des Kandidaten |
| job_id | integer | Optional | ID der Stelle |
| job | object | Optional | { id, title } — Kurzinfo zur Stelle |
| candidate | object | Optional | { id, first_name, last_name, email, phone } |
| pipeline_stage | object|null | Optional | { id, name } — Aktuelle Pipeline-Stufe |
| hired_at | datetime|null | Optional | Zeitpunkt der Einstellung |
| rejected_at | datetime|null | Optional | Zeitpunkt der Absage |
| submitted_at | datetime | Optional | Einreichungszeitpunkt (ISO 8601) |
| created_at | datetime | Optional | Erstellungszeitpunkt |
Bewerbungs-Status-Maschine
pending → reviewed → shortlisted → interview → offered → hired
↓
rejected
pending → withdrawn (Kandidat zieht zurück)
* → rejected (jederzeit möglich)GET /applications — Bewerbungen auflisten
GEThttps://api.aeroselect.io/api/v2/external/applications
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| job_id | integer | Optional | Filtert nach Job-ID |
| status | string | Optional | Filtert nach Bewerbungsstatus |
| page | integer | Optional | Seitennummer |
cURLBash
curl "https://api.aeroselect.io/api/v2/external/applications?job_id=1&status=shortlisted" \
-H "X-API-Key: ak_live_YOUR_KEY"Response 200JSON
{
"data": [
{
"id": 101,
"code": "APP8XK2P",
"status": "shortlisted",
"source": "talenthub",
"job": { "id": 1, "title": "First Officer A320" },
"candidate": {
"id": 55,
"first_name": "Max",
"last_name": "Müller",
"email": "[email protected]"
},
"pipeline_stage": { "id": 3, "name": "Telefoninterview" },
"submitted_at": "2026-05-10T08:30:00Z"
}
],
"meta": { "total": 47, "page": 1, "per_page": 25 }
}POST /applications — Bewerbung einreichen
Reicht eine neue Bewerbung ein. Wenn der Kandidat noch nicht existiert, wird automatisch ein Account erstellt. Doppelte Bewerbungen auf dieselbe Stelle werden mit HTTP 409 abgelehnt. Erfordert Scope applications:write.
POSThttps://api.aeroselect.io/api/v2/external/applications
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| job_id | integer | Pflicht | ID der Stelle |
| first_name | string | Pflicht | Vorname (max. 100 Zeichen) |
| last_name | string | Pflicht | Nachname (max. 100 Zeichen) |
string | Pflicht | E-Mail-Adresse des Kandidaten | |
| phone | string | Optional | Telefonnummer (max. 50 Zeichen) |
| cover_letter | string | Optional | Anschreiben (max. 5.000 Zeichen) |
| source | string | Optional | Bewerbungsquellez.B. hris_sync |
cURLBash
curl -X POST "https://api.aeroselect.io/api/v2/external/applications" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"job_id": 1,
"first_name": "Anna",
"last_name": "Schmidt",
"email": "[email protected]",
"phone": "+49 170 123 4567",
"cover_letter": "Sehr geehrte Damen und Herren...",
"source": "hris_sync"
}'Response 201JSON
{
"data": {
"id": 102,
"code": "APPZQR9M",
"status": "pending",
"job_id": 1,
"submitted_at": "2026-05-22T10:00:00Z"
},
"message": "Application submitted successfully."
}Duplikat-Schutz
Wenn ein Kandidat mit derselben E-Mail bereits auf diese Stelle beworben hat, antwortet die API mit HTTP 409 Conflict. Prüfe den Status der bestehenden Bewerbung vor dem erneuten Einreichen.
PATCH /applications/{id}/status — Status ändern
Erfordert Scope applications:write.
PATCHhttps://api.aeroselect.io/api/v2/external/applications/{id}/status
cURLBash
curl -X PATCH "https://api.aeroselect.io/api/v2/external/applications/101/status" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "interview" }'Automatische Timestamps
Beim Setzen von Status
hired wird automatisch hired_at gesetzt. Bei rejected wird rejected_at gesetzt.POST /applications/{id}/notes — Notiz hinzufügen
Fügt eine interne oder öffentliche Notiz zur Bewerbung hinzu. Erfordert Scope applications:write.
POSThttps://api.aeroselect.io/api/v2/external/applications/{id}/notes
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| note_text | string | Pflicht | Notiztext (max. 5.000 Zeichen) |
| visibility | enum | Optional | internal (Standard) | public — ob der Kandidat die Notiz sehen kann |
cURLBash
curl -X POST "https://api.aeroselect.io/api/v2/external/applications/101/notes" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"note_text": "Kandidat hat hervorragende ATPL-Erfahrung. Für finales Interview einplanen.",
"visibility": "internal"
}'Response 201JSON
{
"data": {
"id": 201,
"note_text": "Kandidat hat hervorragende ATPL-Erfahrung...",
"visibility": "internal",
"created_at": "2026-05-22T11:00:00Z"
},
"message": "Note added."
}