# Set up an API GET request for detail page - Airtable

{% hint style="info" %}
Remember that you can use the [Airtable API Wizard](/connect-api/set-up-api-requests/api-wizard-importer/airtable-using-the-airtable-api-wizard.md) to automatically set up the GET requests for list and detail page. Also, if you want to import an API definition (Open API, Swagger or Postman), you can do that with the [import wizard](/connect-api/set-up-api-requests/creating-an-api-collection.md).
{% endhint %}

This tutorial is a continuation after setting up a GET request for a list page. If you haven't done that yet, check out:

{% content-ref url="/pages/-MflK\_rNbkmAVesxZE\_o" %}
[Set up an API GET request for list page - Airtable](/connect-api/set-up-api-requests/creating-an-api-collection/airtable/set-up-an-api-get-request-for-list-page-airtable.md)
{% endcontent-ref %}

Here is how to set up a **GET request** to display content based on the list item you clicked in the previous app screen.

## How to set up GET request for a detail page

&#x20;1\. In the collection where you already created the GET request for the list page, **add a new request** and **edit the name** to help you identify it.

![](/files/YgH19Eh8wKddsovXDOKX)

![](/files/njN5joGb9f3NK1h7tZBi)

2\. **Paste the URL for a detail page request.** This type of request will return a single record of data, from the data list we obtained in the [list page request](/connect-api/set-up-api-requests/creating-an-api-collection/airtable/set-up-an-api-get-request-for-list-page-airtable.md). In this example, we need to add `${id}` to the base URL, to get a specific data record. In our countries API example, this will be data about a single country.&#x20;

<figure><img src="/files/RMtpJvI8sgRJzwPggWIU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LVeij1eoqImgFWX5RpgJ" alt=""><figcaption></figcaption></figure>

In this URL, `${id}` will be a **variable** that Bravo will use to get a specific record from the list fetched with the [list page request](/connect-api/set-up-api-requests/creating-an-api-collection/airtable/set-up-an-api-get-request-for-list-page-airtable.md). We'll show in the next step how this binding between requests is done.

Then, in Input Variables and Test Values, insert the Variable Name (id) and the Test Value (recId3UHf32o1Az5E) provided in the Airtable retrieve records.

{% hint style="info" %}
Check out [this video](https://www.youtube.com/watch?v=PLcgXR1OoAc) to learn more about Bravo variables.
{% endhint %}

3\. Now, we'll go to the list GET request we already set, and indicate the data item that will take the `${id}` variable. Hit `Send`, and under **Received Data, select the data item `.data.records[].id`**. This is what we use to link the detail request to the list request.

![](/files/BqMpyOuI3WnBPDhL6AIy)

4\. Go to **Selected Data**, **change the Label** of the data record ID to `id` (case-sensitive) so that it matches exactly what we added in the detail GET request.&#x20;

{% hint style="warning" %}
Make sure the spelling of the `Name` in the `Selected Data` section for the data item matches exactly the spelling of the corresponding variable in the detail request URL. Otherwise, the binding won't work, and **you'll most likely get an error message** when testing the app on Bravo Vision.
{% endhint %}

5\. Press `Send`. You have successfully set up the detail GET request if **receive a response** under Received Data.

![](/files/7nXaKnCmphwUHHkjm32v)

{% hint style="warning" %}
If you encounter any error message, screenshot it and send it to us from the **Help widget** at the bottom right corner (for **Solo & Teams** **users with Advanced and Business add-on**) or post in the [Bravo community](https://community.bravostudio.app/home).&#x20;
{% endhint %}

{% hint style="danger" %}
Be careful when selecting data related to media information (images and videos). Sometimes, the media metadata (including URL) comes wrapped in a single-item list from the API response. In order to display the media file correctly in the app, in the "Received Data" tab, check if this metadata comes inside a single-item list. If so, select this single item of the list (0 index), and then select the individual data (media URL, media title and so on).
{% endhint %}

Here's an additional example using Airtable:

{% embed url="<https://www.youtube.com/watch?v=I01hwRmK4DE>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bravostudio.app/connect-api/set-up-api-requests/creating-an-api-collection/airtable/data-library-connect-to-any-api-get-request-for-detail-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
