APIs & Integrations

PWickham
Participant

Direction of a call

Hi,

 

Using the engagements API it is impossible to tell which number is the customer's and which number belongs to a Hubspot user.

 

This makes it impossible to answer table-stakes questions such as "who did rep X call in the last 5 days".

 

Please inform the best way to answer the above question. Any API works.

 

Patrick

0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

Direction of a call

Hey, @PWickham 👋  

 

Great question. I'm happy to help 😊

 

To help get us started may I have the following, please?

  • are you using the v1 or v3 Engagements API? 
  • specifically which request are you making? For example
GET /crm/v3/objects/calls

Both v1 and v3 show to return 

"hs_call_from_number":
"hs_call_to_number":

Endpoints:

Having a bit more detail on specifically what you've tried can help us find a solution.

 

Thank you for the additional information.

 

Best,
Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
PWickham
Participant

Direction of a call

Hi Jaycee,

I am trying to figure out the call direction, to determine which number is the customer's and which number belongs to a Hubspot user.

It is impossible to tell this based off of just TO and FROM without the direction (did the customer call us, or did we call the customer)?

The v3 link you shared contains a direction property which would work, but these APIs are apparently still in beta so I probably shouldn't use them.

 

Thanks for the help.

0 Upvotes