<?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 APIs and Endpoints in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/APIs-and-Endpoints/m-p/772646#M62493</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to export some log data from Hubspot and I need to understand a little bit more about API and Endpoints, I'm sending below some questions below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Where in the documentation do I find all the parameters that can be used within properties in the API calls of all endpoints?&lt;/LI&gt;&lt;LI&gt;When an action (note, email, message) is not associated with a business, can I retrieve in the API the relation of the data?&lt;/LI&gt;&lt;LI&gt;When endpoint can I consume to have all the history of the business that is registered in Hubspot? Business data and all the messages that were linked to it?&lt;/LI&gt;&lt;LI&gt;What is the Entity-Relationship Model or Entity-Relationship Diagram of the data that is retrieved by the endpoints?&lt;/LI&gt;&lt;LI&gt;The most current python lib for consuming the endpoint data is hubspot-api-client 7.5.0?&lt;/LI&gt;&lt;LI&gt;What is the consumption limit of the endpoints? The question is because we want to extract all data from the start of the operation.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Igor Chaida&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2023 20:51:42 GMT</pubDate>
    <dc:creator>igorchaida</dc:creator>
    <dc:date>2023-03-22T20:51:42Z</dc:date>
    <item>
      <title>APIs and Endpoints</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/APIs-and-Endpoints/m-p/772646#M62493</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to export some log data from Hubspot and I need to understand a little bit more about API and Endpoints, I'm sending below some questions below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Where in the documentation do I find all the parameters that can be used within properties in the API calls of all endpoints?&lt;/LI&gt;&lt;LI&gt;When an action (note, email, message) is not associated with a business, can I retrieve in the API the relation of the data?&lt;/LI&gt;&lt;LI&gt;When endpoint can I consume to have all the history of the business that is registered in Hubspot? Business data and all the messages that were linked to it?&lt;/LI&gt;&lt;LI&gt;What is the Entity-Relationship Model or Entity-Relationship Diagram of the data that is retrieved by the endpoints?&lt;/LI&gt;&lt;LI&gt;The most current python lib for consuming the endpoint data is hubspot-api-client 7.5.0?&lt;/LI&gt;&lt;LI&gt;What is the consumption limit of the endpoints? The question is because we want to extract all data from the start of the operation.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Igor Chaida&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 20:51:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/APIs-and-Endpoints/m-p/772646#M62493</guid>
      <dc:creator>igorchaida</dc:creator>
      <dc:date>2023-03-22T20:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: APIs and Endpoints</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/APIs-and-Endpoints/m-p/775385#M62666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;igorchaid,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Did you see the documentation at:&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/overview" target="_blank" rel="noopener"&gt;https://legacydocs.hubspot.com/docs/overview&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example in python:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import requests

# Replace with your HubSpot access token
access_token = 'your_access_token'

# Set up the headers with Bearer authentication
headers = {
    'Authorization': f'Bearer {access_token}',
    'Content-Type': 'application/json',
}

# Replace the following URL with the HubSpot API endpoint you want to call
url = 'https://api.hubapi.com/crm/v3/objects/contacts'

# Make a GET request to the HubSpot API
response = requests.get(url, headers=headers)

# Check if the request was successful
if response.status_code == 200:
    # Parse the JSON response
    data = response.json()

    # Print the retrieved data
    print(data)
else:
    print(f'Request failed with status code {response.status_code}')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 08:28:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/APIs-and-Endpoints/m-p/775385#M62666</guid>
      <dc:creator>TDwebdev</dc:creator>
      <dc:date>2023-03-29T08:28:18Z</dc:date>
    </item>
  </channel>
</rss>

