# Xano Authentication filter query user's endpoint

**URL:** <https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905>\
**Category:** Ask us anything\
**Created:** [July 30, 2022, 12:00am UTC](https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905 "2022-07-30T00:00:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![khairul](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@khairul](https://community.weweb.io/u/khairul)\
**Post date:** [July 30, 2022, 12:00am UTC](https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905/1 "2022-07-30T00:00:02Z")

</div>

Im stuck at the Xano authenthication, one of the steps in the docs isn’t clearly explained, sorry. Here’s the step I am stuck at, how to filter query of user endpoints at xano. Do I need to link all of my user’s data to their users id? and how to filter them exactly here? Then do I need

 ![Screenshot 2022-07-30 at 7.54.20 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/57fbd72f8c47dd8c116c14c099987912797b1364.jpeg)

---

<div class="post-metadata">

**Author:** ![kevinwasie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevinwasie/32/402_2.png) [@kevinwasie](https://community.weweb.io/u/kevinwasie)\
**Post date:** [July 30, 2022, 12:08am UTC](https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905/2 "2022-07-30T00:08:06Z")

</div>

Yes, you’re right on. You will need to “link” records by entities that you want them linked by.

If you have user specific records, you will need to add the user Id to that record. If you have account specific records, you will need to add account Id to the record.

This is how you can then search and organize data for specific entities.

Xano is utilizing relational database design principles. A good primer on this is here:

[https://www3.ntu.edu.sg/home/ehchua/programming/sql/Relational\_Database\_Design.html](https://www3.ntu.edu.sg/home/ehchua/programming/sql/Relational_Database_Design.html)

As well, Xano has good introduction videos about designing a relational database from scratch.

---

<div class="post-metadata">

**Author:** ![khairul](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@khairul](https://community.weweb.io/u/khairul)\
**Post date:** [July 30, 2022, 1:59am UTC](https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905/3 "2022-07-30T01:59:58Z")

</div>

what you mean is make relations in the database correct? I understand that part but don’t exactly understand how to filter in the api section

---

<div class="post-metadata">

**Author:** ![khairul](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@khairul](https://community.weweb.io/u/khairul)\
**Post date:** [July 30, 2022, 2:51am UTC](https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905/4 "2022-07-30T02:51:14Z")

</div>

Im so sorry, it turns out the you can click on the docs and go through the steps, that is very helpful. didn’t expect that

---

<div class="post-metadata">

**Author:** ![kevinwasie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevinwasie/32/402_2.png) [@kevinwasie](https://community.weweb.io/u/kevinwasie)\
**Post date:** [July 30, 2022, 2:54am UTC](https://community.weweb.io/t/xano-authentication-filter-query-users-endpoint/905/5 "2022-07-30T02:54:55Z")

</div>

Awesome! Post any questions if you get stuck in the docs.
