Skip to main content
Solved

fetch recent activity throught API

  • May 31, 2023
  • 1 reply
  • 65 views

Hi There!
is there a way to fetch person’s recent activity, that i can see in UI, throught API ?

 

Best answer by aaron

Hi there eldar99 👋 My name is Aaron and I’d be happy to assist on this question.

Our App API does indeed make this activity data available. You can access it by passing a specific customer’s identifier to this endpoint here: https://customer.io/docs/api/app/#operation/getPersonActivities. By default, this will return the 10 most recent activities for a given customer, however you can both increase that limit by specifying it, as well as paginate for additional data. This endpoint can also be filtered for specific activities such as events or attribute changes.

I hope that this helps to provide clarity for you, eldar99! If you do have any further questions, please don’t hesitate to let us know. Cheers!

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

1 reply

aaron
  • 37 replies
  • Answer
  • May 31, 2023

Hi there eldar99 👋 My name is Aaron and I’d be happy to assist on this question.

Our App API does indeed make this activity data available. You can access it by passing a specific customer’s identifier to this endpoint here: https://customer.io/docs/api/app/#operation/getPersonActivities. By default, this will return the 10 most recent activities for a given customer, however you can both increase that limit by specifying it, as well as paginate for additional data. This endpoint can also be filtered for specific activities such as events or attribute changes.

I hope that this helps to provide clarity for you, eldar99! If you do have any further questions, please don’t hesitate to let us know. Cheers!


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