Running App Scripts from a Static IP

2,105 views
Skip to first unread message

Christine Brown

unread,
Feb 21, 2023, 6:15:37 PM2/21/23
to Google Apps Script Community
Hello everyone,

I am trying to use Google App Scripts to connect to a company's API.  This company requires us to provide a list of IP addresses to whitelist to access their API.  Is this possible with Google App Scripts and the use of a VM instance with a static external IP?


Sushaanth Suresh Kumar

unread,
Mar 5, 2023, 3:51:21 AM3/5/23
to Google Apps Script Community
I am trying to find that as well but no luck till now.

Thomas Chuntic

unread,
Mar 6, 2023, 9:29:53 PM3/6/23
to Google Apps Script Community
Any luck on this? Me too need to get static IP address of my google apps script to whitelists it from external server. :(

cbmserv...@gmail.com

unread,
Mar 6, 2023, 10:32:39 PM3/6/23
to google-apps-sc...@googlegroups.com

No this is not possible with Google Apps Script. You never know which server will be performing your script and or which IP address it is coming from. You may be able to get a range of IP addresses perhaps, but certainly not 1 or 2.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/0b327f73-a3c5-4f7c-87bb-92cd3ac627b1n%40googlegroups.com.

Sangamesh Patil

unread,
Aug 2, 2023, 3:36:44 PM8/2/23
to Google Apps Script Community
is this IP range a good list to work with. 

https://www.gstatic.com/ipranges/goog.txt
or are there more IP ranges we need to work with ?
Reply all
Reply to author
Forward
0 new messages