The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Where to get IP information for an instance for outbound calls to share with API provider?

Nisar3
Giga Guru

The owner of one the APIs that our servicenow instance consumes is asking us to share IP details because they are enabling IP Whitelisting at their end. Which IPs should I share? Where will I get that details from?

 

And wouldn't the IP depend on the user's location who is currently logged in which will definitely not be static and keep changing?

2 ACCEPTED SOLUTIONS

@Nisar3 

 

If API is sending request to ServiceNow, they need to whitelist ServiceNow IPs that corresponds to 'The address to which your instance resolves' section.

 

If ServiceNow is initiating the request to API, use 'Source address used for integrations into customer network with NO VPN' as this is the typical setup used by Customers unless you have setup VPN tunnels.

 

If ServiceNow is initiating the request to API and you have built VPN tunnels for accessing ServiceNow instance, use 'Source address used for integrations into customer network with VPN'.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

View solution in original post

@Nisar3 

not dependent on the location of the user logged into ServiceNow — it's about the network path from the ServiceNow instance to the external API.

-> it's the 1st Option since ServiceNow is consuming the external API and 3rd party team wants to know request is coming from which IP

-> This is the public IP address that your ServiceNow instance uses to make outbound calls without a VPN, which is typically how ServiceNow connects to external APIs unless you've set up a VPN tunnel.

 

AnkurBawiskar_1-1758521084166.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

15 REPLIES 15

Bhuvan
Kilo Patron

@Nisar3 

 

Go to ServiceNow Support Portal -> Automation Store -> My IP Information -> Select the instance and Submit

 

https://support.servicenow.com/now/en/pages/automation-store?id=ns_automation_store

 

You can get the Instance IP Address details from section 'The address to which your instance resolves' and can share with the API team for whitelisting.

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan


@Bhuvan  wrote:

You can get the Instance IP Address details from section 'The address to which your instance resolves' and can share with the API team for whitelisting.


Thanks Bhuvan. But the section "The address to which your instance resolves" is applicable for inbound calls, right? Not outbound ones?

@Nisar3 

once you login to now support you can check the links I shared.

that will help you grab the IP and you can share that with the 3rd party to whitelist that.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes, that part I understood. But which section to refer to? 

 

  • "VPN Peer IP Address"
  • "Source address used for integrations into customer network with NO VPN"
  • "Source address used for integrations into customer network with VPN"
  • "The address to which your instance resolves"