r/GoogleAppsScript • u/nemcrunchers • Jun 07 '25
Question Deploy Apps Script as API executable for only certain functions
I have a project that I want to make API executable, but I dont want any function to run. I would prefer certain functions be entrypoints that I define. Is this possible?
5
Upvotes
View all comments
Show parent comment
1
u/maxloroll Jun 07 '25
yes, since Apps Script doesn’t support something like
/privateor/internalannotations for Execution API access.Even though
getUser()andupdateName()are globally visible, you discourage or block calling them by not documenting them and requiring a token inapiRouter.