With the Dexcom API you can connect to your Dexcom account and retrieve fitness data from your Dexcom devices. Vital makes it easy to connect to the Dexcom API and retrieve your data.
First steps to integrate with Dexcom
Create a Vital account
The first step is to create an account with Vital. Once created head to the settings section, and click create API key to start.
Generate a Link Token
Use your API key to generate a link token. This token will be used to allow your users to connect their Dexcom account.
What data does Dexcom provide?
All data from Dexcom is provided in JSON format. Vital consists of three main schema types that it uses to push data to your webhook url. These schema types can be found here. You can filter these events to receive specific resource types, via webhook. The full list of available resources for Dexcom can be found below.
Dexcom Webhook Payloads
Receiving Data via Webhooks
Dexcom data is updated in real-time. Once a user connects their account, you will receive a webhook event with the data. You can also query the data via our API. New data in most cases for Dexcom is provided in real-time. Vital guarantees all new data to be available within 15 mins of the data being recorded. A refresh for new Dexcom data can also be requested via our refresh API.View all Event Payloads
Historical Harmonized Data
Dexcom data is always standardized and harmonized using Vital's standardized schemas. This means you can query historical data for any user via HTTP requests and receive historical data prior to connecting devices using Vital. Full list of historical data and how much data is retrieved for Dexcom can be found below.