We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to see script variables in JSON response using VIRTUAL AGENT API?

javeriaarif705_
Tera Contributor

Hi All,

 

I have created a script variable in one of the topics in my ServiceNow bot. I want to see those script variables in the JSON response (from api/sn_va_as_service/bot/integration API) in the postman just like it is viewable on the test interface of the ServiceNow platform.

 

javeriaarif705__0-1704704377751.png

This is the script variable which I am able to see in the testing interface, but I'm not sure how to get this in the response JSON using "virtual agent api".

0 REPLIES 0