Skip to main content
Use the SDK when you want to build your own voice interface. Your backend uses its Nicecall API key to create a realtime session. Return only the session URL and token to your browser.
The SDK also emits level for remote audio volume and ended when the session finishes. Keep the API key on your server. Use the URL returned by the session endpoint and request a fresh token if it expires. Sessions expire after 15 minutes if unused. The API allows 10 creations per minute per key and 10 concurrent sessions per account, including live voice-widget sessions. A call history entry appears once the browser connects.