Skip to main content
The Runtime SDK uses API keys to authenticate requests to Inworld’s server.

Getting an API key

To get an API key, follow these steps:
  1. Log in to Inworld Portal.
  2. Click API Keys on the bottom left sidebar.
  3. Click Generate new key to generate a new API key.
  4. Copy the Basic (Base64) authorization signature.
Get API Key You can also specify for each API key whether it has permissions to write to the Voice API, which enables the API key to be used for cloning voices via the Voice API. These permissions do not impact other APIs (such as Text-to-Speech and LLM). The Runtime SDK currently only supports Basic authorization, although you can use JWT authentication with our standalone Model APIs. Make sure to keep your Base64 credentials safe, as anyone with your credentials can make requests on your behalf. It is recommended that credentials are stored as environment variables and read at run time.
Do not expose your Base64 API credentials in client-side code (browsers, apps, game builds), as it may be compromised. Runtime SDK support for JWT authentication is coming soon.