Skip to main content
Solved

Rest API for shared with me folder unauthorized

  • April 7, 2026
  • 3 replies
  • 30 views

Michel L
Forum|alt.badge.img+13

Hi everyone,

As already said by lucidchart the direct access to the “Shared with me” is not available through Rest API endpoint.
So I have used the “https://api.lucid.co/folders/search” endpoint to retrieve the folders.
Then I have retrieved manually the parent of a folder of “Shared with me” folder for grabing the id of the “Shared with me” folder.

But when using the https://api.lucid.co/folders/{id}/contents endpoint with this id, for retrieving the content, of the “Shared with me” folder I get a 403 error despite the scope used (folder:readonly and folder:admin.readonly)
The http request is made by an admin user. Is it normal?
Best regards.

Best answer by Michael B

I believe I understand what you are seeing. In our system, there is no actual `Shared with me` folder. When you retrieve information about a document shared with you, you are getting the parentId of the folder it actually lives in where-ever it actually lives. 

For illustration, consider if I created a folder ‘Test Folder` in my account and then created a document in it. If I share that document with you, it will show in your `shared with me` folder. But, for me it lives in `Test Folder`.

Because you have access to view the document, you will see the parentId that is my `TestFolder`, which you don’t have access to it.

Let me know if you have an example where you definately can access the parent within Lucid itself and provide any details you can about that folder. I’ll dig in and see if there is a circumstance not working correctly.

Comments

Richard Udell
Forum|alt.badge.img+8
  • Lucid support team
  • May 1, 2026

@Michel L Hey Michel, thanks for the detailed write-up here. I want to make sure you get an accurate answer on this one, so I'm checking with our development team on the expected behavior when querying the "Shared with me" folder via the API. I'll follow up once I have more information.


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

Hello Michel,

I am investigating now if this is an issue globally or if something specific to your situation is causing it. I will be in touch.


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

I believe I understand what you are seeing. In our system, there is no actual `Shared with me` folder. When you retrieve information about a document shared with you, you are getting the parentId of the folder it actually lives in where-ever it actually lives. 

For illustration, consider if I created a folder ‘Test Folder` in my account and then created a document in it. If I share that document with you, it will show in your `shared with me` folder. But, for me it lives in `Test Folder`.

Because you have access to view the document, you will see the parentId that is my `TestFolder`, which you don’t have access to it.

Let me know if you have an example where you definately can access the parent within Lucid itself and provide any details you can about that folder. I’ll dig in and see if there is a circumstance not working correctly.