function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kamlesh kumar 22kamlesh kumar 22 

post image on lead chatter api

SandhyaSandhya (Salesforce Developers) 
Hi,

You can post an image in a chatter feed item using the Chatter REST API. The image can be a new binary included in your request, or you can provide the ID of existing content for your image.


Linked from the Chatter API wiki page here:

https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_input.htm#cc_upload_binary_files

 http://wiki.developerforce.com/page/Chatter_API
 
Please refer below link which has a similar discussion.

https://developer.salesforce.com/forums/?id=906F00000009A0CIAU

Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya