# Get a friendly url (uuid or slug) for a dynamic page, when using Baserow API

**URL:** <https://community.weweb.io/t/get-a-friendly-url-uuid-or-slug-for-a-dynamic-page-when-using-baserow-api/12709>\
**Category:** How do I?\
**Created:** [September 20, 2024, 4:52pm UTC](https://community.weweb.io/t/get-a-friendly-url-uuid-or-slug-for-a-dynamic-page-when-using-baserow-api/12709 "2024-09-20T16:52:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pinshasa](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/pinshasa/32/7088_2.png) [@pinshasa](https://community.weweb.io/u/pinshasa)\
**Post date:** [September 20, 2024, 4:52pm UTC](https://community.weweb.io/t/get-a-friendly-url-uuid-or-slug-for-a-dynamic-page-when-using-baserow-api/12709/1 "2024-09-20T16:52:44Z")

</div>

I would like to have friendly urls (through slug) or confidentials urls (through uuid).  
In [this thread & tutorial](https://community.weweb.io/t/how-do-i-create-dynammic-urls/5556/2) from @Joyce , it shows how to do it with Supabase, via filters on a GET request call for the list of items.

But I’m using the REST API of Baserow, for which I’ve never seen any editable filters after the GET request call. Just the message saying “Collection must be an array”

 ![Capture d’écran 2024-09-20 à 18.45.06](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/bee313f5c06a43bb4b52a2e39ddf2823f5e1c2d1.png)

So how could I **get my dynamic pages to**

- **use** , as url path params, the record **slug or uuid** (or name or any field who is not the id field)
- while, in **Baserow** , the API GET request call for a single record **expects the row\_id**
- and there’s no way to filter a GET request in the API call ?

---

<div class="post-metadata">

**Author:** ![pinshasa](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/pinshasa/32/7088_2.png) [@pinshasa](https://community.weweb.io/u/pinshasa)\
**Post date:** [September 20, 2024, 6:12pm UTC](https://community.weweb.io/t/get-a-friendly-url-uuid-or-slug-for-a-dynamic-page-when-using-baserow-api/12709/2 "2024-09-20T18:12:14Z")

</div>

Found it. 🙃

In case anyone struggles with it in Baserow, based on the tutorial:

1 - in the dynamic page url path, add a variable : params (slug) and the default value (gecamines)

 ![Capture d’écran 2024-09-20 à 20.08.40](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/341966c6cfff4486debcf85c710504fb25874a0d.png)

2 - at the end of the GET request call (for listing the records), add : the id of the field, contains, and the params : [https://api.baserow.io/api/database/rows/table/43297/?user\_field\_names=true&filter\_\_field\_YOUR\_FIELD\_ID\_\_contains=123456789](https://api.baserow.io/api/database/rows/table/43297/?user_field_names=true&filter __field_YOUR_FIELD_ID__ contains=123456789) (see syntax details here [in Baserow community](https://community.baserow.io/t/how-to-search-via-api/194/2?u=pinshasa))

 ![Capture d’écran 2024-09-20 à 20.04.56](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/7c63d1ad0738ac7ba8352641a8c9d1fc55e1ce1e.png)

Hope it helps.

---

<div class="post-metadata">

**Author:** ![pinshasa](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/pinshasa/32/7088_2.png) [@pinshasa](https://community.weweb.io/u/pinshasa)\
**Post date:** [September 21, 2024, 1:15pm UTC](https://community.weweb.io/t/get-a-friendly-url-uuid-or-slug-for-a-dynamic-page-when-using-baserow-api/12709/4 "2024-09-21T13:15:32Z")

</div>

Happy it could help you, @abuislam !
