✈

Pocket Pilots

Notification Hub · Pairing and flight telemetry

● Initialized (Live FCM)

Pairing code

Create a link code or inspect an existing session. Keep your code private.

Results will appear here.

Flight telemetry simulator

Send a sample flight update to the selected pairing code.

Telemetry response will appear here.

Connect the extension

Save the private pairing code in extension storage and send it as the X-Pair-Code header with each /webhook/flight request. Avoid query parameters, which can be recorded in server and proxy logs.

Example request
POST /webhook/flight
    X-Pair-Code: YOUR_CODE
Content-Type: application/json

{"id":"FL100","t0":1730000000,"now":1730000500,"origin":"JFK","dest":"LAX","planeType":"B738","trk":[0,0,0,0]}

Connect the mobile app

Register the device’s Firebase Cloud Messaging token with POST /register-token. The response includes the pairing code to share with the extension.

Example body
{"token":"FCM_TOKEN","device_id":"Pixel_8","pair_code":"YOUR_CODE"}

API quick reference

POST /register-token · POST /unregister-token · POST /webhook/flight · POST /pair/new · GET /pair/{code} · POST /pair/{code}/test · GET /status