<?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: Requesting custom properties with private app integration in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Requesting-custom-properties-with-private-app-integration/m-p/724504#M59155</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/484228"&gt;@JDeAngelis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very simple way is remove query 'hapikey=XXXX',&amp;nbsp;&lt;/P&gt;&lt;P&gt;And add http header 'Authorization: Bearer {private app token}'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about try this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app#update-the-authorization-method-of-your-integration-s-api-requests" target="_blank"&gt;https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app#update-the-authorization-method-of-your-integration-s-api-requests&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 05:56:39 GMT</pubDate>
    <dc:creator>skimura</dc:creator>
    <dc:date>2022-11-30T05:56:39Z</dc:date>
    <item>
      <title>Requesting custom properties with private app integration</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Requesting-custom-properties-with-private-app-integration/m-p/724384#M59143</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; I'm moving from an API key to a private app.&amp;nbsp; When importing data from Hubspot, I typically request a set of custom company properties following the API key. How would I do this with the private app?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;OLD WAY&lt;/U&gt;&lt;/P&gt;&lt;P&gt;get_all_companies_url = "&lt;A href="https://api.hubapi.com/companies/v2/companies/paged" target="_blank" rel="noopener"&gt;https://api.hubapi.com/companies/v2/companies/paged&lt;/A&gt;?"&lt;BR /&gt;addedprops='&amp;amp;properties=producer_code&amp;amp;properties=producer_location_code'&lt;/P&gt;&lt;P&gt;get_url = get_all_companies_url + api key + addedprops&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 22:02:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Requesting-custom-properties-with-private-app-integration/m-p/724384#M59143</guid>
      <dc:creator>JDeAngelis</dc:creator>
      <dc:date>2022-11-29T22:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting custom properties with private app integration</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Requesting-custom-properties-with-private-app-integration/m-p/724504#M59155</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/484228"&gt;@JDeAngelis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very simple way is remove query 'hapikey=XXXX',&amp;nbsp;&lt;/P&gt;&lt;P&gt;And add http header 'Authorization: Bearer {private app token}'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How about try this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app#update-the-authorization-method-of-your-integration-s-api-requests" target="_blank"&gt;https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app#update-the-authorization-method-of-your-integration-s-api-requests&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 05:56:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Requesting-custom-properties-with-private-app-integration/m-p/724504#M59155</guid>
      <dc:creator>skimura</dc:creator>
      <dc:date>2022-11-30T05:56:39Z</dc:date>
    </item>
  </channel>
</rss>

