Tidepool API/Alerts API//
- Create or update an alerts configuration
Delete an alerts configuration
Get an alerts configuration
Create or update an alert...
Create or update an alerts configuration. If no alerts configuration exists, it will be created.
Security
sessionToken
non-empty
Blood glucose measurements at or below this value will trigger an immediate and urgent alert.
Blood glucose measurements at or below this value will trigger an alert.
Blood glucose measurements at or above this value will trigger an alert.
- Mock serverhttps://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts
- integrationhttps://external.integration.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- productionhttps://api.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- dev1https://dev1.dev.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa1https://qa1.development.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa2https://qa2.development.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- Blood Glucose (mg/dL)
- Blood Glucose (mmol/L)
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{
"urgentLow": {
"enabled": false,
"threshold": {
"units": "mg/dL",
"value": 105
}
},
"low": {
"enabled": false,
"delay": 0,
"repeat": 0,
"threshold": {
"units": "mg/dL",
"value": 105
}
},
"high": {
"enabled": false,
"delay": 0,
"repeat": 0,
"threshold": {
"units": "mg/dL",
"value": 105
}
},
"noCommunication": {
"enabled": false,
"delay": 0
},
"notLooping": {
"enabled": false,
"delay": 0
}
}'