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
Gary WGary W 

Knowledge article API image uploading

We are in the process of creating around 2,000 knowledge articles for one of our new communities. We are creating the articles using the REST API.

When creating knowledge articles manually in the console, the rich text editor allows for inline images to be uploaded and displayed in the article bodies. Is there an API endpoint, or a suggested method we could use for programmatically uploading images to display in articles bodies?
VinayVinay (Salesforce Developers) 
Hi Gary,

Please review below link  (API access to Knowledge article) and hope this will help you.

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

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
Gary WGary W
Hi Vinay,

Thanks for contributing. The link you posted only explains how to replace relative URLs on existing images with fully qualified URLs. It does not mention anything about actually uploading images via the API for use in knowledge articles.

Any advice on this would be appreciated.

Thanks,
Gary