The /devices endpoint enables retrieval of a user's device information, including G6, and G7 standalone receivers and the G6, and G7, Dexcom ONE, and Dexcom ONE+ mobile apps, and transmitters. The response is an array of all receiver-type devices contributing data to the specified time window, including the alerts and settings associated with each receiver.
GET /v3/users/self/devices
OAuth 2.0 bearer token; see the Authentication section for details on this workflow.
There are no query parameters for the devices endpoint. The response will return all devices associated with a Dexcom account along with the settings for each device.
The unit enumerations vary between endpoints. For devices, the values are as follows:
For the systemTime and displayTime response fields, records sourced from mobile apps (with displayDevice of “iOS” or “android”) will have UTC offsets; records sourced from receivers (with displayDevice of “receiver”) will not have UTC offsets.
Ok
curl -i -X GET \ https://api.dexcom.com/v3/users/self/devices \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "recordType": "device",
- "recordVersion": "3.0",
- "userId": "5b329ebcfbf2f0ba7e49d4c5eb57775468f5ee657ac16fcde07e1fd08197b4c7",
- "records": [
- {
- "transmitterGeneration": "g7",
- "displayDevice": "android",
- "displayApp": "G7Android",
- "lastUploadDate": "2021-11-09T15:57:34Z",
- "alertSchedules": [
- {
- "alertScheduleSettings": {
- "alertScheduleName": "",
- "isEnabled": true,
- "startTime": "00:00",
- "endTime": "00:00",
- "isActive": false,
- "override": {
- "isOverrideEnabled": true,
- "mode": "quiet",
- "endTime": "2021-07-05T10:49:22.123-07:00"
}, - "daysOfWeek": [
- "sunday",
- "monday",
- "tuesday",
- "wednesday",
- "thursday",
- "friday",
- "saturday"
]
}, - "alertSettings": [
- {
- "systemTime": "2021-04-05T17:53:03Z",
- "displayTime": "2021-04-05T10:52:48-06:59:59",
- "alertName": "rise",
- "value": 3,
- "unit": "mg/dL/min",
- "snooze": null,
- "enabled": false,
- "SecondaryTriggerCondition": 10,
- "soundTheme": "modern",
- "soundOutputMode": "matchPhone"
}, - {
- "systemTime": "2021-04-05T17:52:47Z",
- "displayTime": "2021-04-05T10:53:04-06:59:59",
- "alertName": "high",
- "value": 192,
- "unit": "mg/dL",
- "snooze": 75,
- "enabled": true,
- "SecondaryTriggerCondition": 184,
- "soundTheme": "modern",
- "soundOutputMode": "matchPhone"
}
]
}
], - "transmitterId": "d55d01d0341ed0ba2cd99b322e8c5b609254f47d10c7cd12b99b4922effeba44"
}
]
}