Skip to main content
Answered

The session_count attribute is missing from the Contact object


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?

Best answer by Eric Fitz

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.

View original
Did this topic help you find an answer to your question?

7 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • December 8, 2020

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


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • December 10, 2020

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!


  • Author
  • Active User
  • 10 replies
  • December 10, 2020

Thanks a bunch @eric f11​ ! :)


  • New Participant
  • 1 reply
  • March 11, 2021

@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.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • March 12, 2021

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.


  • New Participant
  • 1 reply
  • June 20, 2024

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?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings