- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2022 11:23 PM
Hi,
We are trying to use Virtual Agent API to have users attach images to a Live Agent Chat session. We were able to to initiate a Live Agent Support session with the following post request via Postman
From Agent Workspace, we were able to accept the chat request and begin the conversation.
We next tried to send an image with the following post request via Postman


Solved! Go to Solution.
- Labels:
-
Agent Chat
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 10:26 PM
This issue is now resolved, with the help from ServiceNow Support and their engineering team.
The reason why attachments and images could not be uploaded via the Virtual Agent API is because trusted media domains were not configured.
To configure trusted media domains, please see https://docs.servicenow.com/bundle/quebec-now-intelligence/page/administer/virtual-agent/task/ccif-secure-file-upload.html
The Provider Channel Identity form may not show the Trusted media domains field. Please use "Configure -> Form Layout" to make it visible before proceeding to add trusted domains.
We are using the default "VA Bot to Bot Provider Application" in the "Provider Channel Identity" list.
To access the "Provider Channel Identity" list, browse to /sys_cs_provider_application_list.do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 10:26 PM
This issue is now resolved, with the help from ServiceNow Support and their engineering team.
The reason why attachments and images could not be uploaded via the Virtual Agent API is because trusted media domains were not configured.
To configure trusted media domains, please see https://docs.servicenow.com/bundle/quebec-now-intelligence/page/administer/virtual-agent/task/ccif-secure-file-upload.html
The Provider Channel Identity form may not show the Trusted media domains field. Please use "Configure -> Form Layout" to make it visible before proceeding to add trusted domains.
We are using the default "VA Bot to Bot Provider Application" in the "Provider Channel Identity" list.
To access the "Provider Channel Identity" list, browse to /sys_cs_provider_application_list.do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 06:33 AM
Hi @Voon ,
How do we send attachments/images in Virtual Agent API? If the attachment is uploaded in primary bot, where should those attachments be saved? and what are the parameters in api call?