Can the Google Apps Script Execution API be called by a service account?
I'd like to use a service account to access a Google Sheet via the Apps Script Execution API , but it's not clear from the documentation whether this is supported. The steps I've tried (which result in a 403 status from the Execution API) are: Create a new (unbound) Apps Script Visit the linked Developer Console project Enable the Execution API Create a new service account within the same project (downloading the generated JSON file) Create a new Google Sheet and share it with the service account's email address ( this is the step I'm least sure about ) Write an apps script function that reads