Solved

fetch recent activity throught API

  • 31 May 2023
  • 1 reply
  • 26 views

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

 

icon

Best answer by aaron 31 May 2023, 15:03

View original

1 reply

Userlevel 2
Badge

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!

Reply