Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Trying to use the VA API via Postman to call a specific VA topic is failing.

Shubham47
Tera Expert

I'm attempting to use the VA API via Postman to call a VA topic. It appears that the topic I am attempting to call is not being taken into consideration. Since I need to route chats to different queues based on user selection, I assumed that calling topics would hit different queues. Is there another way to accomplish this, such as including something in the request body?

{
  "requestId": "123-xxxx-xxxx-xxxx",
  "clientSessionId": "123-xxx-xxx-xxx",
  "token": "statictoken",
  "action": "SWITCH",
  "topic": {
     "id": "xxxxx"
  
  },
  "userId": "guest"
}
1 ACCEPTED SOLUTION

Shubham47
Tera Expert

I could achieve this using context variables in API.

View solution in original post

5 REPLIES 5

Shubham47
Tera Expert

I could achieve this using context variables in API.