Are there related APIs for User profile page and My Activities? | Community
Skip to main content

Are there related APIs for User profile page and My Activities?

  • October 14, 2022
  • 3 replies
  • 0 views

Hi Zendesk Team,

I should use a custom pagination since I want to give the same tone and manner over all pages of my help center.

As per the above condition, I have faced a problem on User profile page and My Activities page. I thought I needed API code to bring the date on those pages. However, I couldn't find related codes to bring them. 

I guess those data should be filtered by an author or a user's ID, but related parameters do not seem to exist. 

Could you give me any tips on it?

 

 

3 replies

Greg29
  • October 17, 2022

Hi there! If I'm understanding your request correctly, I believe what you're looking for will be in the contributions object, specifically the `created_at` property. That will be available through the User Profile template, so it should work in the way that you need.

If I missed something there, please provide some more details about what you're specifically trying to do and we'll do our best to get you in the right direction.


  • Author
  • October 18, 2022

Hi @greg29

Thank you for the information.

I'd like to give you more details.

We have developed the custom pagination below on all pages of our help center. Its look is different from what Zendesk provides at the moment. 

In order to use the pagination, we extract data on each page via Zendesk API after that, we insert the data into each page. We have used Search API to simulate our scenario. So I have asked API documents regarding My activity page and My profile page.

If you have efficient other ways on our pages could you let me know?

 


Greg29
  • October 20, 2022
Ok, so it seems like you're looking for the event data for the specific users in question. In that case, take a look at the Get Zendesk User Events endpoint, along with the various filtering options. That should return the data that you need!