REST API Configuration

Accessing REST API Configuration

  1. Log in to the Twinr Builder Portal

  2. From the left navigation menu, select REST API (or API Calls)

  3. The REST API page opens, showing:

    • A list of all created APIs

    • Options to Create, Edit, or Delete APIs

Creating a New REST API

  1. Click Create API Call

  2. 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).

    • 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.

  3. Click Test API

    • The response preview helps validate the endpoint and structure

  4. Click Create API Call

Once saved, the API becomes available for use in native screens.

Managing Existing APIs

From the REST API list page, you can:

  • Edit API – Update headers, endpoint, or response path

  • Test API – Re-validate response data

  • Delete API – Remove unused APIs

Last updated