Skip to content

How to do I locate a Google SpreadSheet ID?

When using the Google Execution Api for Java, the ID of the spreadsheet isn’t very easy to understand. Here is the code snippet:

// Initialize parameters for that function.
List<Object> params = new ArrayList<Object>();

Any Ideas on how to locate this. I run the Sheets api to return the id of a SpreadSheet but it returns a link, and when I use the or just the STRING itself I still get: “code” : 404, “errors” : [ { “domain” : “global”, “message” : “Requested entity was not found.”, “reason” : “notFound”


Found this deep inside the Apps Script API reference.

A spreadsheet ID can be extracted from its URL. For example, the spreadsheet ID in the URL is “abc1234567”.