Skip to main content
Solved

Getting User Name on "Share with me documents"

  • April 9, 2026
  • 6 replies
  • 27 views

Michel L
Forum|alt.badge.img+13

I have some documents that a user of another subscription has shared with me.

Using the “https://api.lucid.co/documents/{id}/shares/users” I am able to retrieve the id of the users (of the subscription of the user that shares the document with me) that have access to the document.
But when trying to get the name of the user using the endpoint “https://api.lucid.co/users/{id}” i get a 403 error.
Using the UI “File information=>Show details” I see the initial and the name of the user which makes me thinking that we have access to these informations. Why the API returns this 403 error?

Best regards.

Best answer by Michael B

Yeah, its a bit weird.  Here is an ID and a role, but you are going to have to call another endpoint to be told you get nothing else.

I have submitted the problem as a feature request. I am not quite sure how I think it should be resolved, but the current status isn’t great.

Comments

Ria S
Lucid Legend Level 8
Forum|alt.badge.img+19
  • Lucid Legend Level 8
  • April 9, 2026

Hi ​@Michel L 

The reason you’re getting a 403 on /users/{id} is that user belongs to another Lucid subscription. The API returns 403 Forbidden because:

  • That user is outside your organization’s tenant
  • The endpoint only allows access to users within your own account
  • This is intentional to protect cross-organization identity data

Hope this helps


Michel L
Forum|alt.badge.img+13
  • Author
  • April 9, 2026

Hi Ria,
Thank you for your response.
I understand but, nevertheless I can see partial information (Name) using the Lucid UI.

regards.


Ria S
Lucid Legend Level 8
Forum|alt.badge.img+19
  • Lucid Legend Level 8
  • April 9, 2026

Oh no! Sorry to hear that ​@Michel L 

At this stage, it’s best to contact the Support Team. They will have you sorted in no time! Follow this link:   https://help.lucid.co/hc/en-us/requests/new?ticket_form_id=15328518221588


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • April 10, 2026

Generally, we use `behave the same as the in app experience` as a guide for how to design the Public API.  However, this is one of those scenarios where we decided to deviate. As you likely assume, the concern is the public api being used to gain information about users on another account. This is made worse by the fact that UserIds are Longs, so it super easy to guess valid values.

It would be extremely difficult to use the in app experience to get a bunch of names of Lucid users, but quite easy by API. Theoretically, we could do something where you can get the same information visible for a given document. But, we haven’t found any reason that would be valuable.


Michel L
Forum|alt.badge.img+13
  • Author
  • April 10, 2026

Thanks Michael.
My scenario is:
I produce a list of all documents for the current user and I add the collaborators on these documents. The result gives only the userId for “shared with me” documents from another subscription. which is very difficult to map to a user. Having the possibility to add the name with the UserId will be more user friendly.
Regards.


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • Answer
  • April 10, 2026

Yeah, its a bit weird.  Here is an ID and a role, but you are going to have to call another endpoint to be told you get nothing else.

I have submitted the problem as a feature request. I am not quite sure how I think it should be resolved, but the current status isn’t great.