v13

latestSwagger 2.02026-07-1334135160.5 KB
MidConnections

Recognize media from call.

Recognize media from call.

post/calling/callConnections/{callConnectionId}:recognize

Path parameters

callConnectionIdstring required

The call connection id

Query parameters

api-versionstring required

Version of the API to invoke.

Request body

recognizeInputType'dtmf' | 'speech' | 'speechOrDtmf' | 'choices' required

Defines the type of the recognize input

interruptCallMediaOperationboolean

If set recognize can barge into other existing queued-up/currently-processing requests.

operationContextstring

The value to identify context of the operation.

operationCallbackUristring

Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.

Response

The service has accepted the recognize request and will begin processing it. You will receive either RecognizeCompleted or RecognizeFailed event at your specified callback URI to update you on the status of the request.