Access
Every request is sent over HTTPS and scoped to the device that owns the API key.
Bearer <YOUR_DEVICE_API_KEY>application/json for every NotifyMe POST route in this page.POST https://www.nextgenaischool.in/api/notifyme/send
Use any device API key from the app’s API Keys screen as a Bearer token.
The current backend exposes notification delivery, API key profile labels, local-first
messaging, and export/import flows without requiring new tables for this phase.
Every request is sent over HTTPS and scoped to the device that owns the API key.
Bearer <YOUR_DEVICE_API_KEY>application/json for every NotifyMe POST route in this page.POST https://www.nextgenaischool.in/api/notifyme/sendThe delivery API still centers on a compact notification payload, with profile labels derived from the authenticated API key.
open_home, open_history, open_updates, open_token, open_url, open_custom.buttonLabel/buttonAction still map to one button.curl -X POST https://www.nextgenaischool.in/api/notifyme/send \
-H "Authorization: Bearer <YOUR_DEVICE_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"title": "Codex build complete",
"body": "Project: NotifyMe\nTask: frontend refactor\nStatus: Success",
"actionType": "open_history",
"buttons": [{"label":"Open","action":"open"}]
}'
NotifyMe now derives a safe source label from the authenticated API key profile. The raw key is never returned.
sourceLabel, and local messaging profile state.profileLabel and/or username for the authenticated device identity.sourceLabel and generatedBy.{
"profileLabel": "Codex Worker",
"username": "lakshay"
}
The current messaging surface is username-based, text-only, local-first, and structured to accept encryption fields later.
?q= filters by peer username or message preview.Data portability is part of the current backend contract, even though encryption and richer sync behavior can be layered on later.