Skip to main content

Sign up


Use the Create an account screen to sign up a new user account and start an authenticated session. signup.screen



This screen includes:

#ElementDescription
1Email address fieldRequired email address for the new account
2First name fieldRequired given name
3Last name fieldRequired family name
4Password fieldRequired password that must meet policy rules
5Terms and Privacy consentRequired consent before account creation
6Marketing opt-inOptional marketing communication preference
7Continue with email buttonSubmits the registration form
8Sign in linkOpens the Sign in screen for existing users

Workflow

  1. Open the Create an account screen.
  2. Enter the required account details.
  3. Select the Terms and Privacy consent checkbox.
  4. Select Continue with email.
  5. Create the account and start an authenticated session.

Validations

ScenarioApp behaviorSDK output
Email format invalidBlock submission and display field errorerror = invalid_email
Email already existsReject registration and prompt sign inerror = existing_account
First or last name missingBlock submission and display field errorvalidation = required
Password invalidBlock submission and display password rule errorerror = password_policy
Required consent not selectedBlock submissionvalidation = consent_required
Request in progressShow loading statestate = loading
Request blockedDisplay restriction messageHTTP 405

Actions

ScenarioApp behaviorSDK output
Email enteredUpdate email stateemail = updated
Submit emailValidate email and advance registrationPage updates returned
Account details enteredUpdate form stateForm state updated
Consent selectedUpdate consent statetermsConsent = true
Continue with email selectedSubmit registrationSign-up request triggered
Registration succeedsCreate session and continuestate = authenticated
Social sign-up selectedStart provider registrationSocial sign-up event
Log in selectedOpen Sign in screenNavigation event

Endpoint Resources

Signup

PUT 

v3/signup

Returns the sign-up screen for anonymous users.

Query Parameters

NameTypeRequiredDescription
screen-modeStringYesControls which sign-up experience to render.
ValueDescription
signupSuccessful signup flow
regularRegular booking screen flow
wizardWizard booking screen flow
direct-clinicDirect clinic mode flow
affiliateAffiliate referral flow
partnerPartner link flow

Submit Email

PATCH 

v3/signup/email

Validates the email and advances the sign-up flow to the full registration form.

Query Parameters

NameTypeRequiredDescription
emailStringYesEmail address for the new account.

Signup

POST 

v3/signup

Creates a new account with email and password and enforces required consents.

Query Parameters

NameTypeRequiredDescription
screen-modeStringYesControls which sign-in experience to render.
emailStringYesEmail address for the new account.
passwordStringYesNew account password.
first-nameStringYesUser's first name.
last-nameStringYesUser's last name.
terms-and-privacy-consentBooleanYesMust be true to accept Terms of Use, Privacy Policy, and health data processing.
marketing-email-consentBooleanNoOptional opt-in to receive marketing emails and special offers.
ValueDescription
signupSuccessful signup flow
regularRegular booking screen flow
wizardWizard booking screen flow
direct-clinicDirect clinic mode flow
affiliateAffiliate referral flow
partnerPartner link flow

Social Signup

POST 

v3/signup/social

Creates a new account using a social identity token.

Query Parameters

NameTypeRequiredDescription
screen-modeStringYesControls which sign-in experience to render.
tokenStringYesFirebase identity token from the social provider used to create the account.
ValueDescription
signupSuccessful signup flow
regularRegular booking screen flow
wizardWizard booking screen flow
direct-clinicDirect clinic mode flow
affiliateAffiliate referral flow
partnerPartner link flow