Skip to main content
POST
Create a new clinic client user

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Schema for creating a new ClientUser

client_id
integer
required

The ID of the clinic client to add this clinic client user to.

first_name
string
required

The first name of the clinic client user.

Required string length: 1 - 30
last_name
string
required

The last name of the clinic client user.

Required string length: 1 - 30
phone_number
required

The phone number of the clinic client user. Must be exactly 10 digits.

custom_relationship
string | null

A custom relationship description (optional). Should be used when relationship_kind is 'Other'.

Maximum string length: 100
email
string<email> | null

The email address of the clinic client user (optional).

relationship_kind

The type of relationship this clinic client user has to the clinic client account (optional).

Available options:
SPOUSE,
PARTNER,
PARENT,
CHILD,
SIBLING,
OTHER

Response

201 - application/json

Created

clinic_client_id
integer
required

The ID of the clinic client this clinic client user belongs to

created
string<date-time>
required

The datetime this object was created.

deleted
string<date-time> | null
required

The datetime this record was soft deleted.

id
integer
required

The ID of the clinic client user

is_deleted
boolean
required

Whether this record is soft deleted or not.

modified
string<date-time>
required

The datetime this object was last modified; changes to related entities will not update this field.

custom_relationship
string | null

A custom relationship description if relationship_kind is set to 'Other'.

email
string | null

The primary email address of the clinic client user.

first_name
string | null

The first name of the clinic client user.

last_name
string | null

The last name of the clinic client user.

phone_number
integer | null

The primary phone number of the clinic client user.

relationship_kind

The type of relationship this clinic client user has to the clinic client account.

Available options:
SPOUSE,
PARTNER,
PARENT,
CHILD,
SIBLING,
OTHER