The new whatsapp, linkedin, and SMS communications are a good addition, however I’m not seeing an option to add an “owner” of the communication. These owners are important for us in measuring activity levels for our reps with emails, phone calls, tasks, etc. Is there a way to add owners that I’m not seeing in the documentation?
Hey, @kcraft
Great call out on this. I ran through the other Associations endpoints — Notes and Calls for example, and Communications set seems to be the only ones with a way to add “hubspot_owner_id” in the documentation. I thought I’d be cheeky and try to add it to an SMS engagement from these endpoints.
Here’s my test:
-
Request
curl --request POST \ --url https://api.hubapi.com/crm/v3/objects/communications \ --header 'authorization: Bearer YOUR_ACCESS_TOKEN' \ --header 'content-type: application/json' \ --data '{ "properties": { "hs_communication_channel_type": "SMS", "hs_communication_logged_from": "CRM", "hs_communication_body": "Spoke with decision maker John", "hs_timestamp": "1679020964", "hubspot_owner_id": "198670650" }, "associations": [ { "to": { "id": "901" }, "types": [ { "associationCategory": "HUBSPOT_DEFINED", "associationTypeId": 81 } ] } ] }' -
Response
HTTP 201 { "id": "32629281638", "properties": { "hs_all_accessible_team_ids": "12073943", "hs_all_owner_ids": "198670650", "hs_all_team_ids": "12073943", "hs_body_preview": "Spoke with decision maker John", "hs_body_preview_html": "<html>\n <head></head>\n <body>\n Spoke with decision maker John\n </body>\n</html>", "hs_body_preview_is_truncated": "false", "hs_communication_body": "Spoke with decision maker John", "hs_communication_channel_type": "SMS", "hs_communication_logged_from": "CRM", "hs_createdate": "2023-03-17T20:49:01.752Z", "hs_lastmodifieddate": "2023-03-17T20:49:01.752Z", "hs_object_id": "32629281638", "hs_timestamp": "1970-01-20T10:23:40.964Z", "hs_user_ids_of_all_owners": "10233975", "hubspot_owner_assigneddate": "2023-03-17T20:49:01.752Z", "hubspot_owner_id": "198670650", "hubspot_team_id": "12073943" }, "createdAt": "2023-03-17T20:49:01.752Z", "updatedAt": "2023-03-17T20:49:01.752Z", "archived": false } -
Another call to verify the owner ID is returned, along with the other properties:
Request
GET /crm/v3/objects/communications/{communicationId}curl --request GET \ --url 'https://api.hubapi.com/crm/v3/objects/communications/32629281638?properties=hubspot_owner_id&archived=false' \ --header 'authorization: Bearer YOUR_ACCESS_TOKEN'Response
HTTP 200 { "id": "32629281638", "properties": { "hs_createdate": "2023-03-17T20:49:01.752Z", "hs_lastmodifieddate": "2023-03-17T20:49:01.752Z", "hs_object_id": "32629281638", "hubspot_owner_id": "198670650" }, "createdAt": "2023-03-17T20:49:01.752Z", "updatedAt": "2023-03-17T20:49:01.752Z", "archived": false }
Outside of this, I do not see anything documented about adding this property to your requests. I am going to reach out to my internal resources and see if we can get any additional details.
Best,
Jaycee
@kcraft in the contact timeline, you can see who logged the item:
and in your Productivity report you can add LinkedIn message which can be filtered by owners.
Have you already tried building a report - if so, what steps have you taken?
