transcribeCallRecording

Request Method: POST

Description: Transcribes one or more recorded Calls.

URL: https://api.iovox.com:444/Calls?v=3&method=transcribeCallRecording

The following parameters can be sent in the querystring:

ParameterDescriptionDefault ValueData TypeMandatory
vAPI version to use INTEGERYES

Request Example

Payload

The following XML payload must be sent with a transcribeCallRecording request:

<?xml version="1.0" encoding="utf-8"?>

<request>
    <calls>
        <call>
            <callback_url>http://yourdomain.com/transcription.php</callback_url>
            <id>51515151</id>
            <record_label>callRecording</record_label>
        </call>
        <call>
            ...
        </call>
    </calls>
</request>

Payload Description

Node NameDescriptionDefault ValueData TypeMandatory
callback_urlThe URL we will hit once the Transcription progress is finished. STRINGNO
idThe Call ID you want to be transcribed. INTEGERYES
record_labelSpecifies which of the recordings of a call should be transcribed. There are multiple recordings per call possible.
callRecording
STRINGNO

Result

Error Result

HTTP CodeError StringResolution
400API Version EmptyAdd a value for the v parameter in the query string
400API Version InvalidCorrect v parameter
400Request Method must be GET. x attemptedSwitch request method x to GET
400The specified call does not have a recordingChange the id parameter to a call ID that has a recording associated
400The specified Call ID does not existChange the id parameter to an existing call ID
400Call ID not an integerRemove non-numerics from id
400Call ID EmptyAdd a value for the id parameter in the query string
500Internal Server ErrorRetry later

Success Result

HTTP/1.1 204 No Content

Callback

We can send you the transcription from the moment it is finished. Transcribing a call can take up to half an hour.

The callback post is as follows:

<?xml version="1.0" encoding="utf-8"?>

<response>
    <call>
        <id>54545454</id>
        <transcription>Hello, hello? I think you have the wrong number. Excuse me, have a nice day. Have a nice day sir.</transcription>
        <record_label>callRecording</record_label>
    </call>
</response>

Callback XML Description

Node NameDescriptionData Type
idThe Call ID of the Call which was transcribedINTEGER
transcriptionThe result of the transcription.STRING
record_labelThe record label of the Recording which was transcribedSTRING