Skip to main content

Test API Calls

Verifying an API response before integrating it into your app helps prevent runtime issues and ensures your data is structured correctly. This guide walks you through testing an API directly within FlutterFlow.

Prerequisites
  • A project is open in FlutterFlow.
  • An API key or endpoint is available if required by the API.

Steps to Test API Calls:

  1. Open the API Calls Panel

    From the left sidebar, go to the API Calls section.

  2. Select or Create an API Call

    Choose an existing API Call or click + Add API Call to create a new one.

  3. Enter the API Endpoint

    Add the endpoint and necessary parameters, headers, or authentication.

  4. Click the Response & Test Tab

    Navigate to the Response & Test tab to preview the response structure.

  5. Run the API Test

    Click the Test API Call button to trigger the request. If successful, the API response displays in JSON format.

    A valid API response displays a structured output like the example below::

tip

Use JSONPath to validate and extract values from the returned JSON structure during testing.

Was this article helpful?