Skip to main content
Chirag S
February 6, 2023
Solved

Help with access to the Lucidchart API

  • February 6, 2023
  • 13 replies
  • 631 views

I'm trying to access the LucidChart API via the following documentation:

https://developer.lucid.co/api/v1/#overview

I'm using the OAuth 2.0 client. I obtained a Client ID and Client Secret. What is not clear to me is that the App Registration step is the section around the URI and what needs to be done to fill out. Below are the steps in the API documentation.

App registration

Note: Registering a new application requires Team Admin permissions for the Lucid account.

To set up an app to use OAuth 2.0 perform the following steps:

  1. Obtain an OAuth 2.0 client ID and client secret from the account's Lucid team administration page.
  2. Register at least one redirect URI on that page. Lucid will redirect the user to this location once they have granted access. This should be a URL that the app controls. Lucid will append the authorization code to the URL in the code query parameter.
Test redirect URI

As a service Lucid provides a redirect uri that can be used to allow the user to copy the authorization code to the clipboard.

To use it register the redirect URI:

https://lucid.app/oauth2/clients/{client id}/redirect

When this redirect URI is used and a user grants access to the app Lucid will redirect the user to a page on our site where they can view and copy the authorization code.

 

 

Best answer by Amanda.DeLeo

@Richard Udell I was using the wrong url,

 

versus

 

Once I switched to the correct url it worked. Thanks for getting back to me!

Comments

Lucid product team
August 7, 2025

Hey ​@Vamsi_K_Lucid. Happy to help here.

 

The first step here is to create an OAuth2 Client. We have a thorough guide here on how to do so. 

Once you have created the client and the redirect uri is defined, you can then fill out the authorization link to have the requisite query parameters, including the client id, redirect uri, and scopes. It should be of the following form: 

https://lucid.app/oauth2/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>&scope=<scopes>

It is worth pointing out that there are two versions of the authorize endpoint. One for account tokens and one for user tokens. The options can be seen here. For most cases a user token is sufficient, but your use case may require an account token. If you are unsure, review the endpoints you are looking to use and see what access scope types they accept. 

 

We have a short guide for how to obtain an access token that can be found here that may also be of assistance. 

 

Please let me know if you run into any other issues that I can be of assistance on.

August 8, 2025

Thanks ​@chasefreeman . I will give this a try and get back to you. 

When we turn ON the developer version, is it turned on for user to user?

Appreciate it !!!

Lucid product team
August 8, 2025

There are two options for unlocking developer tools. A thorough guide can be found here, but I can give a brief description as well.

Some accounts allow users to self-select into seeing developer tools and the developer portal via a toggle in the user settings page. This toggle is on a per-user basis so some may have it on and some may not. Enterprise accounts have the option to disable this toggle for all users if there is any concern with users having opt-in access to these tools. Note that if disabled, regardless of the current state of the toggle, the user will be unable to access developer tools unless granted the Developer role. This is the other option. Users should be able to be granted the Developer role via the admin panel. Users granted this role will have access to the developer tools always unless the role is revoked. This is also granted on a per user basis.

 

Hope this helps and please let me know if you have any more questions!