<?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: Unknown fields in Engagements API response in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297957#M27984</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;. Is there any guarantee that the modifiedBy and createdBy will be on all records I request? If there is, it's all good. I'd like to know, also, if the modifiedBy and createdBy returns a number that refers to an OwnerId, so I could map it directly by using the get owners endpoint. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 21:34:40 GMT</pubDate>
    <dc:creator>caiorochap</dc:creator>
    <dc:date>2019-10-21T21:34:40Z</dc:date>
    <item>
      <title>Unknown fields in Engagements API response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297544#M27943</link>
      <description>&lt;P&gt;Hi, I've been trying to extract some data from the Engagements API and found some fields not mapped in the output preview described on the Overview section. Here's a sample of those fields:&lt;/P&gt;&lt;PRE&gt;['id', 'portalId', 'active', 'createdAt', 'lastUpdated', 'createdBy', 'modifiedBy', 'type', 'uid', 'timestamp', 'source', 'allAccessibleTeamIds', 'bodyPreview', 'queueMembershipIds']&lt;/PRE&gt;&lt;P&gt;The output preview shows a lot of these fields. However, there's no explanation to what is the number returned on the field createdBy, modifiedBy and uid, for instance. I'd like to know what those mean, and if there is a possibility to map these into the ownerId.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 15:31:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297544#M27943</guid>
      <dc:creator>caiorochap</dc:creator>
      <dc:date>2019-10-18T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown fields in Engagements API response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297691#M27960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103377"&gt;@caiorochap&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope all is well with you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When looking to map the task owner to the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/owners/get_owners" target="_blank"&gt;Get Owners | Owners API&lt;/A&gt;&amp;nbsp;endpoint, you can look at the ownerId field. Both the createdBy and modifiedBy field are referring to the user id. Currently, there isn't a public endpoint to pull user information using user id - you will&lt;SPAN&gt;&amp;nbsp;have to go through the&lt;A href="https://developers.hubspot.com/docs/methods/owners/get_owners" target="_blank"&gt;Get Owners | Owners API&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;endpoint and search for the user ID.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps to clarify things!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 06:12:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297691#M27960</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2019-10-21T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown fields in Engagements API response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297957#M27984</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;. Is there any guarantee that the modifiedBy and createdBy will be on all records I request? If there is, it's all good. I'd like to know, also, if the modifiedBy and createdBy returns a number that refers to an OwnerId, so I could map it directly by using the get owners endpoint. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 21:34:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297957#M27984</guid>
      <dc:creator>caiorochap</dc:creator>
      <dc:date>2019-10-21T21:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown fields in Engagements API response</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297987#M27988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103377"&gt;@caiorochap&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The createdBy, modifiedBy and ownerId will be on all records.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned on my previous reply, bot modifiedBy and createdBy is referring to the userId and currently there isn't a public endpoint to retrieve meta information from the userId. Hence, I'd recommend you to look at the ownerId field, grab that value and use this endpoint&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/owners/get_an_owner" target="_blank"&gt;Get an Owner | Owners API&lt;/A&gt;&amp;nbsp;to retrieve the owner information.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 01:42:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unknown-fields-in-Engagements-API-response/m-p/297987#M27988</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2019-10-22T01:42:43Z</dc:date>
    </item>
  </channel>
</rss>

