# Call API: hs\_call\_callee\_object\_type\_id error

**URL:** <https://community.hubspot.com/t/call-api-hs-call-callee-object-type-id-error/61103>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [July 17, 2022, 8:31am UTC](https://community.hubspot.com/t/call-api-hs-call-callee-object-type-id-error/61103 "2022-07-17T08:31:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbatzorig](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bbatzorig/32/67086_2.png) [@bbatzorig](https://community.hubspot.com/u/bbatzorig)\
**Post date:** [July 17, 2022, 8:31am UTC](https://community.hubspot.com/t/call-api-hs-call-callee-object-type-id-error/61103/1 "2022-07-17T08:31:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [July 18, 2022, 3:23pm UTC](https://community.hubspot.com/t/call-api-hs-call-callee-object-type-id-error/61103/2 "2022-07-18T15:23:44Z")

</div>

@bbatzorig ,

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

In your properties, you would set it like this:

```lia-code-sample
{
 "properties": {
 "hs_call_callee_object_type": "CONTACT"
 }
}

```

---

<div class="post-metadata">

**Author:** ![bbatzorig](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bbatzorig/32/67086_2.png) [@bbatzorig](https://community.hubspot.com/u/bbatzorig)\
**Post date:** [July 19, 2022, 8:33am UTC](https://community.hubspot.com/t/call-api-hs-call-callee-object-type-id-error/61103/3 "2022-07-19T08:33:01Z")

</div>

That fixes my issue. Thank you.

I was setting hs\_call\_callee\_object\_type\_id parameter.
