I have tried both the Search and the read (/crm/v3/objects/calls/{callId}) API calls. I get the call I am looking for Ok but hs_call_callee_object_id is null so I am not able to retrieve the callee. I also tried hs_attachment_ids but it is also always null. Can someone please help - thanks.
Hello @stewart_fischer
You need to specify the properties parameter in your API call to include these properties in the response.
hs_call_callee_object_id and hs_attachment_ids properties are not returned by default by the HubSpot Calls API.
Hi Himanshu - they are in the call and do get returned. They are just both null eventhough the calls definitely have a callee. See below - is there something incorrect in this call?
{
"filterGroups": [
{
"filters": [
{
"propertyName": "hs_lastmodifieddate",
"operator": "GT",
"value": "1670457600000"
}
]
}
],
"sorts": [
{
"propertyName": "lastmodifieddate",
"direction": "DESCENDING"
}
],
"properties": [ "hs_email_subject", "hs_email_to_email", "hs_email_sender_email", "hs_activity_type", "hs_all_accessible_team_ids", "hs_all_assigned_business_unit_ids", "hs_all_owner_ids", "hs_all_team_ids", "hs_at_mentioned_owner_ids", "hs_attachment_ids", "hs_body_preview", "hs_body_preview_html", "hs_body_preview_is_truncated", "hs_call_app_id", "hs_call_authed_url_provider", "hs_call_body", "hs_call_callee_object_id", "hs_call_callee_object_type", "hs_call_deal_stage_during_call", "hs_call_direction", "hs_call_disposition", "hs_call_duration", "hs_call_external_account_id", "hs_call_external_id", "hs_call_from_number", "hs_call_from_number_nickname", "hs_call_has_transcript", "hs_call_has_voicemail", "hs_call_meeting_id", "hs_call_primary_deal", "hs_call_recording_url", "hs_call_source", "hs_call_status", "hs_call_title", "hs_call_to_number", "hs_call_to_number_nickname", "hs_call_transcript_audio_num_channels", "hs_call_transcript_tracked_terms", "hs_call_transcription_id", "hs_call_video_recording_url", "hs_call_zoom_meeting_uuid", "hs_calls_service_call_id", "hs_connected_count", "hs_created_by", "hs_created_by_user_id", "hs_createdate", "hs_engagement_source", "hs_engagement_source_id", "hs_follow_up_action", "hs_gdpr_deleted", "hs_lastmodifieddate", "hs_merged_object_ids", "hs_modified_by", "hs_object_id", "hs_object_source", "hs_object_source_id", "hs_object_source_user_id", "hs_product_name", "hs_queue_membership_ids", "hs_read_only", "hs_timestamp", "hs_unique_creation_key", "hs_unique_id", "hs_unknown_visitor_conversation", "hs_updated_by_user_id", "hs_user_ids_of_all_notification_followers", "hs_user_ids_of_all_notification_unfollowers", "hs_user_ids_of_all_owners", "hs_voicemail_count", "hs_was_imported", "hubspot_owner_assigneddate", "hubspot_owner_id", "hubspot_team_id" ],
"limit": 100,
"after": 300
}
Hi all - anyone else got any insights on this one? Thanks.
@himanshurauthan / anyone?
@himanshurauthan - any thoughts?