Skip to main content
Solved

Get Lucid document list API call failed with 403 forbidden

  • January 13, 2021
  • 4 replies
  • 83 views

mukund.waghmode

I am trying to get list of documents using OAuth2 token via postman. Able to get token successfully but document list api not working.
API:
https://app.lucidchart.com/documents/docs
Header: Bearer token_value

Response:
<error>
<status>403</status>
<message>Access Denied</message>
</error>

Best answer by Karsten B

We have now published our available O Auth 2.0 scopes which includes a number of document related scopes.  You can view our new API documentation at the link below. 

https://developer.lucid.co/rest-api/v1/#access-scopes

Comments

mukund.waghmode

Tried with following api also:
API: https://users.app.lucidchart.com/documents/docs
Response:

<html>
<body>
<h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body>
</html>

Karsten B
Forum|alt.badge.img+3
  • Lucid support team
  • January 13, 2021

Hi!

The only scope available for our OAuth 2 api is "data.service."  In this way you can not use an OAuth 2 token to access the document API's only to upload and refresh data to your account.

For the document API's you will need to use OAuth 1.0 as outlined below: 

https://www.lucidchart.com/pages/api_authorization

Can you give that a shot?


Karsten B
Forum|alt.badge.img+3
  • Lucid support team
  • Answer
  • June 28, 2021

We have now published our available O Auth 2.0 scopes which includes a number of document related scopes.  You can view our new API documentation at the link below. 

https://developer.lucid.co/rest-api/v1/#access-scopes


Micah
Forum|alt.badge.img+20
  • Lucid community team
  • January 17, 2023

Hi! Updating this thread with exciting news - we've recently launched Lucid for Developers a community space dedicated to supporting and connecting our users working with the Lucid API and our most technical features.

EEMaJAvobHd0NESZVn6_ZQ.gif

In this section the developers actually building Lucid’s APIs will be available to answer your most technical questions just like this one. Furthermore here we plan to announce new endpoints tools and guides to help you have the best possible experience developing on Lucid’s APIs. You can browse existing posts connect with other users with similar questions and goals and ask questions of your own by creating a new post or leaving a comment. Thank you and we're excited to hear from you!