Forum Discussion
patils27
Guide
Thank You for response .
I can successfully able to upload image ( to user account ) with REST API V1 and refer link back to message
https://xxxxxxxx/restapi/vc/users/id/xxx/media/albums/default/public/images/upload
Here I'm looking for REST API V2 to post images as part of messages
Thanks & Regards
Sachin Patil
SuzieH
5 years agoKhoros Alumni (Retired)
HI patils27
Could you please try a request body that looks like this where the image ID is the value of li-image id.
{
"data": {
"type": "message",
"subject": "Awesome Shirt",
"body": "This is a message about a t-shirt. <li-image id=\"336i254DB23392D370B6\"/> This is a great shirt.",
"board": {
"id": "shirts"
}
}
}
Related Content
- 11 years ago
- 3 months ago
- 4 years ago