Skip to content

Create Clinician

Request

Internal endpoint to create a new clinician

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

The id of the invite if it hasn't been accepted

emailstring, (email)required
namestring, non-empty

The name of the clinician

rolesArray of strings, non-empty, unique(Clinician Permissions)required
Items Enum:"CLINIC_ADMIN""CLINIC_MEMBER""PRESCRIBER"
curl -i -X POST \
  'https://tidepool.redocly.app/_mock/reference/clinic.v1/v1/clinics/{clinicId}/clinicians' \
  -H 'Content-Type: application/json' \
  -H 'x-tidepool-session-token: YOUR_API_KEY_HERE' \
  -d '{
    "inviteId": "string",
    "email": "user@example.com",
    "name": "string",
    "roles": [
      "CLINIC_ADMIN"
    ]
  }'

Responses

OK