Skip to main content
동수 김
February 4, 2023

https://api.lucid.co/documents/search api not working

  • February 4, 2023
  • 1 reply
  • 91 views

Hi

I got access_token

and using access token 

I reqeust https://api.lucid.co/documents/search api as following

but I  the reponse

{"code":"accessForbidden""message":"Access to this resource is forbidden""requestId":"530f5326c88efe43"}

scope is lucidchart.document.content:readonly

is there anything to do more?

** request ** 

curl 'https://api.lucid.co/documents/search' --request 'POST'

--header 'Lucid-Api-Version: 1'

--header "Authorization: Bearer $access_token"

--header 'Content-Type: application/json'

--data-raw '{ "product": ["lucidchart"] "createdStartTime": "2020-12-31T15:00:00Z" "createdEndTime": "2021-01-30T15:00:00Z" }'

 

 

    Comments

    Richard Udell
    Lucid support team
    February 7, 2023

    Hi there thank you for contributing to the Lucid Community! It sounds like the user associated with your User Token may not have permission to view this specific document. As a next step I suggest reviewing the 403 Forbidden error section in this Community Post in the Lucid for Developers Community Space

    Please let me know if you have any additional questions or concerns!