Skip to main content
Contributor ⭐️
August 13, 2026
Question

Upload images in Gainsight cc using api

  • August 13, 2026
  • 4 replies
  • 31 views

How can I import images into Gainsight using the API so that I can use them while building my own custom widget?

For example, the Article API accepts featureImage in the payload, but how can I upload or pass the image? I’m creating my own custom article widget and need to know how to handle the feature image.

4 replies

jvdc
Expert ⭐️
August 13, 2026

Hey,

I am not sure the API allows file uploading, at least it is not listed in the documentation… For the featureImage, it looks like you need to have a URL already, so the image is already uploaded somewhere.

Mithila Jayalath
Helper ⭐️⭐️
August 13, 2026

@Vibhav This workaround might help you to upload images.

 

mitchell.gordon
Expert ⭐️
August 13, 2026

Here is what I do:

 

Open a new topic in your community

Go to Description
 

Click on the Image Icon 

Pick the 10+ images and upload them to the post

Take the URL from the post and use that for your code. The URL doesn’t go away, even if you never make the post.

jvdc
Expert ⭐️
August 13, 2026

Yeah I've done something smilar by uploading an image via the announcement widget. But the post is prob more intuitive!