<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Call API: hs_call_callee_object_type_id does not exists in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994271#M74406</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;When I create a call through the API by adding the parameter hs_call_callee_object_type_id=CONTACT in order to associate the call with a contact, I get an error and cannot create the call.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Example of API call: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;curl --request POST --url &lt;A href="https://api.hubapi.com/crm/v3/objects/calls" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/calls&lt;/A&gt; --header 'authorization: Bearer MY_TOKEN ' --header 'content-type: application/json' --data ' {"properties": {"hs_timestamp": "1718755200000", "hs_call_body": "Incoming call", "hs_call_callee_object_type_id":"CONTACT", "hs_call_callee_object_id":"317112", "hs_call_direction": "INBOUND", "hs_call_disposition" : "f240bbac-87c9-4f6e-bf70-924b57d47db7", "hs_call_duration": "7000", "hs_call_from_number": "751000342", "hs_call_status": "COMPLETED", "hs_call_title": "Incoming call", "hs_call_source": "INTEGRATIONS_PLATFORM", "hs_call_to_number": "851040942", "hubspot_owner_id": "47892150"}}' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Result: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;{"status":"error","message":"Property values ​​were not valid: [{\"isValid\":false,\"message\":\"Property \\\"hs_call_callee_object_type_id\\\" does not exists\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"hs_call_callee_object_type_id\",\"localizedErrorMessage\":\"The property \\\"hs_call_callee_object_type_id\\\" does not exist\ ",\"portalId\":6109494}]","correlationId":"2e3162f3-a8fc-46a5-a1c6-4346a8bb4fa5","category":"VALIDATION_ERROR"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 08:56:09 GMT</pubDate>
    <dc:creator>antoniolao</dc:creator>
    <dc:date>2024-06-19T08:56:09Z</dc:date>
    <item>
      <title>Call API: hs_call_callee_object_type_id does not exists</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994271#M74406</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;When I create a call through the API by adding the parameter hs_call_callee_object_type_id=CONTACT in order to associate the call with a contact, I get an error and cannot create the call.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Example of API call: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;curl --request POST --url &lt;A href="https://api.hubapi.com/crm/v3/objects/calls" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/calls&lt;/A&gt; --header 'authorization: Bearer MY_TOKEN ' --header 'content-type: application/json' --data ' {"properties": {"hs_timestamp": "1718755200000", "hs_call_body": "Incoming call", "hs_call_callee_object_type_id":"CONTACT", "hs_call_callee_object_id":"317112", "hs_call_direction": "INBOUND", "hs_call_disposition" : "f240bbac-87c9-4f6e-bf70-924b57d47db7", "hs_call_duration": "7000", "hs_call_from_number": "751000342", "hs_call_status": "COMPLETED", "hs_call_title": "Incoming call", "hs_call_source": "INTEGRATIONS_PLATFORM", "hs_call_to_number": "851040942", "hubspot_owner_id": "47892150"}}' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Result: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;{"status":"error","message":"Property values ​​were not valid: [{\"isValid\":false,\"message\":\"Property \\\"hs_call_callee_object_type_id\\\" does not exists\",\"error\":\"PROPERTY_DOESNT_EXIST\",\"name\":\"hs_call_callee_object_type_id\",\"localizedErrorMessage\":\"The property \\\"hs_call_callee_object_type_id\\\" does not exist\ ",\"portalId\":6109494}]","correlationId":"2e3162f3-a8fc-46a5-a1c6-4346a8bb4fa5","category":"VALIDATION_ERROR"}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 08:56:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994271#M74406</guid>
      <dc:creator>antoniolao</dc:creator>
      <dc:date>2024-06-19T08:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Call API: hs_call_callee_object_type_id does not exists</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994314#M74409</link>
      <description>&lt;P&gt;Hi antoniolao,&lt;BR /&gt;&lt;BR /&gt;The curl request below works for me, make sure instead of using "&lt;SPAN&gt;hs_call_callee_object_type_id" use this "&lt;/SPAN&gt;&lt;SPAN&gt;hs_call_callee_object_type" and second thing to ensure the the contact id you are passing in the request must be exists.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl --location &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://api.hubapi.com/crm/v3/objects/calls" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/calls&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--header &lt;/SPAN&gt;&lt;SPAN&gt;'authorization: Bearer pat********************9'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--header &lt;/SPAN&gt;&lt;SPAN&gt;'content-type: application/json'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt; &lt;SPAN&gt;'{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"properties"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_timestamp"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"1718755200000"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_body"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Incoming call"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_callee_object_type"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"CONTACT"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_callee_object_id"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;25431089318&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_direction"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"INBOUND"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_disposition"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"f240bbac-87c9-4f6e-bf70-924b57d47db7"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_duration"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"7000"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_from_number"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"751000342"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_status"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"COMPLETED"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_title"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Incoming call"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_source"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"INTEGRATIONS_PLATFORM"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"hs_call_to_number"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"851040942"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 09:55:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994314#M74409</guid>
      <dc:creator>AliFawadHassan</dc:creator>
      <dc:date>2024-06-19T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Call API: hs_call_callee_object_type_id does not exists</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994433#M74417</link>
      <description>&lt;P&gt;Now it no longer returns an error, but the call is not assigned to the contact&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 13:13:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994433#M74417</guid>
      <dc:creator>antoniolao</dc:creator>
      <dc:date>2024-06-19T13:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Call API: hs_call_callee_object_type_id does not exists</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994470#M74418</link>
      <description>&lt;P&gt;set this parameter "&lt;SPAN&gt;hubspot_owner_id" with existing owner id, I hope it will work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 14:15:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994470#M74418</guid>
      <dc:creator>AliFawadHassan</dc:creator>
      <dc:date>2024-06-19T14:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Call API: hs_call_callee_object_type_id does not exists</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994529#M74432</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;That is not the solution, this is assigned to the owner but not to the contact. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In the end I solved it this way: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;1º I create the call as indicated above &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;2º I assign the call to the contact as follows: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;curl --request PUT --url &lt;A href="https://api.hubapi.com/crm/v3/objects/calls/{callId}/associations/contacts/{contactId}/call_to_contact" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/calls/{callId}/associations/contacts/{contactId}/call_to_contact&lt;/A&gt; --header 'authorization: Bearer MY_TOKEN' -- header 'content-type: application/json'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 15:41:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Call-API-hs-call-callee-object-type-id-does-not-exists/m-p/994529#M74432</guid>
      <dc:creator>antoniolao</dc:creator>
      <dc:date>2024-06-19T15:41:16Z</dc:date>
    </item>
  </channel>
</rss>

