new_message
This endpoint is used to send new message to friend(s). You can also use to send reply a message. To reply existing thread, include the `thread_id` of the message.
Resource URL
http://localhost/api/userplus/new_message/
Method
POST
Required Parameters
- cookie
- recipient_ids – can be more than one id. Multiple recipient_ids must be comma separated
- subject
- content
- key – get API key from Settings > User Plus
Optional Parameters
- thread_id – to reply existing thread message, include ‘thread_id’ variable, otherwise new thread will be started.
Sample Request URL
http://localhost/api/userplus/new_message/?key=KEY-HERE&cookie=COOKIE-HERE&recipient_ids=COMMA-SEPARATED-IDs&subject=Test Msg&content=Content is here