Crew Profiles

List crew members, retrieve individual profiles and edit aviation-specific fields.

Crew Member Object

FeldTypPflichtBeschreibung
idintegerOptionalUnique crew ID
employee_idstringOptionalEmployee numberz.B. EMP-12345
first_namestringOptionalFirst name
last_namestringOptionalLast name
emailstringOptionalWork email address
roleenumOptionalcaptain | first_officer | cabin_crew | ground_ops | dispatcher
base_airportstringOptionalHome base (IATA)z.B. FRA
hire_datedateOptionalHire date
statusenumOptionalactive | on_leave | suspended | terminated
total_flight_hoursnumberOptionalTotal flight hours (PIC + co-pilot)
created_atdatetimeOptionalProfile created

GET /crew — All Crew Members

GEThttps://api.aeroselect.io/api/v1/crew/crew
cURLBash
curl "https://api.aeroselect.io/api/v1/crew/crew?role=captain&status=active&base_airport=FRA" \
  -H "X-API-Key: ak_live_YOUR_KEY"
Response 200JSON
{
  "data": [
    {
      "id": 201,
      "employee_id": "EMP-12345",
      "first_name": "Thomas",
      "last_name": "Bauer",
      "role": "captain",
      "base_airport": "FRA",
      "hire_date": "2018-03-01",
      "status": "active",
      "total_flight_hours": 8420
    }
  ],
  "meta": { "total": 87, "page": 1, "per_page": 25 }
}

GET /crew/{id} — Single Profile

GEThttps://api.aeroselect.io/api/v1/crew/crew/{id}
Bash
curl "https://api.aeroselect.io/api/v1/crew/crew/201" \
  -H "X-API-Key: ak_live_YOUR_KEY"

PATCH /crew/{id} — Edit Profile

PATCHhttps://api.aeroselect.io/api/v1/crew/crew/{id}
FeldTypPflichtBeschreibung
base_airportstringOptionalNew home base (IATA)
statusenumOptionalNew status
total_flight_hoursnumberOptionalUpdated flight hours
cURLBash
curl -X PATCH "https://api.aeroselect.io/api/v1/crew/crew/201" \
  -H "X-API-Key: ak_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "base_airport": "MUC", "total_flight_hours": 8650 }'