Forum Discussion

UpakulB's avatar
UpakulB
Contributor
8 years ago

How to reply to a message via Community Api V2

Hi 

I need to post a reply on existing message using Community Api V2.

I am using below service - 

 

https://api.lithium.com/community/2.0/<tenant_id>/messages/<message_id>/

 

Headers -

client-id: <clientID>
Authorization:Bearer <valid Token>

 

Body -

{
"data": {
"type": "message",
"subject": "hello world",
"body": "this is a message post.",
"parent" : <message_id> 

}
}

 

Getting success as a response but its not showing in the Message trail.

Can you please suggest the valid parameters for the same.