Skip to main content
POST
curl

Authorizations

Authorization
string
header
required

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

Headers

X-Brand-Slug
enum<string>
default:hi-doctor

Send X-Brand-Slug: hi-doctor. Public auth/questionnaire/attribution routes resolve the brand header; authenticated scope also uses the live user brand. Do not claim the header is universally server-required: default-brand fallback exists.

Available options:
hi-doctor

Body

application/json
email
string<email>
required

Account email address. Maximum 254 characters.

Maximum string length: 254
password
string
required
write-only

Account password; write-only secret.

first_name
string
default:""

First name for this user. Maximum 150 characters.

Maximum string length: 150
last_name
string
default:""

Last name for this user. Maximum 150 characters.

Maximum string length: 150
locale
string
default:en
write-only

Locale for this user.

Response

Successful register a new patient.

message
string
required

Human-readable response message.