api:pbx:voicemail:transcribe
Table of Contents
API : PBX : Voicemail Transcribe
Request
This request will transcribe a voicemail to text.
| URL | https://api.telecomx.dk/pbx/voicemail/VOICEMAIL_ID/transcribe?language=LANG_ID | |
|---|---|---|
| Method | GET | |
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER if voicemail belongs to the user or ADMIN. | |
| Param | VOICEMAIL_ID | Id of the voicemail (24 hex-char string) |
| Query | language | ISO3166-2 language code of the language spoken, defaults to the users language settings. |
Query examples
https://api.telecomx.dk/pbx/voicemail/12345678901234567890AAAA/transcribe https://api.telecomx.dk/pbx/voicemail/12345678901234567890AAAA/transcribe?language=da-DK
Valid languages
ar-SA, ca-ES, cs-CZ, da-DK, de-AT, de-CH, de-DE, el-GR, en-AE, en-AU, en-CA, en-GB, en-ID, en-IE, en-IN, en-NZ, en-PH, en-SA, en-SG, en-US, en-ZA, es-419, es-CL, es-CO, es-ES, es-MX, es-US, fi-FI, fr-BE, fr-CA, fr-CH, fr-FR, he-IL, hi-IN, hi-IN-translit, hi-Latn, hr-HR, hu-HU, id-ID, it-CH, it-IT, ja-JP, ko-KR, ms-MY, nb-NO, nl-BE, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sk-SK, sv-SE, th-TH, tr-TR, uk-UA, vi-VN, wuu-CN, yue-CN, zh-CN, zh-HK, zh-TW.
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
| text | String | The transcribed text |
| language | String | The language used |
Example
{ success: true text: 'I just called, to say, I love you.', language: 'en-US' }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Voicemail not found |
| 422 | language | Language is invalid |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/voicemail/transcribe.txt · Last modified: 2025/03/25 13:46 by Per Møller