Affiliate Greeting
Use the Affiliate Greeting screen to display affiliate-specific greeting content for users who enter the app through an affiliate link.
The screen appears before the user continues to login or registration.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Affiliate branding | Displays the configured affiliate logo |
| 2 | Greeting popup | Displays the affiliate greeting above the app screen |
| 3 | Logo | Displays the affiliate logo inside the popup |
| 4 | Greeting message | Explains the service relationship and medical-provider disclaimer |
| 5 | Primary action | Ok dismisses the popup |
Workflow
- Open the app from an affiliate link.
- Load the affiliate greeting screen.
- Display the greeting popup when content is available.
- Select the primary action.
- Continue to login or registration.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Affiliate greeting available | Display the greeting popup | Page response |
| Affiliate greeting unavailable | Continue without showing the popup | No greeting state |
| Required assets unavailable | Use default app branding | Default asset fallback |
| Request blocked | Display restriction message | HTTP 405 |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Affiliate link opened | Load affiliate greeting screen | PUT /api/v3/affiliate |
| Primary action selected | Continue to login or registration | Navigation event |
| Close selected | Dismiss the popup | No state change |
Endpoint Resources
Affiliate Greeting
PUT
v3/affiliate
Returns the affiliate greeting popup screen for users who enter the app through an affiliate flow.