@djondinium, select * from messages Will return you all messages with topic and replies. If you want to see all the main topic/threads from a particular time, you can use below API. https://community.website.com/api/2.0/search?q=select * from messages where depth=0 AND post_time > {$startDate}T{$startTime}.000-00:00 and post_time < {$endDate}T{$endTime}.999-00:00 limit 1000 This will return you main topic id, then you can use your other query in the list to get the replies of that topic from it. select * from messages where topic.id = '$topic_id'
... View more