v1
latestOpenAPI 3.1.02026-07-2410057.1 KBCGM
Returns a list of time series CGM data for a given user.
get/organizations/{org_id}/users/{uid}/cgm?token={token}
Path parameters
org_idstring required
Organization ID provided to you by Validic.
uidstring required
The UID you defined when provisioning the client.
tokenstring required
Developer Key as supplied by Validic.
Query parameters
start_datestring
The start date to retrieve user data for. Format: YYYY-MM-DD. Default is current UTC day. Max date range is 30 days.
end_datestring
The end date to retrieve user data for. Format: YYYY-MM-DD. Default is current UTC day. Max date range is 30 days.
sourcestring
Used to filter records to source(s). Example: “...?source=abbott,dexcom” or “...?source=dexcom”
Response
200
Example response
{
"type": "cgm",
"checksum": "51502ff934e3b47b3df8284494f814b8",
"created_at": "2024-09-05T18:23:33.220Z",
"end_time": "2024-09-04T23:59:59Z",
"id": "7db302193cc6b9b80405f189be67b9c8",
"log_id": "2024-09-04",
"metrics": [
{
"origin": "device",
"type": "blood_glucose",
"unit": "mg/dL",
"reading_log": [
{
"time": "2024-09-04T01:04:48Z",
"value": 204,
"display_time": "2024-09-04T07:04:48-08:00",
"scheduled": true,
"device_id": "cdb4f8eea4392295413c64..."
}
]
}
],
"source": {
"type": "dexcom",
"devices": {
"cdb4f8eea4392295413c64...": {
"id": "cdb4f8eea4392295413c64...",
"manufacturer": "Dexcom",
"model": "G7"
},
"69bbc1b66cfe49597c5eff1376...": {
"id": "69bbc1b66cfe49597c5eff1376...",
"manufacturer": "Dexcom",
"model": "G7"
}
}
},
"start_time": "2024-09-04T00:00:00Z",
"user": {
"organization_id": "6584a3e40f32d5000fc254a7",
"uid": "7fd835687f1f41ed8b125ca0ebfeaeb8",
"user_id": "66be73022d30800011ae066e"
},
"utc_offset": -18000,
"offset_origin": "user_defined",
"version": "1.0"
}