# How to get the list of users who can view a confluence page using confluence product API?

**URL:** <https://community.developer.atlassian.com/t/how-to-get-the-list-of-users-who-can-view-a-confluence-page-using-confluence-product-api/62800>\
**Category:** Forge UI Kit and Custom UI\
**Tags:** codegeist-2022, confluence-cloud, forge\
**Created:** [October 22, 2022, 1:15pm UTC](https://community.developer.atlassian.com/t/how-to-get-the-list-of-users-who-can-view-a-confluence-page-using-confluence-product-api/62800 "2022-10-22T13:15:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KaranJagota](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@KaranJagota](https://community.developer.atlassian.com/u/KaranJagota)\
**Post date:** [October 22, 2022, 1:15pm UTC](https://community.developer.atlassian.com/t/how-to-get-the-list-of-users-who-can-view-a-confluence-page-using-confluence-product-api/62800/1 "2022-10-22T13:15:08Z")

</div>

Hi,  
I have a forge custom UI react app. I want to present the list of users who have permission to view the confluence page in a drop-down list component.

Any idea on which confluence Rest API to use?

Alternatively, I found the UserPicker component from AtlasKit.  
Link-

> [@UserPicker component does not work when it's child of CustomFieldEdit](https://community.developer.atlassian.com/t/userpicker-component-does-not-work-when-its-child-of-customfieldedit/52457/4):
>
> Thanks for getting back to me @belokurbohdan I just had another look at the problem (fresh eyes in the morning) and I went to check what dependencies the package has. There they specify a particular version of the intl package and after including that I got it to run. So my whole solution looks like this. in package.json in dependencies I added "react-intl-next": "npm:react-intl@^5.18.1", and did npm install and my react typescript code looks like this (note you need to provide at least a f…

The code works fine with requestConfluence from bridge module, but I am getting a 401 error in the console log. Failed to load the Resource.

```auto
<status>
<status-code>404</status-code>
<message>
null for uri: https://cc-proxy.prod.atl-paas.net/wiki/rest/api/3/user/picker?showAvatar=true&query=undefined
</message>
</status>

```

Thank you.

---

<div class="post-metadata">

**Author:** ![JoshuaHwang](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/joshuahwang/32/44116_2.png) [@JoshuaHwang](https://community.developer.atlassian.com/u/JoshuaHwang)\
**Post date:** [November 21, 2022, 11:03am UTC](https://community.developer.atlassian.com/t/how-to-get-the-list-of-users-who-can-view-a-confluence-page-using-confluence-product-api/62800/2 "2022-11-21T11:03:55Z")

</div>

Hi Karan

I’m from a Forge platform team. My gut reaction is the `query=undefined` at the end of your URL there.

Would you be able to confirm if it works when this is something else?

To help with further investigation would you be able to find a traceId/requestId in the response header?

In the meantime I’m asking the owners of the endpoint if your URI is valid.

---

<div class="post-metadata">

**Author:** ![JoshuaHwang](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/joshuahwang/32/44116_2.png) [@JoshuaHwang](https://community.developer.atlassian.com/u/JoshuaHwang)\
**Post date:** [November 21, 2022, 11:11am UTC](https://community.developer.atlassian.com/t/how-to-get-the-list-of-users-who-can-view-a-confluence-page-using-confluence-product-api/62800/3 "2022-11-21T11:11:20Z")

</div>

The thread you were looking at relates to Jira and is associated with a Jira endpoint. [https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search#api-rest-api-3-user-picker-get](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search#api-rest-api-3-user-picker-get)

I don’t **believe** an equivalent exists for Confluence. I’ll double check but I’m not sure this is available. Would you be able to link to the documentation where the confluence equivalent is?
