> ## Documentation Index
> Fetch the complete documentation index at: https://docs.emailbison.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET Requests (with examples)

<Warning>
  This page covers using GET requests for all non-native actions, the majority of use cases can use the [native EmailBison enrichments](/low-code-tools/clay/enrichments).
</Warning>

This page will give step-by-step instructions on making a GET request from Clay to EmailBison.

This example can be altered for different GET endpoints, the overall Clay enrichment will be almost identical.

For an example of a GET request, we will make a request to the [leads endpoint](https://dedi.emailbison.com/api/reference#tag/leads/get/api/leads).

```bash theme={null}
/api/leads
```

And we will pass in the following filters:

```json theme={null}
search : john
filters: tag_ids = [11, 12]
filters: replies = 0
```

<Tabs>
  <Tab title="Text" icon="text">
    <Tip>
      There are text and video versions of this section.<br /> Click the tab icons above this tip to switch between them.
    </Tip>

    1. In your Clay table, add a new column. Select `Add enrichment`.
    2. Search for and select `HTTP API`.
    3. Authenticate through one of the methods listed above (select an account, or pass in an `Authorization` header).
       For this example, we will select an account from the dropdown.
    4. Under `Setup Inputs` -> `Method`, select `GET` from the dropdown.
    5. Under `Setup Inputs` -> `Endpoint`, input the leads endpoint.

    ```bash theme={null}
    https://subdomain.yourdomain.com/api/leads
    ```

    6. Under `Setup Inputs` -> `Query Parameters`, select `Add a new Key and Value pair` for each of the following steps.
    7. Input `search` as the Key, and `john` as the Value.
    8. Input `filters[replies][value]` as the Key, and `0` as the Value.
    9. Input `filters[replies][criteria]` as the Key, and `=` as the Value.
    10. Since Clay doesn't support duplicate keys, we need to pass an array with indexes, i.e. `tag_ids[0]` instead of `tag_ids[]`
    11. Input `filters[tag_ids][0]` as the Key, and `11` as the Value.
    12. Input `filters[tag_ids][1]` as the Key, and `12` as the Value.
    13. Save the enrichment.
  </Tab>

  <Tab title="Video" icon="images">
    <Tip>
      There are text and video versions of this section.<br /> Click the tab icons above this tip to switch between them.
    </Tip>

    The following video will implement the text instructions on a Clay table.

    <Frame>
      <video autoPlay muted loop playsInline controls className="w-full aspect-video rounded-xl" src="https://mintcdn.com/emailbison-306cc08e/6vP4IPDHlIEu3rWW/images/clay_get_request.mp4?fit=max&auto=format&n=6vP4IPDHlIEu3rWW&q=85&s=a09b625b8e81ec324b51600bfe9f81cf" type="video/mp4" data-path="images/clay_get_request.mp4" />
    </Frame>
  </Tab>
</Tabs>

***

When this column runs, it will make a GET request to EmailBison fetching leads with these criteria. To use dynamic query parameters, use Clay's built-in `/` feature to pick data from previous columns.
