Widget

Create a new client (and optionally patient) from widget

Changed on
post/public/widget/clients

Request

Request body

sessionIdstring required
clinicIdstring required
namestring required
emailstring required
phonestring required
referralSourcestring nullable

"How did you hear about us" (ITE-413). This is the registration endpoint the booking wizard actually calls before it books, so it is the primary capture point — the same field on WidgetClientInfoDto covers surfaces that book without registering first. Written to Client.ReferralSource on create only; never overwrites a returning client's answer. Free text, usually one of IReadOnlyList<string> ReferralSourceOptions.Presets.

smsConsentGrantedboolean nullable

10DLC SMS consent opt-in from registration form

Response

OK

clientIdstring
patientIdstring nullable
isNewClientboolean
isNewPatientboolean

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)