Jobs
Stellenausschreibungen deines AeroHire-Tenants erstellen, lesen, bearbeiten und Status verwalten.
Job-Objekt
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| id | integer | Pflicht | Eindeutige Job-ID |
| title | string | Pflicht | Stellentitelz.B. First Officer A320 |
| description | string|null | Optional | Stellenbeschreibung (HTML erlaubt) |
| requirements | string|null | Optional | Anforderungen (HTML erlaubt) |
| status | enum | Pflicht | draft | online | offline | archived |
| work_model | enum|null | Optional | onsite | remote | hybrid |
| job_type | enum|null | Optional | full-time | part-time | contract | internship | temporary |
| salary_min | number|null | Optional | Mindestgehaltz.B. 45000 |
| salary_max | number|null | Optional | Maximalgehaltz.B. 65000 |
| salary_currency | string|null | Optional | ISO 4217 Währungscodez.B. EUR |
| salary_period | enum|null | Optional | hourly | monthly | yearly |
| remote_ok | boolean | Optional | Remote-Arbeit möglich |
| visa_sponsorship | boolean | Optional | Visa-Sponsorship verfügbar |
| skills | array|null | Optional | Gewünschte Skillsz.B. ["ATPL", "A320 Type Rating"] |
| certifications | array|null | Optional | Benötigte Zertifikate |
| applications_count | integer | Optional | Anzahl eingegangener Bewerbungen |
| expires_at | datetime|null | Optional | Ablaufdatum der Stelle (ISO 8601) |
| created_at | datetime | Optional | Erstellungszeitpunkt (ISO 8601) |
| updated_at | datetime | Optional | Letzte Änderung (ISO 8601) |
GET /jobs — Alle Jobs auflisten
Gibt eine paginierte Liste aller Jobs des Tenants zurück.
GEThttps://api.aeroselect.io/api/v2/external/jobs
Query-Parameter
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| status | string | Optional | Filtert nach Status: draft, online, offline, archived |
| search | string | Optional | Volltextsuche im Titel |
| page | integer | Optional | Seitennummer (Standard: 1) |
| per_page | integer | Optional | Einträge pro Seite (Standard: 25, Max: 100) |
cURLBash
curl "https://api.aeroselect.io/api/v2/external/jobs?status=online&page=1" \
-H "X-API-Key: ak_live_YOUR_KEY"Node.jsJavaScript
const response = await fetch(
"https://api.aeroselect.io/api/v2/external/jobs?status=online&page=1",
{ headers: { "X-API-Key": process.env.AEROSELECT_API_KEY } }
);
const { data: jobs, meta } = await response.json();
console.log(`${meta.total} Jobs gefunden`);Response 200JSON
{
"data": [
{
"id": 1,
"title": "First Officer A320",
"status": "online",
"work_model": "onsite",
"job_type": "full-time",
"salary_min": 48000,
"salary_max": 72000,
"salary_currency": "EUR",
"salary_period": "yearly",
"remote_ok": false,
"visa_sponsorship": true,
"skills": ["ATPL", "A320 Type Rating", "EASA Medical Class 1"],
"applications_count": 23,
"expires_at": "2026-08-31T00:00:00Z",
"created_at": "2026-05-01T10:00:00Z",
"updated_at": "2026-05-15T14:30:00Z"
}
],
"meta": {
"current_page": 1,
"last_page": 3,
"per_page": 25,
"total": 67
},
"links": {
"first": "https://api.aeroselect.io/api/v2/external/jobs?page=1",
"next": "https://api.aeroselect.io/api/v2/external/jobs?page=2",
"prev": null,
"last": "https://api.aeroselect.io/api/v2/external/jobs?page=3"
}
}GET /jobs/{id} — Einzelnen Job abrufen
GEThttps://api.aeroselect.io/api/v2/external/jobs/{id}
Bash
curl "https://api.aeroselect.io/api/v2/external/jobs/1" \
-H "X-API-Key: ak_live_YOUR_KEY"POST /jobs — Job erstellen
Erstellt einen neuen Job im Status draft. . Erfordert Scope jobs:write.
POSThttps://api.aeroselect.io/api/v2/external/jobs
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| title | string | Pflicht | Stellentitel (max. 255 Zeichen) |
| description | string | Optional | Stellenbeschreibung |
| requirements | string | Optional | Anforderungen |
| work_model | enum | Optional | onsite | remote | hybrid |
| job_type | enum | Optional | full-time | part-time | contract | internship | temporary |
| salary_min | number | Optional | Mindestgehalt |
| salary_max | number | Optional | Maximalgehalt |
| salary_currency | string | Optional | ISO 4217 (z.B. EUR, USD) |
| salary_period | enum | Optional | hourly | monthly | yearly |
| remote_ok | boolean | Optional | Remote-Arbeit möglich |
| visa_sponsorship | boolean | Optional | Visa-Sponsorship |
| skills | array | Optional | Array von Skills als Strings |
| certifications | array | Optional | Array von Zertifikaten als Strings |
| expires_at | datetime | Optional | Ablaufdatum (muss in der Zukunft liegen) |
cURLBash
curl -X POST "https://api.aeroselect.io/api/v2/external/jobs" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Captain B737",
"work_model": "onsite",
"job_type": "full-time",
"salary_min": 95000,
"salary_max": 130000,
"salary_currency": "EUR",
"salary_period": "yearly",
"visa_sponsorship": true,
"skills": ["ATPL", "B737 Type Rating"],
"expires_at": "2026-09-30"
}'Response 201JSON
{
"data": {
"id": 42,
"title": "Captain B737",
"status": "draft",
"code": "JOB8XK2P",
"slug": "captain-b737-abc123",
"work_model": "onsite",
"job_type": "full-time",
"salary_min": 95000,
"salary_max": 130000,
"salary_currency": "EUR",
"salary_period": "yearly",
"visa_sponsorship": true,
"skills": ["ATPL", "B737 Type Rating"],
"applications_count": 0,
"created_at": "2026-05-22T09:15:00Z"
},
"message": "Job created."
}PATCH /jobs/{id} — Job bearbeiten
Aktualisiert einzelne Felder eines Jobs. Nicht angegebene Felder bleiben unverändert (PATCH-Semantik). Erfordert Scope jobs:write.
PATCHhttps://api.aeroselect.io/api/v2/external/jobs/{id}
cURLBash
curl -X PATCH "https://api.aeroselect.io/api/v2/external/jobs/42" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "salary_max": 140000, "visa_sponsorship": true }'PATCH /jobs/{id}/status — Status ändern
Ändert nur den Status eines Jobs. Erfordert Scope jobs:write.
PATCHhttps://api.aeroselect.io/api/v2/external/jobs/{id}/status
Status-Workflow
Jobs durchlaufen typischerweise folgenden Workflow:
draft → online → archived. Ein Job im Status online ist auf der Karriereseite sichtbar. offline versteckt den Job ohne ihn zu archivieren.cURLBash
curl -X PATCH "https://api.aeroselect.io/api/v2/external/jobs/42/status" \
-H "X-API-Key: ak_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "online" }'Response 200JSON
{
"data": {
"id": 42,
"title": "Captain B737",
"status": "online",
"updated_at": "2026-05-22T10:00:00Z"
},
"message": "Job status updated."
}