<?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>question Calling External API in ServiceNow in ServiceNow Studio forum</title>
    <link>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3365882#M3844</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best practices to call External API's(Hosted on any Cloud Solution/On-Prem Solution) from ServiceNow platform synchronous/asynchronous.&lt;/P&gt;&lt;P&gt;Kindly help with relevant technical documents.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 13:41:53 GMT</pubDate>
    <dc:creator>RavinderK</dc:creator>
    <dc:date>2025-08-29T13:41:53Z</dc:date>
    <item>
      <title>Calling External API in ServiceNow</title>
      <link>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3365882#M3844</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best practices to call External API's(Hosted on any Cloud Solution/On-Prem Solution) from ServiceNow platform synchronous/asynchronous.&lt;/P&gt;&lt;P&gt;Kindly help with relevant technical documents.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 13:41:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3365882#M3844</guid>
      <dc:creator>RavinderK</dc:creator>
      <dc:date>2025-08-29T13:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calling External API in ServiceNow</title>
      <link>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3366205#M3848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/780469"&gt;@RavinderK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This documentation might help you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/zurich-api-reference/page/integrate/inbound-rest/concept/external-content-ingestion-api.html" target="_blank"&gt;https://www.servicenow.com/docs/bundle/zurich-api-reference/page/integrate/inbound-rest/concept/external-content-ingestion-api.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 23:21:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3366205#M3848</guid>
      <dc:creator>Rafael Batistot</dc:creator>
      <dc:date>2025-08-29T23:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calling External API in ServiceNow</title>
      <link>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3366209#M3849</link>
      <description>&lt;P&gt;Hi there &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/780469"&gt;@RavinderK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can call either synchronously (using &lt;STRONG&gt;RESTMessageV2&lt;/STRONG&gt; in server-side scripts) or asynchronously (using &lt;STRONG&gt;Scripted REST APIs, Outbound REST, or IntegrationHub&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;on-prem/cloud APIs&lt;/STRONG&gt;, make sure to configure &lt;STRONG&gt;MID Server&lt;/STRONG&gt; if the endpoint isn’t publicly accessible.&lt;/P&gt;&lt;P&gt;Handle &lt;STRONG&gt;authentication&lt;/STRONG&gt; via Connection &amp;amp; Credential Aliases (OAuth2, Basic, API Keys).&lt;/P&gt;&lt;P&gt;Always add &lt;STRONG&gt;timeouts, retries, and error handling&lt;/STRONG&gt; to avoid performance issues.&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;async (queued jobs/IntegrationHub)&lt;/STRONG&gt; for long-running or heavy calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best to use async calls whenever possible&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/zurich-api-reference/page/integrate/inbound-rest/concept/external-content-ingestion-api.html" target="_blank" rel="noopener"&gt;External Content Ingestion API&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Aug 2025 00:44:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3366209#M3849</guid>
      <dc:creator>Its_Azar</dc:creator>
      <dc:date>2025-08-30T00:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calling External API in ServiceNow</title>
      <link>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3366216#M3850</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/780469"&gt;@RavinderK&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best practice is to use async when you make API calls especially with third-party API for better performance and scalability. In exception scenarios, you can consider using sync calls with timeout limit set to avoid bottlenecks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;General rule is, if you want to validate something first with external API before proceeding with next steps use sync call as it waits for execution to complete first and will not procced to next steps without a response. Use this only for limited and specific scenarios only if it is a MUST.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For everything else use async call, as it is efficient and will proceed with next steps after making the API call and provides a smoother user experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below blog &amp;amp; articles can help you to understand the difference between sync and async calls and best practices to follow,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.postman.com/understanding-asynchronous-apis/" target="_blank" rel="noopener"&gt;https://blog.postman.com/understanding-asynchronous-apis/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0749289" target="_blank" rel="noopener"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0749289&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0716391" target="_blank" rel="noopener"&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0716391&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helped to answer your query, please mark it as helpful &amp;amp; accept the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bhuvan&lt;/P&gt;</description>
      <pubDate>Sat, 30 Aug 2025 01:08:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-studio-forum/calling-external-api-in-servicenow/m-p/3366216#M3850</guid>
      <dc:creator>Bhuvan</dc:creator>
      <dc:date>2025-08-30T01:08:22Z</dc:date>
    </item>
  </channel>
</rss>

