Skip to main content

Partner Greeting Popup


Use the Partner Greeting screen to display a company-specific welcome message when the user opens the service from a partner link.

The screen appears for the company identified by company-id. The response returns a popup or page that the client displays before the user continues.



This screen includes:

#ElementDescription
1Greeting popupDisplays the partner-specific greeting above the current screen
2TitleDisplays Welcome to Air Doctor!
3Partner brandingDisplays the partner logo and brand name
4Message textExplains the partner-specific onboarding or continuation step
5Primary actionContinues the flow, such as Continue or Get mobile app
6Secondary actionProvides an alternate path, such as Stay in browser, when available
7Close actionDismisses the greeting when available

Workflow

  1. Open the service from a partner link.
  2. Load the greeting for the provided company-id.
  3. Display the partner-specific greeting popup.
  4. Select the primary action or an available secondary action.
  5. Continue in the selected flow.

Validations

ScenarioApp BehaviorSDK Output
company-id missingDo not load the greetingvalidation = required
Greeting content availableDisplay greeting popup or pagePage response
Primary action unavailableKeep action disabledbutton = disabled
Primary action availableEnable actionbutton = enabled
Request blockedDisplay restriction messageHTTP 405

Actions

ScenarioApp BehaviorSDK Output
Screen openedLoad partner greetingPUT /api/v3/greetings?company-id=<id>
Checkbox updated, when presentUpdate primary action statePage updates returned
Continue selectedContinue onboarding or registrationNavigation or page update
Get mobile app selectedOpen native app path or app acquisition flowNavigation event
Stay in browser selectedContinue in web flowNavigation or page update
Close selectedDismiss greetingNo state change or page update

Endpoint Resources

Greetings

PUT 

v3/greetings

Returns the greeting popup or page for the provided company.

ParameterTypeRequiredDescription
company-idintegerYesInsurance company identifier for the greeting

Update Button

PATCH 

v3/greetings

Updates the primary button state when the checkbox state changes.

ParameterTypeRequiredDescription
checkboxbooleanYesCheckbox value. Use true when checked and false when unchecked