JavaScript / TypeScript
API keys
The Umanthir API can be used without a key. When you have one, pass it as apiKey; it is sent as Authorization: Bearer <key> and never appears in logs, hooks, errors, JSON.stringify(client) or console.log(client).
Do not ship a key in browser code: anyone using the page can read it. The SDK warns with API_KEY_IN_BROWSER when it sees one. Keep keys on your server and call the API from there.
Next: TypeScript.