Synchronous authentication of messages

reference brazil Updated Sep 10, 2026 1 min read ccci-synch-auth-msgs.md
Raw file servicenow.com

Inbound message authentication is performed before the message is added to the hybrid queue.

This code has to be implemented in the provider attribute script. For more information, see Virtual Agent action scripts.

Example: Synchronous authentication of messages

JavaScript
var validated = sn_cs.VASystemObject.validateMessage(providerApp.sysId, payload, JSON.stringify(headers));if (validated === false) {    response.setStatus(401);    response.setContentType("test/xml")    var writer = response.getStreamWriter();    writer.writeString(

Parent Topic:Supported Virtual Agent and Agent Chat features for custom chat integrations

Search documentation
Search document titles and file paths on the brazil branch