Send an invite to clinician's email address to join a clinic.
Security
sessionToken
An email address, as specified by RFC 5322.
Example:"example@tidepool.org"
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/invites/clinicians
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/invites/clinicians
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/invites/clinicians
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/invites/clinicians
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/invites/clinicians
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/invites/clinicians
curl -i -X POST \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/invites/clinicians' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"email": "example@tidepool.org",
"roles": [
"CLINIC_ADMIN"
]
}'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
Items Enum:"CLINIC_ADMIN""CLINIC_MEMBER""PRESCRIBER"
Response
{ "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" }