Transcription API
- NEW! - Interactive API docs, now live!
Visit api-docs.plumvoice.com to read Plum API documentation, build and test requests in our interactive API sandbox, review the responses, and share it all with your team.
Overview
Attention! Our queue transcription API method has reached its End of Life (EOL). Please use our AI-powered transcription method instead.
Plum offers two services for its Transcription REST API:
Please note that each of the Transcription REST APIs use HTTP AUTH for authentication. Please contact your account manager to get access credentials.
All of the Transcription REST APIs have the same return format that includes a status (success or failure), error message, and the result data.
Sample Responses
<sample>
<status>success</status>
<error/>
<result>
<!-- SAMPLE RESULT DATA -->
</result>
</sample><sample>
<status>failure</status>
<error>Unauthorized access to sample service</error>
</sample>{
"status":"success",
"error":"",
"result": {
// SAMPLE RESULT DATA
}
}{
"status":"failure",
"error":"Unauthorized access to sample service",
}Transcription Status
GET https://hosting.vxml.sharpencx.com/ws/transcription/{resource_type}/{transcription_id}
Returns the status of a transcription request.
Path Parameters
resource_type
string
status.json or status.xml
transcription_id
string
Unique 128-bit hexidecimal identifier for this transcription request. Note: This value is provided in the result of a queued transcription request.
Headers
accept
string
application/json, application/xml
Sample Code
Real-Time Transcription
POST https://hosting.vxml.sharpencx.com/ws/transcription/{resource_type}
Performs real-time transcription of an audio file.
Path Parameters
resource_type
string
transcribe.json or transcribe.xml
Headers
accept
string
application/json, application/xml
Request Body
language
string
The language code the AI-engine should use. Note: Please see table below for all supported languages.
audio
object
The audio file that will be transcribed. Note: Currently only headerless u-law audio is supported.
Sample Code
Supported Language Codes
Language Code
Language
Country
de-DE
German
Germany
*
en-AU
English
Australia
en-GB
English
United Kingdom
en-US
English
United States
es-ES
Spanish
Spain
*
es-MX
Spanish
Mexico
*
es-US
Spanish
United States
*
fr-CA
French
Canada
fr-FR
French
France
ja-JP
Japanese
Japan
pt-BR
Portuguese
Brazil
zh-CN
Mandarin
China
Last updated