FlightLine REST API v1 · $79/mo Add-On
Code Language:

FlightLine Developer's Guide

Integrate fleet status, maintenance records, invoices, members, and calendar reservations into your dashboards and internal automations.

Authentication & Tenant Isolation

Send your key in the Authorization: Bearer fl_live_... header. Keys are shown once at creation, stored as HMAC-SHA256 hashes, and strictly bound to a single organization and its granted scopes.

100 req/min Rate Limit

Each key allows 100 requests per minute. Exceeding it returns 429 with a Retry-After header.

Standard HTTP Statuses

401 invalid/revoked key, 403 missing scope or inactive add-on, 404 not found, 400 invalid payload.

Aircraft

GET/api/v1/aircraft
scope: aircraft:read

List all aircraft belonging to your organization.

Request (cURL (Shell))

curl -H "Authorization: Bearer fl_live_YOUR_KEY" \
  "https://www.schedulewithflightline.com/api/v1/aircraft"

Example Response

{
  "data": [
    {
      "id": "acft_example_01",
      "tailNumber": "N000EX",
      "make": "Cessna",
      "model": "172",
      "year": 2005,
      "flightRules": "ifr",
      "status": "airworthy"
    }
  ]
}
GET/api/v1/aircraft/acft_example_01
scope: aircraft:read

Fetch details for a single aircraft in your organization.

Request (cURL (Shell))

curl -H "Authorization: Bearer fl_live_YOUR_KEY" \
  "https://www.schedulewithflightline.com/api/v1/aircraft/acft_example_01"

Example Response

{
  "data": {
    "id": "acft_example_01",
    "tailNumber": "N000EX",
    "make": "Cessna",
    "model": "172",
    "status": "airworthy"
  }
}

Maintenance

GET/api/v1/maintenance?limit=50
scope: maintenance:read

List recent squawks, inspections, and maintenance items (max limit 100).

Request (cURL (Shell))

curl -H "Authorization: Bearer fl_live_YOUR_KEY" \
  "https://www.schedulewithflightline.com/api/v1/maintenance?limit=50"

Example Response

{
  "data": [
    {
      "id": "mx_example_01",
      "aircraftId": "acft_example_01",
      "type": "squawk",
      "status": "complete",
      "severity": "minor",
      "title": "Left Wingtip Nav Light Inoperative",
      "isGrounding": false
    }
  ]
}

Reservations

GET/api/v1/reservations?limit=50
scope: reservations:read

List scheduled, completed, and cancelled reservations.

Request (cURL (Shell))

curl -H "Authorization: Bearer fl_live_YOUR_KEY" \
  "https://www.schedulewithflightline.com/api/v1/reservations?limit=50"

Example Response

{
  "data": [
    {
      "id": "res_example_01",
      "aircraftId": "acft_example_01",
      "startTime": "2026-12-01T14:00:00.000Z",
      "endTime": "2026-12-01T16:00:00.000Z",
      "type": "rental",
      "status": "scheduled"
    }
  ]
}
POST/api/v1/reservations
scope: reservations:write

Create a calendar reservation (rental, training lesson with an instructor, maintenance block, or owner flight).

Example Preset:

Request (cURL (Shell))

curl -X POST "https://www.schedulewithflightline.com/api/v1/reservations" \
  -H "Authorization: Bearer fl_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aircraftId":"acft_example_01","pilotId":"usr_pilot_01","startTime":"2026-12-01T14:00:00Z","endTime":"2026-12-01T16:00:00Z","type":"rental","flightRules":"VFR","route":"KDTO - KGYI - KDTO"}'

Example Response

{
  "data": {
    "id": "res_example_02",
    "aircraftId": "acft_example_01",
    "startTime": "2026-12-01T14:00:00.000Z",
    "endTime": "2026-12-01T16:00:00.000Z",
    "type": "rental",
    "status": "scheduled"
  }
}

Request Body Fields

startTime (ISO 8601 string, required)
Reservation start timestamp (UTC).
endTime (ISO 8601 string, required)
Reservation end timestamp (must be after startTime).
type (enum)
'rental' (default) | 'training' | 'maintenance' | 'owner'
aircraftId (string)
Aircraft ID from GET /api/v1/aircraft (omit for ground-only training).
pilotId (string)
Student/renter/pilot userId from GET /api/v1/members.
instructorId (string)
CFI userId from GET /api/v1/members for training lessons.
flightRules (enum)
'VFR' | 'IFR'
flightCategory (enum)
'local' | 'cross_country' | 'pattern_work' | 'discovery_flight'
trainingType (string[])
e.g. ['private'], ['instrument'], ['commercial'], ['multi_engine']
isStudentSolo (boolean)
Set true for supervised student solo flights.
route (string)
Planned route (up to 200 chars).
notes (string)
Lesson plan or reservation notes (up to 1000 chars).

Invoices

GET/api/v1/invoices?limit=50
scope: invoices:read

List organization billing invoices and payment balances.

Request (cURL (Shell))

curl -H "Authorization: Bearer fl_live_YOUR_KEY" \
  "https://www.schedulewithflightline.com/api/v1/invoices?limit=50"

Example Response

{
  "data": [
    {
      "id": "inv_example_01",
      "invoiceNumber": "INV-2026-0001",
      "status": "paid",
      "totalAmount": "245.00",
      "balanceDue": "0.00"
    }
  ]
}

Members

GET/api/v1/members
scope: members:read

List members in your organization (IDs, roles, names, and emails).

Request (cURL (Shell))

curl -H "Authorization: Bearer fl_live_YOUR_KEY" \
  "https://www.schedulewithflightline.com/api/v1/members"

Example Response

{
  "data": [
    {
      "userId": "usr_example_01",
      "role": "owner",
      "isAdmin": true,
      "firstName": "Alex",
      "lastName": "Mercer"
    }
  ]
}