API Reference / Endpoints / Speech
Fetch dubbing transcript
/v1/speech/dubbing/:dubbingId/transcriptFetch the transcript for a dubbing job when available.
GET
/v1/speech/dubbing/:dubbingId/transcriptAuth: API keyBilling: FreeBehavior: SyncScopes: audio:generate
GETSyncNo bodyaudio:generate
When to use it
Use this after a dubbing workflow when your client needs the transcript output in a particular language or format.
Behavior on success
Returns a completed payload on the normal success path.
Integration shape
Authorization model
audio:generate
Request format
No request body
Polling pattern
No polling required on the normal success path.
Request
| Field | Type | Required | Description |
|---|---|---|---|
dubbingId | string | Yes | Dubbing identifier. |
language_code | string | Yes | Transcript language selection. Use an ISO language code or `source`. |
format | string | Yes | Transcript format. One of `srt`, `webvtt`, or `json`. |
Example request
GET /v1/speech/dubbing/:dubbingId/transcript
const response = await fetch('https://prod-backup-backend.wubble.ai/v1/speech/dubbing/dub_123/transcript?language_code=es&format=json', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.WUBBLE_API_KEY}`,
},
});
const payload = await response.json();
console.log(payload);Example response
Response shapejson
{
"success": true,
"data": {
"transcript": "Hola a todos"
}
}Production guidance
Pair this route with idempotency on POST requests and either request polling or webhooks whenever the response is asynchronous.
Was this page helpful?