APIs & Integrations

YTintpulver
Member

Call date of entering in the system vs date of call selected by user

SOLVE

Hi,

 

We currently are using the Calls api to retrieve our calls.  What we've noticed is that we cannot pull the time the user said the call took place.  I'm sure we're missing something obvious but it's not listed in the properties section of the API documentation for calls.

 

Is there a place where all the available properties are listed for the Calls (or any other object)?  I haven't been able to find it, and struggled with locating it previously as well.

 

Thanks,

1 Accepted solution
coldrickjack
Solution
Top Contributor

Call date of entering in the system vs date of call selected by user

SOLVE

Hi @YTintpulver,

 

I'm assuming you are using the Engagments API to pull call data down? What you're looking to do is possible, the data you require is stored in a property known internally as "hs_timestamp".  You can specify the properties to return by using the "properties" query parameter:

 

GET https://api.hubapi.com/crm/v3/objects/calls/{{objectId}}?properties=hs_timestamp

 

Returns:

 

{
    "id": "14210408408",
    "properties": {
        "hs_createdate": "2022-10-12T11:30:15.840Z",
        "hs_lastmodifieddate": "2022-10-12T11:30:16.228Z",
        "hs_object_id": "14210408408",
        "hs_timestamp": "2022-10-12T12:00:00Z"
    },
    "createdAt": "2022-10-12T11:30:15.840Z",
    "updatedAt": "2022-10-12T11:30:16.228Z",
    "archived": false
}

 

The best way to get a full overview of the properties available to you is to use the CRM Properties API to pull the properties on the call object. To save you time I've included all of the properties as an attachment. Of course you're free to do it yourself for other objects! 😊

View solution in original post

0 Upvotes
2 Replies 2
YTintpulver
Member

Call date of entering in the system vs date of call selected by user

SOLVE

Thank you!  That is exactly what I was looking for.

 

0 Upvotes
coldrickjack
Solution
Top Contributor

Call date of entering in the system vs date of call selected by user

SOLVE

Hi @YTintpulver,

 

I'm assuming you are using the Engagments API to pull call data down? What you're looking to do is possible, the data you require is stored in a property known internally as "hs_timestamp".  You can specify the properties to return by using the "properties" query parameter:

 

GET https://api.hubapi.com/crm/v3/objects/calls/{{objectId}}?properties=hs_timestamp

 

Returns:

 

{
    "id": "14210408408",
    "properties": {
        "hs_createdate": "2022-10-12T11:30:15.840Z",
        "hs_lastmodifieddate": "2022-10-12T11:30:16.228Z",
        "hs_object_id": "14210408408",
        "hs_timestamp": "2022-10-12T12:00:00Z"
    },
    "createdAt": "2022-10-12T11:30:15.840Z",
    "updatedAt": "2022-10-12T11:30:16.228Z",
    "archived": false
}

 

The best way to get a full overview of the properties available to you is to use the CRM Properties API to pull the properties on the call object. To save you time I've included all of the properties as an attachment. Of course you're free to do it yourself for other objects! 😊

0 Upvotes