Create new client user
Create new client user for specific healthcare provider. Healthcare provider user has to exists in Upheal. Response includes session link that can be used to connect to an online session.
- application/json
Request Body required
- therapistUserId string required
A user id of therapist (healthcare provider or org admin role) that the client will belong to. Therapist user has to exist on Upheal backend.
- partnerUserId string
A user id in partner's system. Optional. Upheal will use this id if specified for user identification.
- firstName string required
User first name.
- lastName string required
User last name.
- email email
Possible values:
non-emptyclient email address
- locale string
Client locale. Optional.
- pronoun string
Possible values: [
MasculineHim,FeminineHer,NeutralThem]Optional client pronoun. It is used to improve quality of generated insights.
- defaultSessionType DefaultSessionType
Possible values: [
Intake,Standard,Soap,Dap,Girp,Birp,Mse,Emdr,PsychiatricSoap,PsychiatricIntake]Default value:
StandardOptional default session type for the user. It determines what kind of notes is generated. For any given session, first client's default type is checked, then provider's type and if neither is specified then Standard session type is used which means generating Client Presentation, Therapeutic Intervention, Plan, Assessment, MSE, RiskAssessment notes.
- dateOfBirth string
Optional client date of birth. ISO 8601 date format.
- 200
- 400
- 401
- 409
User created
- application/json
- Schema
- Example (from schema)
Schema
- userId string required
Id of created user.
- clientSessionUrl url required
Unique url link client user can use to join an online session with their therapist.
- therapistSessionUrl url required
Unique url link therapist can use to join an online session with the client user.
- partnerUserId string
Optional user id in partner's system. Upheal will use this id, if specified, for user identification.
- organizationId string
The organization ID the user belongs to.
{
"userId": "d290f1ee-6c54-4b01-90e6-d701748f0852",
"clientSessionUrl": "https://app.upheal.io/client/cfe6c8d4-611a-11ed-9b6a-0242ac120002",
"therapistSessionUrl": "https://app.upheal.io/video/2fb81b0a-611b-11ed-9b6a-0242ac120002",
"partnerUserId": "string",
"organizationId": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}
invalid input
authentication problem
user with given email address already exists