Skip to content

Accept Patient Invitation

Request

Accept a pending invite from a user who would like to share their account with the clinic and become a patient.

Security
sessionToken
Path
clinicIdstring^[a-f0-9]{24}$required
inviteIdstring, non-emptyrequired
Bodyapplication/json
fullNamestring, non-empty

The full name of the patient

birthDatestring, (date)
Example:"2012-08-30"
mrnstring, non-empty

The medical record number of the patient

tagsArray of strings or null, unique(Patient Tag ID List)
sitesArray of objects(Site)
glycemicRangesobject(glycemicRanges.v1)
diagnosisTypestring(Diagnosis Type)
Enum:"type1""type2""type3c""gestational""prediabetes""lada""mody""other""notApplicable"""
Example:"type1"
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"
  }'

Responses

OK