Develop

Redirecting the Wit Endpoint

Updated: Apr 15, 2026
The Voice SDK sends all API requests to https://api.wit.ai by default. The URL field in the Wit Configuration file sets the base URL for these requests. When you provide a custom URL, all requests (speech, message, and text-to-speech) are sent to your server instead. This is useful for testing, development, or routing requests through a proxy server for processing before forwarding to Wit.ai.

Prerequisites

Before redirecting the endpoint, integrate the Voice SDK plugin into your project and create a Wit Configuration file. For setup instructions, see Integrating Voice SDK.

Redirecting the endpoint

To redirect the Wit request endpoint

  1. In the Content Browser, select Content, and then select the Wit Configuration file.
    "Wit Configuration file"
  2. Open the file to show the Wit Configuration window.
    "Wit Configuration window"
  3. Expand Advanced, and then enter the URL for your endpoint.
    "URL Endpoint"
    Note: Custom endpoints should use HTTPS to protect voice data in transit.
The Voice SDK constructs the final request URL by appending the API endpoint path to your base URL. For example, if you set the URL to https://your-server.com, speech requests are sent to https://your-server.com/speech.

Reverting to the default endpoint

To revert to the default Wit.ai endpoint, clear the URL field and leave it empty. When the URL field is empty, the Voice SDK uses the default base URL (https://api.wit.ai).