Skip to main content

WebSocket Interface Overview

The WebSocket interface is a bidirectional communication protocol established over a WebSocket connection.

Between the client and server, command packets, command response packets, and event packets are continuously exchanged. Internally, there are three parallel state transition systems: a state transition system for voice input, a state transition system for utterance detection, and a state transition system for speech recognition processing. Each transition system has several states and repeatedly transitions based on its unique triggers.

Understanding these systems allows you to use this API without using the Wrp library provided for client applications (included with sample programs).

Endpoints

Logging

wss://acp-api.amivoice.com/v1/

No logging

wss://acp-api.amivoice.com/v1/nolog/