Skip to main content
Solved

I can't generate see the API section to generate an API Token


Forum|alt.badge.img+3

I don’t get it, I just got the admin and developer roles and I still can’t see the developer portal.

I tried to see the API section in order to generate a token for integration but I can’t see it.

I went throught all this documentation https://lucid.readme.io/docs/guides-unlocking-developer-tools and I’m still stuck.

What am I missing? Thank you.

Best answer by Trevor J

Glad to hear it’s working! If you’re able to access the developer portal, that should be an indicator that you have access to all developer tools. Depending on if you’re wanting to create an extension or hit the REST API endpoints, you can test each by following these steps:

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+2
  • Lucid product team
  • March 20, 2025

Hi ​@lnguyenduc,

Thank you for reaching out to us. Do you have an active license for Lucidchart or Lucidspark? Not having either would prevent access to the developer portal, but at least one of the two should be enough to grant access.


Forum|alt.badge.img+3

@Trevor J Yeah I have an active license for Lucidchart, the admin gave it, our company is under the Enterprise Plan. So I don’t get it.


Forum|alt.badge.img+2
  • Lucid product team
  • March 20, 2025

Just to confirm the behavior, you’re saying you received the developer role from an admin on your account, similar to the “Via Admin” instructions on the Unlocking developer tools page. After this the “Developer” button should appear at the bottom left of the Lucid documents page, but it’s not showing up?

Does this link show an error message? https://lucid.app/developer

Could I also ask what browser you are using?


Forum|alt.badge.img+3

@Trevor J I’m using Google Chrome, it’s  getting me here:  

But I don’t get why im receiving this message because I got the developer role already.


Forum|alt.badge.img+3

@Trevor J I got all the Developer privileges from the admin: 

 


Forum|alt.badge.img+3

So now it’s working, I had to click on “Request license”, there was a glitch I think.

@Trevor J Could you tell me how to test the connection please?


Forum|alt.badge.img+2
  • Lucid product team
  • March 20, 2025

Glad to hear it’s working! If you’re able to access the developer portal, that should be an indicator that you have access to all developer tools. Depending on if you’re wanting to create an extension or hit the REST API endpoints, you can test each by following these steps:


Forum|alt.badge.img+3

@Trevor J I would like to use the API to convert drawio diagrams to LucidChart diagrams with a Python script.

I tried to access this endpoint https://api.lucid.co/v1/users/me/profile by entering the right Bearer  Token but it didn’t work, why?


Forum|alt.badge.img+2
  • Lucid product team
  • March 20, 2025

There are several reasons why the request could be failing. Refer to the Get Profile page to see the details of the endpoint.

The first things I would check are if your token has the correct scopes and if you’ve included the `Lucid-Api-Version` header. The scope required for this endpoint is `user.profile`.


Forum|alt.badge.img+3

@Trevor J This is what I receive: 

In Authorization, I just selected Bearer Token and I put my Token. 


Forum|alt.badge.img+2
  • Lucid product team
  • March 20, 2025

In the case of using an API Key, this endpoint requires the User grant. 

 

 

Could you check that the API Key you created has this grant?


 

 


Forum|alt.badge.img+3

Ok and what should be the other grants if I want to be able to use the API 

https://api.lucidchart.com in a python script?

Documents and Folders?


Forum|alt.badge.img+2
  • Lucid product team
  • March 21, 2025

Each endpoint specifies which grant is required to access it. If you’d like a single API key that is able to access any endpoint, giving it the highest level of every grant would work just fine. (Documents Edit, Folders Edit, Users View, and Accounts Edit)


Reply