REST API Configuration
Accessing REST API Configuration
Log in to the Twinr Builder Portal
From the left navigation menu, select REST API (or API Calls)
The REST API page opens, showing:
A list of all created APIs
Options to Create, Edit, or Delete APIs
Creating a New REST API

Click Create API Call
Fill in the required details:
Name
Enter a readable name to identify this API inside Twinr (used while selecting APIs in native screens).
Endpoint URL
The REST API endpoint from which Twinr will fetch dynamic data.
Items Path (JSON)
The JSON path pointing to the array/list in the API response that should be rendered in native elements (e.g., data.items, products).
π Refer to the Items Path Examples below to understand how to set this value based on your API response structure.
Headers
Optional request headers required by the API, such as authorization tokens or custom keys.
+Add Header
Add multiple headers if your API requires more than one key-value pair.
Click Test API
The response preview helps validate the endpoint and structure
Click Create API Call
Once saved, the API becomes available for use in native screens.
The Items Path tells Twinr where the list of items is located in your API response.
Think of it as βthe address of the listβ inside the response.
Example 1: List is at the top level
If your API response looks like this:
β Items Path: Leave it empty
π Because the list is already at the top.
Example 2: List is inside data
β Items Path:
π Because the list is inside the data field.
Example 3: List is inside data β products
β Items Path:
π Because the list is inside products, which is inside data.
Quick Tip π‘
If you see
[and], that means itβs a listJust enter the path to reach that list
Use dots (
.) to go deeperIf nothing entered in Item Path field - Reponse will be null
Managing Existing APIs
From the REST API list page, you can:
Edit API β Update headers, endpoint, or response path
Delete API β Remove unused APIs
Last updated