Endpoints related to alert configuration and management.
- Delete an alerts configuration
Alerts API (1.0)
The Tidepool API is an HTTP REST API used by Tidepool clients to communicate with the Tidepool Platform.
For more information, see the Getting Started section.
- 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
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'- 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
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'Alerts Config
An upload identifier; this field should be the uploadId of the corresponding upload record
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
String representation of a Tidepool User ID. Old style IDs are 10-digit strings consisting of only hexadeximcal digits. New style IDs are 36-digit UUID v4
Blood glucose measurements at or below this value will trigger an immediate and urgent alert.
{ "uploadId": "0d92d5c1c22117a18f3620b9e24d3c06", "userId": "string", "followedUserId": "string", "urgentLow": { "enabled": false, "threshold": { … } }, "low": { "enabled": false, "delay": 0, "repeat": 0, "threshold": { … } }, "high": { "enabled": false, "delay": 0, "repeat": 0, "threshold": { … } }, "noCommunication": { "enabled": false, "delay": 0 }, "notLooping": { "enabled": false, "delay": 0 } }
Request
Create or update an alerts configuration. If no alerts configuration exists, it will be created.
Blood glucose measurements at or below this value will trigger an immediate and urgent 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
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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
}
}'