TalkIt API v2 overview
Understand the current TalkIt HTTP API version, authentication boundary, and response conventions.
API v2 is the current TalkIt HTTP contract. Current reference pages use stable URLs without a version segment; the version label on the page identifies the contract being shown.
Base URL
Use the HTTPS base URL assigned to your TalkIt deployment. Examples in this
reference use https://your-talkit-host.example.
Authentication boundary
Server endpoints that accept a Website client secret must be called only from a trusted backend. The backend exchanges that credential for a short-lived grant and returns only the grant to the authenticated browser client.
Never expose a client secret
Do not embed a Website client secret in JavaScript, a mobile web bundle, a URL, or a browser-visible environment variable.
Response envelope
Successful HTTP responses may wrap their result in a data property:
{
"success": true,
"data": {}
}
Client code should also use the HTTP status. Do not treat a JSON body as successful when the response status is not successful.
Website endpoints
Start with Create a server-relay Website session grant to issue a one-use text or voice grant from a trusted backend.
For browser client setup, continue to the JavaScript SDK guide.