Web service that stores information about clinics, clinicians and their patients
- List Clinics for Clinician
Clinics API (1.0)
Request
Accept an invite to join a clinic as clinician. The clinician will be associated to the currently authenticated user if the email in their profile matches the email of the invite.
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 serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/invites/{inviteId}
- integrationhttps://external.integration.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- productionhttps://api.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- dev1https://dev1.dev.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- qa1https://qa1.development.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- qa2https://qa2.development.tidepool.org/v1/clinicians/{userId}/invites/{inviteId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/invites/{inviteId}' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE'OK
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
{ "id": "string", "inviteId": "string", "email": "user@example.com", "name": "string", "roles": [ "CLINIC_ADMIN" ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z" }
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 serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinicians/{userId}/clinics
- integrationhttps://external.integration.tidepool.org/v1/clinicians/{userId}/clinics
- productionhttps://api.tidepool.org/v1/clinicians/{userId}/clinics
- dev1https://dev1.dev.tidepool.org/v1/clinicians/{userId}/clinics
- qa1https://qa1.development.tidepool.org/v1/clinicians/{userId}/clinics
- qa2https://qa2.development.tidepool.org/v1/clinicians/{userId}/clinics
- 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/{userId}/clinics?offset=0&limit=10' \
-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": { … } } ]
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/migrations
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/migrations
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/migrations
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/migrations
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/migrations
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/migrations
- 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/clinics/{clinicId}/migrations' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"userId": "string",
"status": "PENDING"
}'{ "userId": "string", "status": "PENDING", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "attestationTime": "2019-08-24T14:15:22Z" }