<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What IP address range is used for custom code HTTP requests in HubSpot? in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559022#M593</link>
    <description>&lt;P&gt;Is there any official documentation that lists the IP address range for outbound HTTP requests from custom code blocks in HubSpot?&lt;BR /&gt;&lt;BR /&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I developed a custom code block that performs a REST api http request towards an internal web service whenever a contact satisfies some conditions. I need to find if there is a specific range of ip addresses from which I can expect the api call to be sent, so that I can allowlist them in my service.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found in&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/email/not-receiving-hubspot-system-or-notification-emails" target="_blank" rel="noopener"&gt;https://knowledge.hubspot.com/email/not-receiving-hubspot-system-or-notification-emails&lt;/A&gt;&amp;nbsp;that the Marketing, Sales and Service Hubs all have specific sets of ip addresses but the Operations hub is not mentioned.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moreover, I tested the implementation and the IP address from which I receive the requests is none of the ones that are listed in the link.&lt;/P&gt;
&lt;P&gt;Is there some piece of documentation I am missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Moderator Note: this post was reviewed for relevancy and optimized for clarity on October 28, 2025. Thank you for your contributions to the HubSpot Community!&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 16:26:17 GMT</pubDate>
    <dc:creator>aaberni</dc:creator>
    <dc:date>2025-10-28T16:26:17Z</dc:date>
    <item>
      <title>What IP address range is used for custom code HTTP requests in HubSpot?</title>
      <link>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559022#M593</link>
      <description>&lt;P&gt;Is there any official documentation that lists the IP address range for outbound HTTP requests from custom code blocks in HubSpot?&lt;BR /&gt;&lt;BR /&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I developed a custom code block that performs a REST api http request towards an internal web service whenever a contact satisfies some conditions. I need to find if there is a specific range of ip addresses from which I can expect the api call to be sent, so that I can allowlist them in my service.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found in&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/email/not-receiving-hubspot-system-or-notification-emails" target="_blank" rel="noopener"&gt;https://knowledge.hubspot.com/email/not-receiving-hubspot-system-or-notification-emails&lt;/A&gt;&amp;nbsp;that the Marketing, Sales and Service Hubs all have specific sets of ip addresses but the Operations hub is not mentioned.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moreover, I tested the implementation and the IP address from which I receive the requests is none of the ones that are listed in the link.&lt;/P&gt;
&lt;P&gt;Is there some piece of documentation I am missing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Moderator Note: this post was reviewed for relevancy and optimized for clarity on October 28, 2025. Thank you for your contributions to the HubSpot Community!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 16:26:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559022#M593</guid>
      <dc:creator>aaberni</dc:creator>
      <dc:date>2025-10-28T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: range of IP addresses for custom code http requests</title>
      <link>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559808#M598</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/265361"&gt;@aaberni&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN&gt;Unfortunately, HubSpot does not publish IP addresses or IP ranges for requests coming from its server, since they change so frequently.&lt;BR /&gt;&lt;BR /&gt;If you’re looking to verify that a request is coming from HubSpot, I’d recommend taking a look at our&amp;nbsp;&lt;/SPAN&gt;docs on validating requests from HubSpot: "&lt;A href="https://developers.hubspot.com/docs/apps/legacy-apps/authentication/validating-requests" target="_blank" rel="noopener"&gt;Webhooks | Validating Requests&lt;/A&gt;".&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 16:16:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559808#M598</guid>
      <dc:creator>jbogaert</dc:creator>
      <dc:date>2025-10-28T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: range of IP addresses for custom code http requests</title>
      <link>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559835#M599</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/117612"&gt;@jbogaert&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;actually the two headers referred to in the doc pages you linked (X-HubSpot-Signature&amp;nbsp;and&amp;nbsp;X-HubSpot-Signature-Version) are not automatically populated when the requests are performed by a custom code block in a workflow. I suppose I could share a secret key between my external rest endpoint and hubspot and use that secret to compute a digest of the request payload and put that digest in a header field that I could call "X-HubSpot-Signature". In that case I would be reproducing the hubspot native functionality from whithin my custom code block, and that seems like a redundancy I could go without.&lt;/P&gt;&lt;P&gt;I don't get why the ip addresses from which marketing emails are coming (&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/email/contacts-not-receiving-your-marketing-emails" target="_blank"&gt;https://knowledge.hubspot.com/email/contacts-not-receiving-your-marketing-emails&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;) are published but the ones I need are not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:28:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/559835#M599</guid>
      <dc:creator>aaberni</dc:creator>
      <dc:date>2022-01-20T14:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: range of IP addresses for custom code http requests</title>
      <link>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/560635#M605</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi there! I asked one of our experts and unfortunately what you suggested (&lt;STRONG&gt;using a shared secret value&lt;/STRONG&gt;) is probably your best bet.&lt;BR /&gt;&lt;BR /&gt;Unless you’re able to &lt;STRONG&gt;use the webhook action&lt;/STRONG&gt; to make the request and, then &lt;STRONG&gt;add the response body from the webhook action as an input&lt;/STRONG&gt; to the custom code action.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;The email IPs are shared for a very specific use case, but they’re a tiny subset of the IP addresses that HubSpot actually uses.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;HubSpot uses hundreds of IP addresses, and they change all the time&lt;/STRONG&gt;, so publishing a full list and keeping it up to date wouldn’t be possible.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 16:20:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/What-IP-address-range-is-used-for-custom-code-HTTP-requests-in/m-p/560635#M605</guid>
      <dc:creator>jbogaert</dc:creator>
      <dc:date>2025-10-28T16:20:37Z</dc:date>
    </item>
  </channel>
</rss>

