How to get the conversation id/any unique id for each chat comes to servicenow
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 03:22 AM
I am working in integrating one of our product with Servicenow on a chat runtime.
So, for the purpose we need to know about the conversation id/ interaction id of each such chat going between the end user and agents. Is there any APIs from which I can directly get the data based on the application scope, queue name or any other input?
In which table do we store all the ongoing chats ?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2025 01:52 AM
you can get it from interaction table with api
api/now/table/interaction
and params
params={
'active': 'true',
'opened_for': user_sys_id,
'sysparm_fields': 'sys_id',
'sysparm_limit': 1,
'sysparm_query': 'ORDERBYDESCopened_at',
},