Newer Version Available

This content describes an older version of this product. View Latest

Send a Private Message

Resource
/chatter/users/me/messages/
HTTP method
POST
Request body
User Message
Request body example
1{ "body" : "Are we ready for next week's customer meeting?",
2  "recipients" : ["005D0000001GOYpIAO", "005D0000001GbdHIAS"]
3}
Request parameter
recipients OR inReplyTo

text

Request parameter example
1/services/data/v55.0/chatter/users/me/messages?recipients=
2005D0000001GOYpIAO,005D0000001GbdHIAS&text=Are+we+ready+for+next+week's+customer+meeting?
Returns
Message