Recent searches


No recent searches

Get Community Posts



Posted Feb 24, 2020

Hi All,

 

So I've been trying to create some very basic reporting for our Community but unfortunately I'm stuck at this point. The report I want for starters is very basic, Get Posts created on <Date>

Purpose: I want to see the activity level on our forum.

The query available for this purpose is:

https://megascans.zendesk.com/api/v2/help_center/community_posts/search.json?query="The"created_at=2020-02-18

Problem: search string is mandatory in this query. It doesn't take "" as input. You have to give it a string which skews the data set.

Can we have a better solution?


0

1

1 comment

image avatar

Kasper Sørensen

Zendesk Product Manager

I would not recommend using search for this. An easier approach seems to me to be to use the posts endpoint and sort by date:

/api/v2/community/posts.json?sort_by=created_at

Of course that gives you posts from multiple days so you'll have to do some manual filtering afterwards.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post