​[{"time": 1439793830,"from_id": "14","room_id": "5","from_name": "prateek","room_name": "Mobile Room","message": "hello","message_id": "m_14_c-5_1439793800313"},{"time": 1440491549,"from_id": "0-14358329043yvbs","room_id": "5","from_name": "Guest Michael","room_name": "General Room","message": "how are you?","message_id": "m_0-14358329043yvbs_c-5_1440491559161"},{"time": 1440491833,"from_id": "0-14358329043yvbs","room_id": "5","from_name": "Guest Michael","room_name": "General Room","message": "whats up?","message_id": "m_0-14358329043yvbs_c-5_1440491842827"},]
This the sample curl command required to make HTTP request:
curl -H "Content-Type: application/json" -X POST https://api.iflychat.com/api/1.1/threads/get -d"{\"api_key\": \"Wr4vpoJ_ET3lpBdX9E9TutUic4Dgb-gc7RGzuZvKqZgW5\", \"room_id\": \"5\", \"start_timestamp\": \"1433142614\",\"end_timestamp\": \"1433154346\", \"limit\": \"3\"}"