<?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: Getting more info for activities from the API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979305#M73752</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/764582"&gt;@Jarro&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community. These endpoints mostly all behave the same way. Meaning, you'll need to specify the properties you want returned. Or you'll only get back a small subset of default properties.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll need to make a request to the &lt;A href="https://developers.hubspot.com/docs/api/crm/properties" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Properties API&lt;/STRONG&gt;&lt;/A&gt; to get a list of all the properties. Then you can include them in your request param or in the request body, depending on the endpoint you use. Just make sure you use the &lt;STRONG&gt;internal value&lt;/STRONG&gt; (`name` in the API response from the Properties API) and not the label.&lt;/P&gt;
&lt;P&gt;Example — “hs_created_by” (correct) versus “Created by:”&amp;nbsp;(incorrect).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Request to the Properties API:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/properties/notes?archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Request to the Notes API (including an additional property —&amp;nbsp;“hs_created_by”):&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/notes/32628797339?properties=hs_created_by&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;Response:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;HTTP 200

{
  "id": "32628797339",
  "properties": {
    "hs_created_by": "10233975",
    "hs_createdate": "2023-03-17T20:33:25.196Z",
    "hs_lastmodifieddate": "2023-03-17T20:33:25.196Z",
    "hs_object_id": "32628797339"
  },
  "createdAt": "2023-03-17T20:33:25.196Z",
  "updatedAt": "2023-03-17T20:33:25.196Z",
  "archived": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps get you moving forward! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 21:17:12 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2024-05-20T21:17:12Z</dc:date>
    <item>
      <title>Getting more info for activities from the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979162#M73747</link>
      <description>&lt;P&gt;Hi everyone. I'm very new to Hubspot and I'm working on an integration and just had some questions about the API responses for some endpoints. On my test account I created a sample task, logged a call and logged a meeting with a sample contact of mine. When I query the API for these activties, they get returned but with only basic properties: create date, last modified and id. I would also like to see the other fields that you typically see on the front end on Hubspot such as the outcome of my calls and meetings, whether a task is completed yet or not etc. Is there a way to make the responses of these endpoints more verbose, or maybe can I get the missing properties from another endpoint? Any assistance would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 15:49:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979162#M73747</guid>
      <dc:creator>Jarro</dc:creator>
      <dc:date>2024-05-20T15:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting more info for activities from the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979305#M73752</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/764582"&gt;@Jarro&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community. These endpoints mostly all behave the same way. Meaning, you'll need to specify the properties you want returned. Or you'll only get back a small subset of default properties.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll need to make a request to the &lt;A href="https://developers.hubspot.com/docs/api/crm/properties" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Properties API&lt;/STRONG&gt;&lt;/A&gt; to get a list of all the properties. Then you can include them in your request param or in the request body, depending on the endpoint you use. Just make sure you use the &lt;STRONG&gt;internal value&lt;/STRONG&gt; (`name` in the API response from the Properties API) and not the label.&lt;/P&gt;
&lt;P&gt;Example — “hs_created_by” (correct) versus “Created by:”&amp;nbsp;(incorrect).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Request to the Properties API:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/properties/notes?archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example Request to the Notes API (including an additional property —&amp;nbsp;“hs_created_by”):&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --request GET \
  --url 'https://api.hubapi.com/crm/v3/objects/notes/32628797339?properties=hs_created_by&amp;amp;archived=false' \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN'&lt;/LI-CODE&gt;
&lt;P&gt;Response:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;HTTP 200

{
  "id": "32628797339",
  "properties": {
    "hs_created_by": "10233975",
    "hs_createdate": "2023-03-17T20:33:25.196Z",
    "hs_lastmodifieddate": "2023-03-17T20:33:25.196Z",
    "hs_object_id": "32628797339"
  },
  "createdAt": "2023-03-17T20:33:25.196Z",
  "updatedAt": "2023-03-17T20:33:25.196Z",
  "archived": false
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps get you moving forward! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 21:17:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979305#M73752</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-05-20T21:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting more info for activities from the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979591#M73761</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;Thanks for the quick reply, this answers my question perfectly. I managed to see all available properties for my calls so I just need to cover the rest of my activities.&lt;BR /&gt;&lt;BR /&gt;Appreciate the assistance, have a great day &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;BR /&gt;- Jarro&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 10:07:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-more-info-for-activities-from-the-API/m-p/979591#M73761</guid>
      <dc:creator>Jarro</dc:creator>
      <dc:date>2024-05-21T10:07:38Z</dc:date>
    </item>
  </channel>
</rss>

