Hi!
We like to automate our onboarding and offboarding process through a given product’s API, and part of our offboarding process for a User from Lucid is:
- Determining if the User owned documents
- Transferring those documents to another suitable User
I’m having a hard time finding an endpoint in the Lucid API docs that allows me to provide a User ID to obtain the documents they own. I don’t see a practical way of doing this. I could GET the https://api.lucid.co/documents/:id endpoint with a multi-threaded “scanner” approach that increments the documentId (a UUID) every call (this would only take several trillion API calls per User) and collects documents with a matching creatorId of the target User, but I’m hoping for a more efficient approach.
I could use help. What is the simplest endpoint of the Lucid API I can use to retrieve a list of a User’s owned documents?
Best answer by Richard U
View original