Google Drive - Root Folder Id

bipin picture bipin · Nov 25, 2015 · Viewed 16k times · Source

Is the Google Drive's Root Folder Id permanent?
Will the Root Folder Id remain the same as long as the account exists?

Answer

Dany Gauthier picture Dany Gauthier · Nov 25, 2015

As stated in the Work with Folders section of the api doc :

You can use the alias root to refer to the root folder anywhere a file ID is provided

That way you'll have the correct id for any user.