threads
This endpoint will fetch the message threads for user. There are number of optional parameters are available to filter and sort results.
Resource URL
http://localhost/api/userplus/threads/
Method
POST
Required Parameters
- box - possible values are ‘inbox’, ‘sent’ (default is ‘inbox’)
- page - returns a specific page number from the paginated results (default is 1)
- per_page - determines how many threads per page are returned (default value is 10)
- tsort - determines the threads sorting, possible values are ‘asc’ or ‘desc’ (default is ‘desc’)
- search - allows to search the term in the threads
- sender_id - restricts the results to this sender_id (this is beta feature)
Sample Request URL
http://localhost/api/userplus/threads/?key=KEY-HERE&cookie=COOKIE-HERE