Set API Connection Data Source

Set API connection data source

9 minutes

Set the API URL and authorization information. After confirmation, the system can create and retrieve data sources. Afterwards, you can select the data source in the element properties to bind the element to the external API.

Login account > Websites page > open a website > select Data tab.

Set API connection data source

Create and manage API data connections for website binding.

  • Step 1: Open Data tab.
  • Step 2: Click Data Source.
  • Step 3: Fill in connection settings.
  • Step 4: Click Test Connection.
  • Step 5: Review returned data and fields.
  • Step 6: Click Save.

Setting fields

Configure API request information and dataset mapping.

  • * Name: Data connection name.
  • * Host: API URL (must start with https://).
  • Method: GET or POST.
  • Headers: add/remove request headers.
  • Request Data: JSON body payload.
  • * Root Name: data root alias (must be unique).
  • Root: default root node path in source data.

Data fields and test result

Use test tools to validate schema and inspect returned fields.

  • Data Fields tab shows nested data properties after loading.
  • Test Connection opens result dialog with response preview.
  • You can open existing data source to edit or delete from settings menu.

FAQ

Common questions about API connection data source.

  • Q: How do I set an API connection data source?

    Open the Data tab, create a Data Source, fill Name, Host, Method, Headers, and Request Data, then test and save.

  • Q: Which fields are required for a data source?

    Name, Host (must start with https://), and Root Name are required, and Root Name must be unique.

  • Q: How can I validate API response and field structure?

    Use Test Connection to preview response data and inspect nested fields in the Data Fields tab.