<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Pass the session ID in an API call</title><link>https://community.appian.com/discussions/f/integrations/12082/pass-the-session-id-in-an-api-call</link><description>Hi All, 
 The link below ask is how to grab the session ID. 
 https://community.appian.com/discussions/f/integrations/11715/how-to-grab-the-session-id-from-a-api-call 
 But is there a way where I should be able to pass the session ID for the API call</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53587?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 15:52:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6994bf95-7091-442c-85ab-8fea30158a39</guid><dc:creator>harshav</dc:creator><description>Hi Alok,&lt;br /&gt;
&lt;br /&gt;
any update on the below user case about how can I do that...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53586?ContentTypeID=1</link><pubDate>Thu, 22 Mar 2018 15:51:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1022ff7a-8907-41fc-af6e-1c50d0c357e3</guid><dc:creator>harshav</dc:creator><description>Hi Rob,&lt;br /&gt;
&lt;br /&gt;
I actually didn&amp;#39;t understand what is the comment specified, I was not looking about the webAPI part I am looking to consume an API from the external system via integration Layer,&lt;br /&gt;
&lt;br /&gt;
So My main intention is,&lt;br /&gt;
&lt;br /&gt;
Instead of me passing the Basic credentials or the secret Key in the parameters , I want to pass the session token so checking on that, &lt;br /&gt;
Could you please suggest me on this.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53547?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 18:11:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f8ebc4c-086e-4ad2-b27c-358b5e5d1608</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;Harsha -&lt;/p&gt;
&lt;p&gt;I think I follow your use case.&lt;br /&gt;However, I&amp;#39;m not sure why the user needs to access a web API from inside their browser if they&amp;#39;re already logged in to Appian.&lt;br /&gt;Is there some reason why the application cannot be designed to provide the logged in Appian user with the necessary resources?&lt;/p&gt;
&lt;p&gt;If you want to access an Appian web API from a browser, &lt;a href="https://docs.appian.com/suite/help/18.1/Web_APIs.html#authentication" target="_blank"&gt;the documentation advises use of an embedded interface&lt;/a&gt;.&lt;br /&gt;If these docs don&amp;#39;t contain all the information you&amp;#39;re looking for, consider providing feedback using the feedback form on that page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53544?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 17:48:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:676f030a-3b21-4b32-ba9f-4d9d620d915f</guid><dc:creator>harshav</dc:creator><description>Hi Rob,&lt;br /&gt;
&lt;br /&gt;
Any thoughts on this ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53532?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 09:36:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5dfe1f7e-d4d6-49f9-be39-36c2333cc057</guid><dc:creator>harshav</dc:creator><description>Thanks alok,&lt;br /&gt;
&lt;br /&gt;
I have mentioned my use case in the below comment, Could you please tell me whether that is what you have explained.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53531?ContentTypeID=1</link><pubDate>Wed, 21 Mar 2018 09:35:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c86dea01-ac7a-4957-b20c-98a89ccb53fe</guid><dc:creator>harshav</dc:creator><description>Hi Rob,&lt;br /&gt;
&lt;br /&gt;
My use case is,&lt;br /&gt;
1.User will try to login via SSO using SAML &lt;br /&gt;
2.where he should be having the session token in browser cookies,&lt;br /&gt;
3.I need to integrate the external systems usiung integration layer.&lt;br /&gt;
4.For authentication we are planning to send the same token  to integration layer&lt;br /&gt;
5. We are doing an API call from Appian.&lt;br /&gt;
&lt;br /&gt;
Now My questions are &lt;br /&gt;
&lt;br /&gt;
1. How can I get the token stored in Appian before hitting the API&lt;br /&gt;
2. Where and how will I pass this Token in the API call.&lt;br /&gt;
&lt;br /&gt;
Please suggest.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53517?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 21:32:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15417451-3106-44af-bf79-a14483e40222</guid><dc:creator>aloks0189</dc:creator><description>Hi Harsha, I am not sure what&amp;#39;s your use case, but generally we pass various headers in key value pair format while making a API call. For best example,  I have authenticated a service in appian and have received cookie details of this API to consume,  now I can make the use of this cookie by passing it via header to access the API.  &lt;br /&gt;
&lt;br /&gt;
As far I understood your question,  you are a li so having similar use case where you will get a unique session Id and you need to use this to access the API,  If so then try the header approach if the target API expects it as a header&lt;br /&gt;
&lt;br /&gt;
If this didn&amp;#39;t as answer your question then please explain your use case.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pass the session ID in an API call</title><link>https://community.appian.com/thread/53515?ContentTypeID=1</link><pubDate>Tue, 20 Mar 2018 20:25:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:494a350f-cd3d-4bf5-92b9-f2d4105b1e21</guid><dc:creator>Robert Shankin</dc:creator><description>Hi Harsha, &lt;br /&gt;
What&amp;#39;s your use case?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>