Request a password reset via email
This endpoint would typically be used when a user is trying to login but cannot remember his/her password. They can simply enter their email address associated with the account (which gets passed into this endpoint) and an email will be automatically generated by Medable with the proper link to set a new password.
Update the currently logged in user's password directly through the API
This endpoint would typically be used for a currently logged in user who wants to change his/her password directly from your app without having to go through the email password reset flow.
True if the account must be activated before use. Dependant on Org settings.
age
Number
The age of the account holder (based on the dob property).
connections
Reference[]
Connections associated with the Account.
created
Date
The date the context was created.
dob
Date
Account holder date of birth.
email*
String
The email address for the account and must be unique within the Org.
favorite
Boolean
Tags the context as a favorite, which can then be filtered using the API.
gender
String
Account holder gender. Available values are:
f - Female
m - Male
n - Neither
o - Other
t - Trans
u - Unspecified
image
File
The account profile image.
inherited_roles
ObjectId[]
Any roles that are inherited from my current role. If my current role has no sub-roles then this is an empty array.
key
Document
A fingerprint and secret, re-generated on password change. Useful for client-side PHI encryption/caching scenarios, it is available to the account holder for the life of an authenticated session.
mobile
String
The mobile number of the account holder. This number should be capable of receiving SMS messages and must be in E.164 format.
name
Document
Name of the account holder (split into first and last names as well as optional prefix, middle, suffix and additional[]).
object
String
The context’s object name.
preferences
Document
The account preferences.
profile
Document
The account profile.
roles
ObjectId[]
Account roles (e.g. Provider, Administrator, Developer). Accounts can have more than one role.
shared
Boolean
True if there are any active or pending connections for this context.
state
String
Current state for the account. (e.g. unverified, verified)
tz
String
Timezone for the account. This helps determine UTC offset when working in scripts. The timezone must by a unique identifier for an IANA assigned zone, e.g. "US/Pacific"
updated
Date
The date the latest update was made to a context’s properties
updater
Reference
The account id of the context updater
your_org_name
string
account_id
string
your_org_name
string
your_org_name
string
your_org_name
string
name
object
first
string
This is attached to the name object.
last
string
This is attached to the name object.
email
string
This is later used with the password to log in
mobile
string
in E.164 format
password
string
Must meet org password strength requirements
dob
string
YYYY-MM-DD
gender
string
"m" or "f"
tz
string
The timezone for the user
token
object
Invite/connection token (if applicable)
your_org_name
string
email
string
password
string
location
object
verificationToken
string
6 digit verification token sent to user's mobile device for 2FA. Attached to location object.
locationName
string
if you want to associate a string with a given authorized access point. Attached to location object.
singleUse
boolean
The equivalent of "Remember Me" checkbox common in login options. Attached to location object.
iosNotificationToken
string
The iOS notification token received from APN for push notifications (if applicable). Attached to location object.
gcmRegistrationId
string
The Android FCM/GCM push registration id (if applicable). Attached to location object.
your_org_name
string
your_org_name
string
email
string
your_org_name
string
current
string
this is the old (current) password
password
string
this is the new password
your_org_name
string
password
string
token
string
token
string
The email verification process generates a token that can be passed in to mark an email as verified.