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

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-

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.

<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.

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.

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

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?