CGM Integration

What's Under the Hood

Here's what's powering LinkLoop right now โ€” and what's next on the list.

Dexcom G7
โœ“ Active Integration
Nightscout
โœ“ Active Integration
โšก Warrior View
  • โ†’Connects Dexcom G7 via OAuth 2.0 (one-time)
  • โ†’Syncs on demand โ€” no background polling
  • โ†’Current value, trend arrow, 24-hr history
  • โ†’Manages Care Circle โ€” invite / remove
  • โ†’Sets personal high/low thresholds
๐Ÿ‘ฅ Care Circle Member View
  • โ†’Joins via private invite code
  • โ†’Read-only glucose view
  • โ†’Current value, trend, recent history
  • โ†’Cannot modify data or access tokens
  • โ†’Cannot share data further

How It Works

1
Connect Your CGM
Authorize LinkLoop to access your CGM data via secure OAuth
โ†’
2
Live Sync
Readings are fetched from Dexcom via encrypted API calls and instantly available to your whole Care Circle
โ†’
3
โˆž
Share with Circle
Your entire Care Circle sees your latest numbers in real-time โ€” no delay
โ†’
4
Smart Alerts
AI-powered alerts notify the right people at the right time

CGM Integrations

LinkLoop connects to glucose data through two pathways โ€” Dexcom's official API and Nightscout for broader CGM support.

๐ŸŒ™

Nightscout Integration

Warriors using CGMs beyond Dexcom can connect via their self-hosted or cloud Nightscout instance. Enter your Nightscout URL and a read-only API token โ€” LinkLoop syncs your glucose data on demand, the same way Dexcom users sync. Care Circle members see the same live view regardless of which data source the warrior uses.

๐Ÿ”’

Privacy First

All data is encrypted in transit and at rest. Users control exactly who sees their glucose data. Privacy-first architecture. Data never sold to third parties.

Dexcom API โ€” Exact Usage
Endpoint
GET /v3/users/self/egvs (Estimated Glucose Values)
Auth Method
OAuth 2.0 โ€” Authorization Code flow
Scope
offline_access
Token Storage
Server-side only โ€” never stored in or sent to the mobile app
Sync Model
User-initiated ("Sync Now") โ€” no background polling
Data Stored
value (mg/dL), trend direction, trend arrow, timestamp
Not Stored
Dexcom username/password, device serial, raw Dexcom user ID
Other Endpoints
None โ€” calibrations, devices, events not accessed

Apple Watch Architecture

New in v1.5.0 โ€” a dedicated Watch companion app that fetches glucose data independently from the LinkLoop server.

6-digit Watch pairing screen
Pairing
Watch showing in-range glucose
In Range
Watch 3-hour glucose graph
3hr Graph
Watch showing active glucose alert
Alert Active
โŒš Watch App
  • โ†’Pairs via secure 6-digit code
  • โ†’Fetches glucose from LinkLoop server
  • โ†’Works over Wi-Fi or cellular independently
  • โ†’Current reading, trend arrow, recent history
  • โ†’No Bluetooth or manual config required
๐Ÿ• Complications
  • โ†’Circular / Corner โ€” bold glucose + trend
  • โ†’Rectangular โ€” glucose, trend, timestamp
  • โ†’Inline โ€” compact "120โ†— mg/dL ยท 2m"
  • โ†’Auto-updates every 5 minutes
  • โ†’Shows "--" when no data available