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
3
u/maxloroll Jun 07 '25
Something like this?
1
u/Vegetable-Two-4644 Jun 07 '25
You could try a wrapper function to run it all through.
1
u/ShivKaushal Jun 08 '25
Doesn't using private functions do this for you? https://developers.google.com/apps-script/guides/html/communication#private_functions