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
4
u/nemcrunchers Jun 08 '25
Hmmm. I did find that putting an underscore after the function name makes them "private" and not callable via API. This does make it better but I was still looking for an allowlisting, so I didn't have to keep naming them this way but maintain a list of allowed functions instead