Create a Meeting Task

Hello,

i’m usign this API fro create a new MEETING TASK for a contact

https://legacydocs.hubspot.com/docs/methods/engagements/create_engagement

Trought the interface you can also set the meeting type

but i don’t find any reference to this field in the metadata documentation

“metadata”: {
“body”: “This is the description.”,
“startTime”: 1456858800000,
“endTime”: 1456862400000,
“title”: “Event title”,
“internalMeetingNotes” : “This is the team note”
}

Which is the name for use it in the API call?

From my POV not being able to use all the options available in the UI make the use of the API calls are practically useless.

Many thanks

Enrico

seems tha you can use the activityType field in the engagement section.

but now is there a way to set the Outcome field?

i’ve tried with the “meetingOutcome”:“COMPLETED” or with the status property in the medatatda but doesn’t work.

{
“engagement”: {
“active”: true,
“type”: “MEETING”,
“activityType”: “Test”,
“meetingOutcome”:“COMPLETED”
},
“associations”: {
“contactIds”: [1],
“companyIds”: [ ],
“dealIds”: [ ],
“ownerIds”: [ ],
“ticketIds”:[ ]
},
“metadata”: {
“body”: “Test meeting”,
“startTime”: 1635807600000,
“endTime”: 1635894000000,
“title”: “Test Meeting event”,
“internalMeetingNotes” : “This is the team note”,
“status”: “COMPLETED”
}
}

Thank enrico

Hi,

Using “meetingOutcome: ‘SCHEDULED’”. inside “metadata” worked for me.

Thanks @ADyachuk for your help and confirmation

The complete right use for anyone need is

{
“engagement”: {
“active”: true,
“type”: “MEETING”,
“activityType”: “Test”
},
“associations”: {
“contactIds”: [11111],
“companyIds”: [ ],
“dealIds”: [ ],
“ownerIds”: [ ],
“ticketIds”:[ ]
},
“metadata”: {
“body”: “Incontro in Simes completed 3”,
“startTime”: 1635807600000,
“endTime”: 1635894000000,
“title”: “Test Meeting event”,
“internalMeetingNotes” : “This is the team note”,
“meetingOutcome”:“COMPLETED”

}
}