<?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 Re: Need help with the Qlik Cloud REST API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447509#M20459</link>
    <description>&lt;P&gt;What are the parameters of your data connection for this Rest API?&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2024 19:11:21 GMT</pubDate>
    <dc:creator>igoralcantara</dc:creator>
    <dc:date>2024-05-01T19:11:21Z</dc:date>
    <item>
      <title>Need help with the Qlik Cloud REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447483#M20457</link>
      <description>&lt;P&gt;Hey all, i am trying to use the following api for qlik cloud along with the documentation URL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl "https://your-tenant.us.qlikcloud.com/api/v1/apps/{appId}" \
 -H "Authorization: Bearer &amp;lt;API-key&amp;gt;"

https://qlik.dev/apis/rest/apps/#%23%2Fentries%2Fv1%2Fapps%2F-appId-get&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am using this REST API in Angular 16 (Typescript) however i keep getting an '&lt;SPAN&gt;401 Unauthorized' error. here is my code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;export class ApiService {
  constructor(private http: HttpClient) {}

  getApp() {
    const appId = '&amp;lt;MY-APP-ID&amp;gt;';
    const apiUrl = `https://&amp;lt;MY-Company-Tenant.us.qlikcloud.com/api/v1/apps/${appId}`;
    const apiKey =
      'Bearer &amp;lt;MY-API-KEY&amp;gt;';

    const headers = {
      authorization: apiKey,
    };

    return this.http.get&amp;lt;any&amp;gt;(apiUrl, { headers: headers });
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is a couple screenshots of my test app so far along with the error i am getting:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bskemp01_0-1714398219221.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164995i1E2D6AC56B3CE02B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bskemp01_0-1714398219221.png" alt="bskemp01_0-1714398219221.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bskemp01_1-1714398288696.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164996i2D84B5E38D1BCC2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bskemp01_1-1714398288696.png" alt="bskemp01_1-1714398288696.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bskemp01_2-1714398308338.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164997iFB7DBCE9D97FBDD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bskemp01_2-1714398308338.png" alt="bskemp01_2-1714398308338.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now i know this 401 error means the API key isnt being applied or is wrong however i am testing this in another app and the API call works:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bskemp01_3-1714398446909.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164999iE977C1D11D7BBCB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bskemp01_3-1714398446909.png" alt="bskemp01_3-1714398446909.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does anyone know why this isnt working?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 17:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447483#M20457</guid>
      <dc:creator>bskemp01</dc:creator>
      <dc:date>2024-05-01T17:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with the Qlik Cloud REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447509#M20459</link>
      <description>&lt;P&gt;What are the parameters of your data connection for this Rest API?&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 19:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447509#M20459</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-01T19:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with the Qlik Cloud REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447511#M20460</link>
      <description>&lt;P&gt;im not sure i follow. are you referring to the Appid and API key?&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 19:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447511#M20460</guid>
      <dc:creator>bskemp01</dc:creator>
      <dc:date>2024-05-01T19:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with the Qlik Cloud REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447529#M20461</link>
      <description>&lt;P&gt;Let me rephrase it. I am assuming you have created a Rest API connection in Qlik Cloud to connect to this tenant? Or, maybe I misunderstood and you're doing it outside of Qlik to connect to a cloud tenant.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 19:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447529#M20461</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-05-01T19:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with the Qlik Cloud REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447541#M20462</link>
      <description>&lt;P&gt;i am using the Qlik Apps Rest apis, specifically the one that retrieves the general information about an app in my tenant. i did not make the rest connection itself, no. here is a link to the page where the APIs are listed on the qlik website:&amp;nbsp;&lt;A href="https://qlik.dev/apis/rest/apps/" target="_self"&gt;Qlik Developer Apps APIs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 20:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447541#M20462</guid>
      <dc:creator>bskemp01</dc:creator>
      <dc:date>2024-05-01T20:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with the Qlik Cloud REST API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447551#M20463</link>
      <description>&lt;P&gt;The OP is not using a Data Connection. They are connecting using Typescript.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 21:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Need-help-with-the-Qlik-Cloud-REST-API/m-p/2447551#M20463</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-05-01T21:24:17Z</dc:date>
    </item>
  </channel>
</rss>

