Docsapidub details

Dub Details

GET /api/v2/dubs/

Returns one dub you own — use it to poll status and get the download links. 404 if it doesn't exist or belongs to another user.

curl https://dublab.app/api/v2/dubs/ce14fea7-9c5b-... \
  -H "apikey: YOUR_API_KEY"

Response (200):

{
  "id": "ce14fea7-9c5b-...",
  "dubbing_id": "ce14fea7-9c5b-...",
  "project_id": "c13d6b57-...",
  "name": "my-video.mp4",
  "type": "video/mp4",
  "source_lang": "en",
  "dest_lang": "tr",
  "external_status_id": 5,
  "progress_percentage": 100,
  "external_error_message": null,
  "duration": 143,
  "measured_duration": 142,
  "is_studio_quality": false,
  "source": "api",
  "created_at": "2026-07-15T03:16:25.687Z",
  "outputs": {
    "translated_mp4": { "url": "https://...", "download_url": "https://..." },
    "translated_mp3": { "url": "https://...", "download_url": "https://..." },
    "translated_subtitle": { "url": "https://...", "download_url": "https://..." }
  }
}

The outputs map is empty until external_status_id is 5. url is inline-viewable; download_url forces a file download. Both are presigned and expire ~1 hour after the response — just re-fetch to get fresh links. See Endpoints for the full list of output types.