Users
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
User profile
application/json
idintegerOptional
emailstring · emailOptional
namestringOptional
profile_picstring · nullableOptional
URL of profile picture
401
Unauthorized – missing or invalid access token
application/json
get
/profile/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringOptional
profile_picstring · binaryOptional
Responses
200
Updated user profile
application/json
idintegerOptional
emailstring · emailOptional
namestringOptional
profile_picstring · nullableOptional
URL of profile picture
401
Unauthorized – missing or invalid access token
application/json
put
/profile/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Personal info
application/json
date_of_birthstring · date · nullableOptional
goalsstring · nullableOptional
therapy_focusstring · nullableOptional
addiction_typestring · nullableOptional
moodstring · nullableOptional
contact_numberstring · nullableOptional
401
Unauthorized – missing or invalid access token
application/json
get
/personal-info/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
date_of_birthstring · date · nullableOptional
goalsstring · nullableOptional
therapy_focusstring · nullableOptional
addiction_typestring · nullableOptional
moodstring · nullableOptional
contact_numberstring · nullableOptional
Responses
200
Updated personal info
application/json
date_of_birthstring · date · nullableOptional
goalsstring · nullableOptional
therapy_focusstring · nullableOptional
addiction_typestring · nullableOptional
moodstring · nullableOptional
contact_numberstring · nullableOptional
401
Unauthorized – missing or invalid access token
application/json
put
/personal-info/Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
date_of_birthstring · date · nullableOptional
goalsstring · nullableOptional
therapy_focusstring · nullableOptional
addiction_typestring · nullableOptional
moodstring · nullableOptional
contact_numberstring · nullableOptional
Responses
200
Updated personal info
application/json
date_of_birthstring · date · nullableOptional
goalsstring · nullableOptional
therapy_focusstring · nullableOptional
addiction_typestring · nullableOptional
moodstring · nullableOptional
contact_numberstring · nullableOptional
401
Unauthorized – missing or invalid access token
application/json
patch
/personal-info/Last updated

