<?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 Search Endpoint for marketing_event and invoices objects in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Endpoint-for-marketing-event-and-invoices-objects/m-p/747412#M60765</link>
    <description>&lt;P&gt;While using v3 search and properties endpoints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/crm/v3/objects/{objectType}/search &amp;amp; /crm/v3/properties/{objectType}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wasnt able to collect the desired information for two objects using custom app credentials.&lt;BR /&gt;&lt;BR /&gt;Invoices:&lt;BR /&gt;On the invoices object isn't even possible to get the properties on the v3/properties endpoint, getting back the error:&lt;/P&gt;&lt;LI-SPOILER&gt;The scope needed for this API call isn't available for public use.&lt;/LI-SPOILER&gt;&lt;P&gt;Marketing_event:&lt;/P&gt;&lt;P&gt;On the marketing_event im able to get the properties list, but cant use the search endpoint on&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; https://api.hubapi.com/crm/v3/objects/marketing_event/search&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting back a "not supported error"&lt;/P&gt;&lt;LI-SPOILER&gt;Object type MARKETING_EVENT is not supported by this endpoint&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Is there a alternative way to collecting data that would be available throught these endpoints on the v3 (or any previous working versions) of the API for these specific objects or any known plans to add then to these endpoints?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 14:52:21 GMT</pubDate>
    <dc:creator>RRosarioArq</dc:creator>
    <dc:date>2023-01-26T14:52:21Z</dc:date>
    <item>
      <title>Search Endpoint for marketing_event and invoices objects</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Endpoint-for-marketing-event-and-invoices-objects/m-p/747412#M60765</link>
      <description>&lt;P&gt;While using v3 search and properties endpoints&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/crm/v3/objects/{objectType}/search &amp;amp; /crm/v3/properties/{objectType}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i wasnt able to collect the desired information for two objects using custom app credentials.&lt;BR /&gt;&lt;BR /&gt;Invoices:&lt;BR /&gt;On the invoices object isn't even possible to get the properties on the v3/properties endpoint, getting back the error:&lt;/P&gt;&lt;LI-SPOILER&gt;The scope needed for this API call isn't available for public use.&lt;/LI-SPOILER&gt;&lt;P&gt;Marketing_event:&lt;/P&gt;&lt;P&gt;On the marketing_event im able to get the properties list, but cant use the search endpoint on&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; https://api.hubapi.com/crm/v3/objects/marketing_event/search&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting back a "not supported error"&lt;/P&gt;&lt;LI-SPOILER&gt;Object type MARKETING_EVENT is not supported by this endpoint&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Is there a alternative way to collecting data that would be available throught these endpoints on the v3 (or any previous working versions) of the API for these specific objects or any known plans to add then to these endpoints?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 14:52:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-Endpoint-for-marketing-event-and-invoices-objects/m-p/747412#M60765</guid>
      <dc:creator>RRosarioArq</dc:creator>
      <dc:date>2023-01-26T14:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search Endpoint for marketing_event and invoices objects</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Search-Endpoint-for-marketing-event-and-invoices-objects/m-p/747611#M60772</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/511073"&gt;@RRosarioArq&lt;/a&gt;, for the marketing event you should use the endpoints &lt;A href="https://developers.hubspot.com/docs/api/marketing/marketing-events" target="_blank" rel="noopener"&gt;specified in the api overview.&lt;/A&gt;&lt;BR /&gt;The available endpoints are:&lt;BR /&gt;[GET] /marketing/v3/marketing-events/events/search&lt;BR /&gt;That accepts a "q" parameter to pass a value for the external event id&lt;BR /&gt;and&lt;BR /&gt;[GET] /marketing/v3/marketing-events/events/{externalEventId}&lt;BR /&gt;That takes in the event external id.&lt;BR /&gt;&lt;BR /&gt;Hope this helps with the&amp;nbsp; marketing events, for the crm search you are getting the scopes error, which means that your private app should be modified to have the requested scopes. For the search crm scopes are not fixed, but instead it&amp;nbsp; depends on the object you are trying to retrieve, so for the tickets you need the "tickets" scope, etc. Take a look at this list of scopes to get you started:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/working-with-oauth#scopes" target="_blank"&gt;https://developers.hubspot.com/docs/api/working-with-oauth#scopes&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;If my answer was helpful please mark it as a solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 18:28:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Search-Endpoint-for-marketing-event-and-invoices-objects/m-p/747611#M60772</guid>
      <dc:creator>miljkovicmisa</dc:creator>
      <dc:date>2023-01-26T18:28:53Z</dc:date>
    </item>
  </channel>
</rss>

