Accept a pending invite from a user who would like to share their account with the clinic and become a patient.
Security
sessionToken
- Mock serverhttps://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/invites/patients/{inviteId}
- integrationhttps://external.integration.tidepool.org/v1/clinics/{clinicId}/invites/patients/{inviteId}
- productionhttps://api.tidepool.org/v1/clinics/{clinicId}/invites/patients/{inviteId}
- dev1https://dev1.dev.tidepool.org/v1/clinics/{clinicId}/invites/patients/{inviteId}
- qa1https://qa1.development.tidepool.org/v1/clinics/{clinicId}/invites/patients/{inviteId}
- qa2https://qa2.development.tidepool.org/v1/clinics/{clinicId}/invites/patients/{inviteId}
curl -i -X PUT \
'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/invites/patients/{inviteId}' \
-H 'Content-Type: application/json' \
-H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
-d '{
"fullName": "string",
"birthDate": "2012-08-30",
"mrn": "string",
"tags": [
"stringstringstringstring"
],
"sites": [
{
"name": "string"
}
],
"glycemicRanges": {
"type": "preset",
"custom": {
"name": "string",
"thresholds": [
{
"name": "string",
"upperBound": {
"value": 0.1,
"units": "mg/dL"
},
"inclusive": false
}
]
},
"preset": "adaStandard"
},
"diagnosisType": "type1"
}'