Skip to main content
jvdc
Expert ⭐️
Apr 27, 2026 9:16 AM UTC
Solved

How to get the total questions shared by a user via API?

When I request user data via API, we get the total topics but this is a total across articles/questions/discussions.

Is there a way to get this total for each?

Mithila Jayalath
Helper ⭐️⭐️
Apr 27, 2026 11:39 AM UTC

​@jvdc  Unfortunately, as per my knowledge there is no direct way to get those individual counts straight from the user API. The endpoint only provides the aggregated "topics" total, and the specific numbers for articles, questions, and discussions are not stored as pre-calculated fields.

To get this total for each, you will need to use a workaround: you have to list out the articles, questions, and discussions, check the author for each piece of content, and then get a count for each.

Better if you can submit an idea for this.

1 reply

Mithila Jayalath
Helper ⭐️⭐️
Apr 27, 2026 11:39 AM UTC

​@jvdc  Unfortunately, as per my knowledge there is no direct way to get those individual counts straight from the user API. The endpoint only provides the aggregated "topics" total, and the specific numbers for articles, questions, and discussions are not stored as pre-calculated fields.

To get this total for each, you will need to use a workaround: you have to list out the articles, questions, and discussions, check the author for each piece of content, and then get a count for each.

Better if you can submit an idea for this.

Translate