APIs intended for internal use by Tidepool.
- Dismiss Care Team Invitation
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.
https://tidepool.redocly.app/_mock/reference/confirm.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/confirm.v1/confirm/send/signup/{userId}
- integration
https://external.integration.tidepool.org/confirm/send/signup/{userId}
- production
https://api.tidepool.org/confirm/send/signup/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/send/signup/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/send/signup/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/resend/signup/{email}
- integration
https://external.integration.tidepool.org/confirm/resend/signup/{email}
- production
https://api.tidepool.org/confirm/resend/signup/{email}
- dev1
https://dev1.dev.tidepool.org/confirm/resend/signup/{email}
- qa1
https://qa1.development.tidepool.org/confirm/resend/signup/{email}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/signup/{key}
- integration
https://external.integration.tidepool.org/confirm/accept/signup/{key}
- production
https://api.tidepool.org/confirm/accept/signup/{key}
- dev1
https://dev1.dev.tidepool.org/confirm/accept/signup/{key}
- qa1
https://qa1.development.tidepool.org/confirm/accept/signup/{key}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/dismiss/signup/{userId}
- integration
https://external.integration.tidepool.org/confirm/dismiss/signup/{userId}
- production
https://api.tidepool.org/confirm/dismiss/signup/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/dismiss/signup/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/dismiss/signup/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}
- integration
https://external.integration.tidepool.org/confirm/signup/{userId}
- production
https://api.tidepool.org/confirm/signup/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/signup/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/signup/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}
- integration
https://external.integration.tidepool.org/confirm/signup/{userId}
- production
https://api.tidepool.org/confirm/signup/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/signup/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/signup/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/signup/{userId}
- integration
https://external.integration.tidepool.org/confirm/signup/{userId}
- production
https://api.tidepool.org/confirm/signup/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/signup/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/signup/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/forgot/{email}
- integration
https://external.integration.tidepool.org/confirm/forgot/{email}
- production
https://api.tidepool.org/confirm/forgot/{email}
- dev1
https://dev1.dev.tidepool.org/confirm/forgot/{email}
- qa1
https://qa1.development.tidepool.org/confirm/forgot/{email}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/forgot
- integration
https://external.integration.tidepool.org/confirm/accept/forgot
- production
https://api.tidepool.org/confirm/accept/forgot
- dev1
https://dev1.dev.tidepool.org/confirm/accept/forgot
- qa1
https://qa1.development.tidepool.org/confirm/accept/forgot
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/send/invite/{userId}
- integration
https://external.integration.tidepool.org/confirm/send/invite/{userId}
- production
https://api.tidepool.org/confirm/send/invite/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/send/invite/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/send/invite/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/accept/invite/{userId}/{invitedBy}
- integration
https://external.integration.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- production
https://api.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- dev1
https://dev1.dev.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- qa1
https://qa1.development.tidepool.org/confirm/accept/invite/{userId}/{invitedBy}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/invite/{userId}
- integration
https://external.integration.tidepool.org/confirm/invite/{userId}
- production
https://api.tidepool.org/confirm/invite/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/invite/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/invite/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/invitations/{userId}
- integration
https://external.integration.tidepool.org/confirm/invitations/{userId}
- production
https://api.tidepool.org/confirm/invitations/{userId}
- dev1
https://dev1.dev.tidepool.org/confirm/invitations/{userId}
- qa1
https://qa1.development.tidepool.org/confirm/invitations/{userId}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/dismiss/invite/{userId}/{invitedBy}
- integration
https://external.integration.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- production
https://api.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- dev1
https://dev1.dev.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- qa1
https://qa1.development.tidepool.org/confirm/dismiss/invite/{userId}/{invitedBy}
- qa2
https://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 server
https://tidepool.redocly.app/_mock/reference/confirm.v1/confirm/{userId}/invited/{invitedBy}
- integration
https://external.integration.tidepool.org/confirm/{userId}/invited/{invitedBy}
- production
https://api.tidepool.org/confirm/{userId}/invited/{invitedBy}
- dev1
https://dev1.dev.tidepool.org/confirm/{userId}/invited/{invitedBy}
- qa1
https://qa1.development.tidepool.org/confirm/{userId}/invited/{invitedBy}
- qa2
https://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'