Documentation Index
Fetch the complete documentation index at: https://docs.inworld.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All requests to Inworld’s APIs must include an API key in an Authorization HTTP header. All APIs support both Basic and JWT authentication.Getting an API key
To get an API key, follow these steps:- Log in to Inworld Portal.
- Click API Keys on the bottom left sidebar.
- Click Generate new key to generate a new API key.
- Copy the Basic (Base64) authorization signature.

- Voice API, which enables the API key to be used for POST, PATCH, and DELETE endpoints (clone voice, update voice, delete voice). GET endpoints only require read permissions.
- Router API, which enables the API key to be used for POST, PATCH, and DELETE endpoints (create router, update router, delete router). GET endpoints only require read permissions.

Basic authentication
Basic authentication uses the Base64 encoded credentials to authenticate the request. Below is an example of the header for Basic authentication:JWT authentication
JWT (JSON Web Token) authentication allows you to issue a signed token from your server that clients can use to securely authenticate with Inworld APIs. This method is strongly recommended when calling APIs from client-side code, to avoid exposing your credentials. How it works:- Your backend securely stores the Inworld API Key and Secret.
- When the client needs to authenticate, it requests a token from your backend.
- Your backend uses the API key and secret to generate a signed JWT and returns it to the client.
- The client uses this JWT with each API request to Inworld: