Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Rest API for transferring image

RAJU MANGA
Tera Contributor

Hi 
I want to send the any image in db_image table from the servicenow instance into another instance using RestPI. Is there any way we can achieve this. 

 

Regards.

Raju Manga

2 REPLIES 2

Sonam_Tiwari
Kilo Sage

Hi @RAJU MANGA ,

 

Check this out

 

https://docs.servicenow.com/bundle/tokyo-application-development/page/integrate/custom-web-services/...

Consider indicating the response as helpful and marking it as correct if it meets your needs.

Saurabh Gupta
Kilo Patron

Hi @RAJU MANGA 

You can use OOTB attachment API.

GET https://dev156891.service-now.com/api/now/attachment/{sys_id}/file.   


 Attachment API | ServiceNow Developers


Thanks and Regards,

Saurabh Gupta