---
sourceDocument: Australia Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/conversational-interfaces

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Synchronous authentication of messages

# Synchronous authentication of messages {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

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://servicenow-prod.fluidtopics.net/6jokUFrLYvS9ajXeDZ_g_Q "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(


