Endpoints related to alert configuration and management.
- Get 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.
https://tidepool.redocly.app/_mock/reference/alerts.v1/
https://external.integration.tidepool.org/
https://api.tidepool.org/
https://dev1.dev.tidepool.org/
https://qa1.development.tidepool.org/
https://qa2.development.tidepool.org/
- Mock server
https://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts
- integration
https://external.integration.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- production
https://api.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- dev1
https://dev1.dev.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa1
https://qa1.development.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts
- integration
https://external.integration.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- production
https://api.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- dev1
https://dev1.dev.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa1
https://qa1.development.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa2
https://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 } }
Blood glucose measurements at or below this value will trigger an immediate and urgent alert.
- Mock server
https://tidepool.redocly.app/_mock/reference/alerts.v1/v1/users/{userId}/followers/{followerUserId}/alerts
- integration
https://external.integration.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- production
https://api.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- dev1
https://dev1.dev.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa1
https://qa1.development.tidepool.org/v1/users/{userId}/followers/{followerUserId}/alerts
- qa2
https://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
}
}'