SDKs
The REST API is plain HTTP and JSON, so any language that can make a request can use it. These clients are for when you would rather not hand-roll one.
TypeScript @responsivevoice/api-client — typed requests and responses, retries, and WebSocket streaming. Runs on Node.js and in the browser.
PHP responsivevoice/sdk — synthesis, voices, and configuration from any PHP server, with a Laravel integration example.
Calling the API directly
Section titled “Calling the API directly” REST API The endpoints, request shapes, and response formats.
Authentication How to authenticate a request from a server or a browser.
Speaking in the browser
Section titled “Speaking in the browser”If your target is a web page rather than a server, you probably do not want a REST client at all.
@responsivevoice/core speaks through the browser's own voices and only falls back
to the API when it has to — fewer requests, no round trip for most sentences.