{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4843,"path":"conversational-interfaces/virtual-agent/configure-response-endpoint-auth-va-api.md","title":"Configure output response REST endpoint and outbound authentication for the Virtual Agent API \\(v4.1 or above\\)","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure output response REST endpoint and outbound authentication for the Virtual Agent API \\(v4.1 or above\\)\n\nSpecify the outbound endpoint URL to which the Virtual Agent responses are posted. Configure outbound authentication.\n\n## Before you begin\n\nIf needed, specify the Message Authentication for token validation in the Provider Channel Identities \\[sys\\_cs\\_provider\\_application\\] table.\n\nRole required: admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Definition** &gt; **Tables**.\n\n2.  Select the **Bot to Bot Outbound Configurations** \\[sn\\_va\\_as\\_service\\_outbound\\_configuration\\] table and open it.\n\n3.  Select the **VA Bot to Bot Provider Application** record to open it.\n\n4.  Navigate to the **Rest connection** field and open the record.\n\n5.  In the **Connections** related tab, select **Bot Connection**.\n\n6.  In the **Credential** field, select or create an authentication profile.\n\n7.  In the **Connection URL** field, enter the response endpoint for the third-party bot.\n\n    This is the endpoint for the primary bot server, where the response will have to be sent from the ServiceNow bot to another bot or another ServiceNow instance.\n\n    For example: `http://<customer instance>/demo/rest/service/nowbot/processResponse`\n\n8.  Customize Connection timeout if you want to.\n\n    The default value for Connection timeout is 5000ms.\n\n9.  In the **Attributes** related tab, add headers and its values.\n\n    **Note:** You can add maximum 10 headers.\n\n10. Select **Update**.\n\n\n**Parent Topic:**[Configuring Virtual Agent API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/configure-virtual-agent-api.md)\n\n"}}