Web service that stores information about clinics, clinicians and their patients
- Update User Details
Clinics API (1.0)
https://tidepool.redocly.app/_mock/reference/clinic.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/
Request
Internal endpoint that deletes any user associations with clinics they are a patient or a member of.
If the user is a patient of a clinic the service will delete the patient-clinic relationship.
If the user is one of many admins of any clinic the service will delete the clinician-clinic relationship.
If the user is the only admin of a clinic the service will:
- delete the clinician record, leaving the clinic without an admin
- delete all non-custodial patient relationships of the clinic
- keep all custodian relationships, allowing users to claim custodial accounts with an email
- keep all custodian accounts and data even if they can’t be claimed when there isn’t an email address associated with the account
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
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/users/{userId}/clinics
- integration
https://external.integration.tidepool.org/v1/users/{userId}/clinics
- production
https://api.tidepool.org/v1/users/{userId}/clinics
- dev1
https://dev1.dev.tidepool.org/v1/users/{userId}/clinics
- qa1
https://qa1.development.tidepool.org/v1/users/{userId}/clinics
- qa2
https://qa2.development.tidepool.org/v1/users/{userId}/clinics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/users/{userId}/clinics' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'
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
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/users/{userId}/clinics
- integration
https://external.integration.tidepool.org/v1/users/{userId}/clinics
- production
https://api.tidepool.org/v1/users/{userId}/clinics
- dev1
https://dev1.dev.tidepool.org/v1/users/{userId}/clinics
- qa1
https://qa1.development.tidepool.org/v1/users/{userId}/clinics
- qa2
https://qa2.development.tidepool.org/v1/users/{userId}/clinics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/users/{userId}/clinics' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"email": "user@example.com"
}'
- Mock server
https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians
- integration
https://external.integration.tidepool.org/v1/clinicians
- production
https://api.tidepool.org/v1/clinicians
- dev1
https://dev1.dev.tidepool.org/v1/clinicians
- qa1
https://qa1.development.tidepool.org/v1/clinicians
- qa2
https://qa2.development.tidepool.org/v1/clinicians
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians?offset=0&limit=10&createdTimeStart=2019-08-24T14%3A15%3A22Z&createdTimeEnd=2019-08-24T14%3A15%3A22Z' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'
OK
The id
may be empty if the clinician invite has not been accepted.
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
Clinic
Clinic identifier.
Postal code. In the U.S., typically the zip code such as 94301
or 94301-1704
.
State or province. In the U.S., typically something like CA
or California
.
An array of phone numbers.
[ { "clinician": { … }, "clinic": { … } } ]