v50

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-06-16122182589.7 KB
Call control

Answer a call

Answers the inbound call identified by id. Optionally starts media streaming on answer.

post/v1/calls/{id}/answer

Path parameters

idstring uuid required

The uuid of the call.

Request body

call_recordingboolean

Indicates whether the call should be recorded.

call_transcriptionboolean

Indicates whether the call should be transcribed after it ends.

stream_urlstring uri

WebSocket URL to stream the call.

stream_type'oneway' | 'twoway'

Specifies the streaming type. Can be either oneway for unidirectional or twoway for bidirectional streaming.

stream_channel'inbound' | 'outbound' | 'both'

Specifies which audio channel to stream. Use inbound to stream the incoming channel (to Wavix), outbound for the outbound channel (from Wavix), or both to stream both. For bidirectional call streaming, this setting is ignored and the inbound channel is only streamed.

Example request

{
  "stream_url": "wss://examples.com/stream"
}

Response

Returns a success confirmation. The call is answered.

successboolean required

Indicates whether the request was successful.

Example response

{
  "success": true
}