The API
HTTPS requests with your API key. Provision rooms, issue join credentials, and read
back what a call cost. Carries no audio.
Streaming
A live WebRTC session. Your microphone goes up, translated audio and a live transcript
come back. Carries no configuration.
The API — set a call up, then account for it
Use it for everything around a conversation:- Create a room — a live translation session, and the record it will be billed under.
- Mint a join token for each participant, in the languages they speak. Tokens are short-lived, so this is a call you make per participant, per session.
- Close a room when the call is over, rather than waiting for it to end on its own.
- Read usage — rooms, per-participant connected minutes, and what each one cost.
- Manage API keys and prepaid credit, and list the languages Glot translates between.
cURL
Streaming — where the translation happens
A participant joins a room with their token, and from there audio is carried over WebRTC rather than over the API. During the session:- Your microphone audio streams up to the translator.
- Translated audio comes back as one track per language, so a client plays the language it joined in.
- A live transcript arrives as text frames — each utterance first as it is being produced, then again as confirmed text with the speech it came from.
Stream your first session
The whole flow end to end — rooms, tokens, audio, and rendering the transcript.
Browse the API
Every endpoint, with its parameters and responses.