---
sourceDocument: Brazil Conversational Interfaces
sourceDocumentLink: https://www.servicenow.com/docs/r/conversational-interfaces

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Synchronous authentication of messages

# Synchronous authentication of messages {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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](https://www.servicenow.com/docs/iD8DS3ofhZp5EUDFOoZ9WA "You need to write a set of mandatory Workflow Studio action and subflow scripts to pass the user data to VACS, apply transformations and send the response back to your chat interface endpoint.").  
Example: Synchronous authentication of messages

    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(


