Using REST API in Native Screens
Last updated
Go to Screens in the Twinr Builder
Open any screen (e.g., Home, Shop)
Select a supported element such as:
Product List
List
Banner etc.

In the element’s Content panel, locate Data Source
Select API (instead of Static)
Choose the required API from the API Call dropdown
. 
Click Configure API Response
The configuration dialog opens with:
Response Preview (live API data)
Response Mapping options
Map API response fields to UI properties, such as:
Image URL
Title
Description
Background color (optional)
Provide a Default Image URL to handle missing images
Click Save
Once mapping is completed, the element is automatically populated with API data.
The mapped data appears instantly in the Preview
The same data is rendered on mobile devices
Any future API updates reflect automatically without manual changes
Last updated