max42
1
Hello !
I’m trying to create my engagement (meeting right ?) but the endpoint is not working properly and I need your help.
So here i’m creating the meeting (engagement)
POST : /crm/v3/objects/meetings
Body request :
{
“hs_timestamp”: “2022-11-01T03:30:17.883Z”,
“hubspot_owner_id”: “210089505”,
“hs_meeting_title”: “Intro meeting”,
“hs_meeting_body”: “The first meeting to discuss options”,
“hs_internal_meeting_notes”: “These are the meeting notes”,
“hs_meeting_external_url”: “https://Zoom.com/0000”,
“hs_meeting_location”: “Remote”,
“hs_meeting_start_time”: “2022-11-01T01:02:44.872Z”,
“hs_meeting_end_time”: “2022-11-01T01:52:44.872Z”,
“hs_meeting_outcome”: “SCHEDULED”
}
but it doesn’t work and I get this problem :
Hi @max42,
I think you are missing the properties object as with all HS api calls (Accounts Dashboard | HubSpot
In the request body, add meeting details in a properties object, which can contain the following fields.
Thus you can format your json request as such:
{
"properties": {
"hs_timestamp": "2022-11-01T03:30:17.883Z",
"hubspot_owner_id": "210089505",
"hs_meeting_title": "Intro meeting",
"hs_meeting_body": "The first meeting to discuss options",
"hs_internal_meeting_notes": "These are the meeting notes",
"hs_meeting_external_url": "https://Zoom.com/0000",
"hs_meeting_location": "Remote",
"hs_meeting_start_time": "2022-11-01T01:02:44.872Z",
"hs_meeting_end_time": "2022-11-01T01:52:44.872Z",
"hs_meeting_outcome": "SCHEDULED"
}
}
Let me know if that works for you.
Cheers
WL
max42
3
Thank you LeeWeiliang !
Now I have a little problem for the PUT request of meeting
PUT /crm/v4/objects/meetings/{meetingId}/associations/{toObjectType}/{toObjectId}
Any idea ? ^^
And another question, when the POST request of meeting is a success, I have this answer :
Where am I supposed to see the new meeting I have created on Hubspot ?
Thank you ! 