API example: all topics submitted in the last week.

Answered Jon C. 8 years ago

Can you provide an example of using the API to retrieve a list of topics (including all of the information that you'd see on /topics/idea/status/all/category/all/sort/new/page/1)? It's not entirely obvious, even looking through the examples, how you'd accomplish that kind of list.

Replies (1)

photo
12

Hello,


You should use search method in order to retrieve topics. For example make GET request to the following URL:

https://help.useresponse.com/api/3.0/search.json


Use option date if you want to get topics submitted in the last week.

https://help.useresponse.com/api/3.0/search.json?date=last_week


Please pay attention to API Doc in order to find out more request options.

Let us know if you have other questions.

Leave a Comment
 
Attach a file