Feb 1st, 2023
The Sheet should be public and Anyone with link can view. Example:
https://docs.google.com/spreadsheets/d/{spreadsheetId}/edit?usp=sharing
If you dont want to create a key you can use this URL format (which downloads a json.txt file of the format):
Or configure a key as per the Official docs.
You can now get json using URL Format:
With the V4 pattern, the spreadsheet needs to be shared as File > Share > Share with others > anyone with the link can view.
https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{sheetName}?alt=json&key={theKey}