Answered

The session_count attribute is missing from the Contact object

  • 8 December 2020
  • 7 replies
  • 62 views

It seems that in v2 when the User and Lead models have been merged into Contacts, the session_count attribute has been removed from the response.

 

The Company object displays the session_count information so I'm wondering if there's a specific reason why the user session_count has been removed or if it's just a slip?

icon

Best answer by Eric Fitz 12 March 2021, 11:38

View original

7 replies

Userlevel 1

Hey @alexandra p​! Let me chat with the team who manages our API to get some more information on this for you 👍

Userlevel 1

Hey @alexandra p​, an update for you here - looks like session count was removed from the contact object in v2 of our API. Working to find out the "why" behind this for you!

Thanks a bunch @eric f11​ ! :)

@eric f11​ Did you get any new info on this? We are working on automating some reports. When exporting the users via the UI we get the session_count attribute in the emailed export.

But there is no way of getting it from the API.

Userlevel 1

Hey @user963​, we don't plan to reintroduce session count to the API export in future, for now. I would suggest that you continue to work off the CSV export for this data.

I figured I’d bump this thread because the last reply is from three years ago.

Is there any plan to add session_count to the Contact API object? I’ll note that it is available on Visitor in the API, but that seems less useful. It’s honestly a little bit surprising, and disappointing, that this field is not available for contacts.

Any update on this? The field is not available, also there’s no way to automate export users CSV to get around this. Could someone shed some light please?

Reply