Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Mobile App API handler

Retrieve mobile application settings and content.

GET Mobile App Settings

HTTP Verb – GET

URL – /api/v1/settings/mobileapp

Description – Get mobile application settings

Base – HandlerBase<GetSettingsParameter, GetMobileAppSettingsResult>

Handlers

OrderHandlerDescription
500GetMobileAppSettingsPopulates the result with mobile app settings from system settings: StartingCategoryForBrowsing, HasCheckout, OverrideCheckoutNavigation, CheckoutUrl, AddToCartInProductList, and EnablePushNotifications.

GET Mobile Content

HTTP Verb – GET

URL – /api/v1/mobilecontent/{PageName}

Description – Get mobile app page content and widgets

Base – HandlerBase<GetMobileContentParameter, GetMobileContentResult>

Handlers

OrderHandlerDescription
500GetPageRetrieves a mobile app page by name from the content system using caching (30-minute expiration). Looks up the page by name where IsMobileAppPage is true and matches the current website. Returns NotFound error if the page does not exist. Sets the page context.
600GetPageWidgetsRetrieves all widgets for the page, recursively building child widgets. Maps each widget to a MobileWidgetDto, filtering null field values and converting field keys to camelCase. Special handling for MobileLinkList widgets to populate page action types.