APIs intended for internal use by Tidepool.
- Cancel Account Signup
Confirmation API (1.0)
The Tidepool API is an HTTP REST API used by Tidepool clients use to communicate with the Tidepool Platform.
For more information, see the Getting Started section.
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/send/signup/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/send/signup/{userId}
- productionhttps://api.tidepool.org/confirm/send/signup/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/send/signup/{userId}
- qa1https://qa1.development.tidepool.org/confirm/send/signup/{userId}
- qa2https://qa2.development.tidepool.org/confirm/send/signup/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/send/signup/{userId}' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{}'- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/resend/signup/{email}
- integrationhttps://external.integration.tidepool.org/confirm/resend/signup/{email}
- productionhttps://api.tidepool.org/confirm/resend/signup/{email}
- dev1https://dev1.dev.tidepool.org/confirm/resend/signup/{email}
- qa1https://qa1.development.tidepool.org/confirm/resend/signup/{email}
- qa2https://qa2.development.tidepool.org/confirm/resend/signup/{email}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/resend/signup/example@tidepool.org- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/signup/{key}
- integrationhttps://external.integration.tidepool.org/confirm/accept/signup/{key}
- productionhttps://api.tidepool.org/confirm/accept/signup/{key}
- dev1https://dev1.dev.tidepool.org/confirm/accept/signup/{key}
- qa1https://qa1.development.tidepool.org/confirm/accept/signup/{key}
- qa2https://qa2.development.tidepool.org/confirm/accept/signup/{key}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/signup/Sds2PHMALZrmt++JyD5mIjLkZruJldiM' \
-H 'Content-Type: application/json' \
-d '{
"password": "correctbatteryhorsestaple",
"birthday": "2012-08-30"
}'- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/dismiss/signup/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/dismiss/signup/{userId}
- productionhttps://api.tidepool.org/confirm/dismiss/signup/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/dismiss/signup/{userId}
- qa1https://qa1.development.tidepool.org/confirm/dismiss/signup/{userId}
- qa2https://qa2.development.tidepool.org/confirm/dismiss/signup/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/dismiss/signup/{userId}' \
-H 'Content-Type: application/json' \
-d '{
"key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM"
}'- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/signup/{userId}
- productionhttps://api.tidepool.org/confirm/signup/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/signup/{userId}
- qa1https://qa1.development.tidepool.org/confirm/signup/{userId}
- qa2https://qa2.development.tidepool.org/confirm/signup/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'Single confirmation
An email address, as specified by RFC 5322.
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
{ "key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM", "type": "password_reset", "status": "pending", "email": "example@tidepool.org", "creatorId": "string", "created": "2017-02-06T02:37:46Z", "modified": "2017-02-06T02:37:46Z", "creator": { "userid": "string", "profile": { … } }, "context": "string", "restrictions": { "canAccept": true, "requiredIdp": "string" }, "expiresAt": "2024-01-30T08:11:00Z" }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/signup/{userId}
- productionhttps://api.tidepool.org/confirm/signup/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/signup/{userId}
- qa1https://qa1.development.tidepool.org/confirm/signup/{userId}
- qa2https://qa2.development.tidepool.org/confirm/signup/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{}'Single confirmation
An email address, as specified by RFC 5322.
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
{ "key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM", "type": "password_reset", "status": "pending", "email": "example@tidepool.org", "creatorId": "string", "created": "2017-02-06T02:37:46Z", "modified": "2017-02-06T02:37:46Z", "creator": { "userid": "string", "profile": { … } }, "context": "string", "restrictions": { "canAccept": true, "requiredIdp": "string" }, "expiresAt": "2024-01-30T08:11:00Z" }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/signup/{userId}
- productionhttps://api.tidepool.org/confirm/signup/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/signup/{userId}
- qa1https://qa1.development.tidepool.org/confirm/signup/{userId}
- qa2https://qa2.development.tidepool.org/confirm/signup/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}' \
-H 'Content-Type: application/json' \
-d '{
"key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM"
}'Request
If the request is correctly formed, always returns a 200, even if the email address was not found (this way it can't be used to validate email addresses). If the email address is found in the Tidepool system, this will:
- Create a confirm record and a random key
- Send an email with a link containing the key
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/forgot/{email}
- integrationhttps://external.integration.tidepool.org/confirm/forgot/{email}
- productionhttps://api.tidepool.org/confirm/forgot/{email}
- dev1https://dev1.dev.tidepool.org/confirm/forgot/{email}
- qa1https://qa1.development.tidepool.org/confirm/forgot/{email}
- qa2https://qa2.development.tidepool.org/confirm/forgot/{email}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/forgot/example@tidepool.org- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/forgot
- integrationhttps://external.integration.tidepool.org/confirm/accept/forgot
- productionhttps://api.tidepool.org/confirm/accept/forgot
- dev1https://dev1.dev.tidepool.org/confirm/accept/forgot
- qa1https://qa1.development.tidepool.org/confirm/accept/forgot
- qa2https://qa2.development.tidepool.org/confirm/accept/forgot
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/forgot \
-H 'Content-Type: application/json'{ "code": 100, "error": 0, "reason": "string" }
An email address, as specified by RFC 5322.
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/send/invite/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/send/invite/{userId}
- productionhttps://api.tidepool.org/confirm/send/invite/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/send/invite/{userId}
- qa1https://qa1.development.tidepool.org/confirm/send/invite/{userId}
- qa2https://qa2.development.tidepool.org/confirm/send/invite/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/send/invite/{userId}' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{
"email": "example@tidepool.org",
"permissions": {
"note": {},
"upload": {},
"view": {}
},
"nickname": "Julia",
"alertsConfig": {
"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
}
}
}'Single confirmation
An email address, as specified by RFC 5322.
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
{ "key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM", "type": "password_reset", "status": "pending", "email": "example@tidepool.org", "creatorId": "string", "created": "2017-02-06T02:37:46Z", "modified": "2017-02-06T02:37:46Z", "creator": { "userid": "string", "profile": { … } }, "context": "string", "restrictions": { "canAccept": true, "requiredIdp": "string" }, "expiresAt": "2024-01-30T08:11:00Z" }
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/invite/{userId}/{invitedBy}
- integrationhttps://external.integration.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- productionhttps://api.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- dev1https://dev1.dev.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- qa1https://qa1.development.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- qa2https://qa2.development.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/invite/{userId}/{invitedBy}' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{
"key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM"
}'- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/invite/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/invite/{userId}
- productionhttps://api.tidepool.org/confirm/invite/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/invite/{userId}
- qa1https://qa1.development.tidepool.org/confirm/invite/{userId}
- qa2https://qa2.development.tidepool.org/confirm/invite/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/invite/{userId}' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'List of confirmations
An email address, as specified by RFC 5322.
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
If specified, the invitation will expire at the given date and time.
[ { "key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM", "type": "password_reset", "status": "pending", "email": "example@tidepool.org", "creatorId": "string", "created": "2017-02-06T02:37:46Z", "modified": "2017-02-06T02:37:46Z", "creator": { … }, "context": "string", "restrictions": { … }, "expiresAt": "2024-01-30T08:11:00Z" } ]
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/invitations/{userId}
- integrationhttps://external.integration.tidepool.org/confirm/invitations/{userId}
- productionhttps://api.tidepool.org/confirm/invitations/{userId}
- dev1https://dev1.dev.tidepool.org/confirm/invitations/{userId}
- qa1https://qa1.development.tidepool.org/confirm/invitations/{userId}
- qa2https://qa2.development.tidepool.org/confirm/invitations/{userId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/invitations/{userId}' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'List of confirmations
An email address, as specified by RFC 5322.
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
If specified, the invitation will expire at the given date and time.
[ { "key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM", "type": "password_reset", "status": "pending", "email": "example@tidepool.org", "creatorId": "string", "created": "2017-02-06T02:37:46Z", "modified": "2017-02-06T02:37:46Z", "creator": { … }, "context": "string", "restrictions": { … }, "expiresAt": "2024-01-30T08:11:00Z" } ]
- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/dismiss/invite/{userId}/{invitedBy}
- integrationhttps://external.integration.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- productionhttps://api.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- dev1https://dev1.dev.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- qa1https://qa1.development.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- qa2https://qa2.development.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/dismiss/invite/{userId}/{invitedBy}' \
-H 'Content-Type: application/json' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE' \
-d '{
"key": "Sds2PHMALZrmt++JyD5mIjLkZruJldiM"
}'- Mock serverhttps://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/{userId}/invited/{invitedBy}
- integrationhttps://external.integration.tidepool.org/confirm/{userId}/invited/{invitedBy}
- productionhttps://api.tidepool.org/confirm/{userId}/invited/{invitedBy}
- dev1https://dev1.dev.tidepool.org/confirm/{userId}/invited/{invitedBy}
- qa1https://qa1.development.tidepool.org/confirm/{userId}/invited/{invitedBy}
- qa2https://qa2.development.tidepool.org/confirm/{userId}/invited/{invitedBy}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/{userId}/invited/example@tidepool.org' \
-H 'X-Tidepool-Session-Token: YOUR_API_KEY_HERE'