We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Oct 7, 2022 3:12 AM
Hi all.
I'm having a little trouble returning all the properties I would expect from the following request:
const response = await hubspotClient.apiRequest({
method: 'get',
path: '/crm/v3/objects/meetings/14147138234',
})
According to https://developers.hubspot.com/docs/api/crm/meetings I should be able to see properties such as 'hs_meeting_body' but it doesn't show in the response. I just get:
{"id":"14147138234","properties":{"hs_createdate":"2022-10-06T07:25:39.725Z","hs_lastmodifieddate":"2022-10-06T07:25:39.993Z","hs_object_id":"14147138234"},"createdAt":"2022-10-06T07:25:39.725Z","updatedAt":"2022-10-06T07:25:39.993Z","archived":false}
What am I doing wrong?
Many thanks in advance.
Solved! Go to Solution.
Oct 10, 2022 8:56 AM
Hi @James_Swallow,
Thanks for reaching out!
It's of my understanding that a comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
Can you verify if the meeting engagement in question has a meeting description (hs_meeting_body)?
Thank you!
Best,
Kristen
![]() | Did you know that the Community is available in other languages? Join regional conversations by changing your language settings ! |
Oct 12, 2022 3:28 AM
Thanks Kristen. You're right. In the end, the approach below worked, in which object type of "MEETING" is declared, followed by the meetingID, followed by whatever property (ies) are required:
const ApiResponse = await hubspotClient.crm.objects.basicApi.getById("MEETING",found_meeting_id,["hs_meeting_title"]);
Thanks for the help.
Oct 13, 2022 3:24 AM
Hi @James_Swallow,
You're very welcome!
Thank you for sharing your approach on how you solved this 🙂
Have a great day,
Kristen
![]() | Did you know that the Community is available in other languages? Join regional conversations by changing your language settings ! |
Oct 10, 2022 8:56 AM
Hi @James_Swallow,
Thanks for reaching out!
It's of my understanding that a comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
Can you verify if the meeting engagement in question has a meeting description (hs_meeting_body)?
Thank you!
Best,
Kristen
![]() | Did you know that the Community is available in other languages? Join regional conversations by changing your language settings ! |