Call API: hs_call_callee_object_type_id error

When creating a call, I am trying to set hs_call_callee_object_id, hs_call_callee_object_type_id parameters. hs_call_callee_object_id is as Contact ID since it is a contact that is receiving the call and needs to be listed as a call participant. How should I set hs_call_callee_object_type_id parameter to succeed? Thank you.

I was able to associate the call with the contact by “Associate a call with another object” endpoint. The call is on the contact’s timeline, but not listed as a partcipant in the call details.

@bbatzorig ,

What json body are you sending when you create the call?

In your properties, you would set it like this:

{
 "properties": {
 "hs_call_callee_object_type": "CONTACT"
 }
}

That fixes my issue. Thank you.

I was setting hs_call_callee_object_type_id parameter.