Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/ for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.
Submit a YouTube video for transcription. The request returns immediately with a projectId; the actual transcription runs in the background — see Lifecycle & Polling.
Request
Field
Type
Required
Description
youtubeVideoId
string
yes
The YouTube video ID (the v= parameter, e.g. dQw4w9WgXcQ).
webhookUrl
string
no
HTTP(S) URL we POST to when transcription completes. See Webhooks. Omit it (or send "") and poll GET /api/detail/{id} instead.
language
string
no
Language code of the video (en, tr, pt-BR, …). Omit it, or send "" or "auto", to detect the language. Letters, digits and dashes only.
Credit is deducted at request time based on the video’s reported length: 1 credit per minute (rounded down, minimum 1). If the YouTube video is unavailable or private, the request fails before any credit is consumed.
youtubeVideoId missing, or language / webhookUrl not valid.
401
Missing api-key
Header not provided or invalid.
402
NOT_ENOUGH_CREDIT
Subscription has fewer credits than the video length requires.
404
Video not found
YouTube returned no item for the supplied ID (private, deleted, or wrong ID).
What happens next
Project is created in upload state.
We download the video, then transcribe its audio.
State moves to transcription, then to done.
If you supplied webhookUrl, we POST the result to it. Either way, GET /api/detail/{id} will return the full transcription once state is done.
Authorizations
api-key
string
header
required
Body
application/json
youtubeVideoId
string
required
The ID of the YouTube video
Example:
"dQw4w9WgXcQ"
language
string
Language code of the video (en, tr, pt-BR, ...). Omit it, or send an empty string or "auto", to detect the language.
Example:
"en"
webhookUrl
string
Optional. The URL to send the transcription results to. Omit it or send an empty string for no webhook.
Example:
"http://example.com/webhook"
Response
Project created and queued for transcription
success
boolean
required
Example:
true
projectId
string<uuid>
required
Example:
"f3c1e7a0-2b48-4a91-8a30-9b1c2d3e4f50"
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"TranscribeTube","colors":{"primary":"#ef3d3d","light":"#e61313","dark":"#ef3d3d"},"favicon":"https://mintcdn.com/transcrubetube/Tj9bW3sAQ04_tPht/logo/android-chrome-512x512.png?fit=max\u0026auto=format\u0026n=Tj9bW3sAQ04_tPht\u0026q=85\u0026s=4bdd53cce69d6128c2041a106cc9be9e","logo":{"light":"https://mintcdn.com/transcrubetube/Tj9bW3sAQ04_tPht/logo/light.png?fit=max\u0026auto=format\u0026n=Tj9bW3sAQ04_tPht\u0026q=85\u0026s=7b76cefb366db48fc972102ce621990e","dark":"https://mintcdn.com/transcrubetube/Tj9bW3sAQ04_tPht/logo/black.png?fit=max\u0026auto=format\u0026n=Tj9bW3sAQ04_tPht\u0026q=85\u0026s=5223cd45619e005549f8ce6f20d07efb"},"navbar":{"links":[{"label":"Support","href":"mailto:hello@transcribetube.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.transcribetube.com"}},"footer":{"socials":{"x":"https://x.com/TranscribeTube","youtube":"https://www.youtube.com/@TranscribeTube"}},"integrations":{"posthog":{"apiKey":"phc_PhdIMJD2O6TARtAbDfTynwiuAeZBkHaNhDCMiGnRzf6"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"transcrubetube","hasAudioNarration":false,"actualSubdomain":"transcrubetube","customDomains":["docs.transcribetube.com"],"gitSource":{"type":"github","owner":"hicay","repo":"transcribetube","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10a7969ffae5051c3faf42"},"entitlements":{},"buildId":"6b094e8a15c0c13290fcff08","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":21},{"language":"default","tag":"Get Started","count":12},{"language":"default","tag":"Documentation","count":6},{"language":"default","tag":"Transcription","count":3},{"language":"default","tag":"Project ","count":2},{"language":"default","tag":"Account","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-documentation/endpoint/post-apitranscribevideo","slug":"/api-documentation/endpoint/post-apitranscribevideo","pageMetadata":{"title":"Transcribe YouTube Video","openapi":"post /api/transcribeVideo","description":"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.","href":"/api-documentation/endpoint/post-apitranscribevideo"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/\", \" for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Submit a YouTube video for transcription. The request returns immediately with a `,_jsx(_components.code,{children:`projectId`}),`; the actual transcription runs in the background — see `,_jsx(_components.a,{href:`/api-documentation/lifecycle`,children:`Lifecycle \u0026 Polling`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`youtubeVideoId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`yes`}),_jsxs(_components.td,{children:[`The YouTube video ID (the `,_jsx(_components.code,{children:`v=`}),` parameter, e.g. `,_jsx(_components.code,{children:`dQw4w9WgXcQ`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhookUrl`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`HTTP(S) URL we POST to when transcription completes. See `,_jsx(_components.a,{href:`/api-documentation/webhooks`,children:`Webhooks`}),`. Omit it (or send `,_jsx(_components.code,{children:`\"\"`}),`) and poll `,_jsx(_components.code,{children:`GET /api/detail/{id}`}),` instead.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`language`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`no`}),_jsxs(_components.td,{children:[`Language code of the video (`,_jsx(_components.code,{children:`en`}),`, `,_jsx(_components.code,{children:`tr`}),`, `,_jsx(_components.code,{children:`pt-BR`}),`, …). Omit it, or send `,_jsx(_components.code,{children:`\"\"`}),` or `,_jsx(_components.code,{children:`\"auto\"`}),`, to detect the language. Letters, digits and dashes only.`]})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Credit is deducted at request time based on the video’s reported length: `,_jsx(_components.strong,{children:`1 credit per minute (rounded down, minimum 1)`}),`. If the YouTube video is unavailable or private, the request fails before any credit is consumed.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.transcribetube.com/api/transcribeVideo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"api-key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TRANSCRIBETUBE_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"youtubeVideoId\": \"dQw4w9WgXcQ\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhookUrl\": \"https://yourapp.com/hooks/transcribetube\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node (fetch)`,numberOfLines:`13`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.transcribetube.com/api/transcribeVideo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`TRANSCRIBETUBE_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` youtubeVideoId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"dQw4w9WgXcQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` language:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` webhookUrl:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://yourapp.com/hooks/transcribetube\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`projectId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python (requests)`,numberOfLines:`12`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os, requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`res `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.transcribetube.com/api/transcribeVideo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api-key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TRANSCRIBETUBE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"youtubeVideoId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dQw4w9WgXcQ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"webhookUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://yourapp.com/hooks/transcribetube\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`project_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` res.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"projectId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`201 Created`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"projectId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"f3c1e7a0-2b48-4a91-8a30-9b1c2d3e4f50\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Body`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:`Validation error`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`youtubeVideoId`}),` missing, or `,_jsx(_components.code,{children:`language`}),` / `,_jsx(_components.code,{children:`webhookUrl`}),` not valid.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Missing api-key`})}),_jsx(_components.td,{children:`Header not provided or invalid.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_ENOUGH_CREDIT`})}),_jsx(_components.td,{children:`Subscription has fewer credits than the video length requires.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Video not found`}),_jsx(_components.td,{children:`YouTube returned no item for the supplied ID (private, deleted, or wrong ID).`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-happens-next`,children:`What happens next`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Project is created in `,_jsx(_components.code,{children:`upload`}),` state.`]}),`\n`,_jsx(_components.li,{children:`We download the video, then transcribe its audio.`}),`\n`,_jsxs(_components.li,{children:[`State moves to `,_jsx(_components.code,{children:`transcription`}),`, then to `,_jsx(_components.code,{children:`done`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If you supplied `,_jsx(_components.code,{children:`webhookUrl`}),`, we POST the result to it. Either way, `,_jsx(_components.code,{children:`GET /api/detail/{id}`}),` will return the full transcription once state is `,_jsx(_components.code,{children:`done`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Transcribe YouTube Video","openapi":"post /api/transcribeVideo","description":"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.","href":"/api-documentation/endpoint/post-apitranscribevideo"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"What happens next","slug":"what-happens-next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"ApiController_transcribeVideo","summary":"","description":"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.","parameters":[],"requestBody":"3ced4086-409c-4764-84d4-11f84b9f5964","responses":{"201":"272c329d-1e55-4bd7-b6f5-04f8c24b9aa0","400":"b3dac08f-3948-4219-aa33-f00f36a4fdae","401":"9cb12832-e63a-40db-bf4c-8dbc4ada4fd9","402":"c14eec58-fac2-4391-a555-46aa6f317d0f","404":"b6a828fd-be75-47fb-9cf4-0f1bdcf7687f"},"tags":["Api"],"security":["40610697-8683-4b9c-817c-e9d09b76a7db"],"method":"post","type":"path","servers":["13b7ed2e-9293-49b8-9c52-e783275a85e2"],"path":"/api/transcribeVideo","baseUrlOptions":["https://api.transcribetube.com"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"youtubeVideoId":{"type":"string","description":"The ID of the YouTube video","example":"dQw4w9WgXcQ","default":null,"isRequired":true,"uniqueKey":"youtubeVideoId","typeLabel":"string"},"language":{"type":"string","description":"Language code of the video (en, tr, pt-BR, ...). Omit it, or send an empty string or \"auto\", to detect the language.","example":"en","uniqueKey":"language","typeLabel":"string"},"webhookUrl":{"type":"string","description":"Optional. The URL to send the transcription results to. Omit it or send an empty string for no webhook.","example":"http://example.com/webhook","uniqueKey":"webhookUrl","typeLabel":"string"}},"required":["youtubeVideoId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"youtubeVideoId":"dQw4w9WgXcQ","language":"en","webhookUrl":"http://example.com/webhook"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"272c329d-1e55-4bd7-b6f5-04f8c24b9aa0":{"description":"Project created and queued for transcription","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"projectId":{"type":"string","format":"uuid","example":"f3c1e7a0-2b48-4a91-8a30-9b1c2d3e4f50","isRequired":true,"uniqueKey":"projectId","typeLabel":"string\u003cuuid>"}},"required":["success","projectId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"projectId":"f3c1e7a0-2b48-4a91-8a30-9b1c2d3e4f50"}}},"exampleType":"generated"}},"exampleType":"generated"},"b3dac08f-3948-4219-aa33-f00f36a4fdae":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9cb12832-e63a-40db-bf4c-8dbc4ada4fd9":{"description":"Missing or invalid api-key","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c14eec58-fac2-4391-a555-46aa6f317d0f":{"description":"Not enough credit","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b6a828fd-be75-47fb-9cf4-0f1bdcf7687f":{"description":"YouTube video not found","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"integer","uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"40610697-8683-4b9c-817c-e9d09b76a7db":{"api-key":{"type":"apiKey","in":"header","name":"api-key","scopes":[],"schemeName":"api-key"}}},"servers":{"13b7ed2e-9293-49b8-9c52-e783275a85e2":{"url":"https://api.transcribetube.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"api-key","scopes":[],"schemeName":"api-key"},"schema":{"title":"api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api-key","name":"api-key"}],"title":"api-key"}]},"originalFileLocation":"swagger.json"},"subdomain":"transcrubetube","siteName":"TranscribeTube","title":"Transcribe YouTube Video - TranscribeTube","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T09:34:07.205Z","originalFileLocation":"api-documentation/endpoint/post-apitranscribevideo.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TranscribeTube\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Transcribe YouTube Video - TranscribeTube\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TranscribeTube\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://transcrubetube.mintlify.site/_mintlify/api/og/v2?division=Transcription\u0026amp;title=Transcribe+YouTube+Video\u0026amp;description=Submit+a+YouTube+video+ID+for+transcription.+language+and+webhookUrl+are+optional%3A+without+a+language+it+is+detected%2C+and+without+a+webhookUrl+you+poll+%2Fapi%2Fdet\u0026amp;theme=0327c594704cbcf0a3f9c7ea\u0026amp;signature=7611af06f99a0ce2ff149b2e169499d69f83b50b130b788ffb0b228ff96d4a5a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Transcribe YouTube Video - TranscribeTube\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://transcrubetube.mintlify.site/_mintlify/api/og/v2?division=Transcription\u0026amp;title=Transcribe+YouTube+Video\u0026amp;description=Submit+a+YouTube+video+ID+for+transcription.+language+and+webhookUrl+are+optional%3A+without+a+language+it+is+detected%2C+and+without+a+webhookUrl+you+poll+%2Fapi%2Fdet\u0026amp;theme=0327c594704cbcf0a3f9c7ea\u0026amp;signature=7611af06f99a0ce2ff149b2e169499d69f83b50b130b788ffb0b228ff96d4a5a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/transcrubetube/kib0clFuIx-UznoX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TranscribeTube\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ef3d3d\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-documentation/endpoint/post-apitranscribevideo.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.transcribetube.com/#organization\",\"name\":\"TranscribeTube\",\"url\":\"https://docs.transcribetube.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/transcrubetube/Tj9bW3sAQ04_tPht/logo/light.png?fit=max\u0026auto=format\u0026n=Tj9bW3sAQ04_tPht\u0026q=85\u0026s=7b76cefb366db48fc972102ce621990e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.transcribetube.com#website\",\"name\":\"TranscribeTube\",\"url\":\"https://docs.transcribetube.com\",\"publisher\":{\"@id\":\"https://docs.transcribetube.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo#webpage\",\"url\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo\",\"name\":\"Transcribe YouTube Video\",\"description\":\"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.\",\"dateModified\":\"2026-11-27T09:34:07.205Z\",\"isPartOf\":{\"@id\":\"https://docs.transcribetube.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TranscribeTube\",\"item\":\"https://docs.transcribetube.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transcribe YouTube Video\",\"item\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo#apireference\",\"headline\":\"Transcribe YouTube Video\",\"name\":\"Transcribe YouTube Video\",\"description\":\"Submit a YouTube video ID for transcription. language and webhookUrl are optional: without a language it is detected, and without a webhookUrl you poll /api/detail/{id} for the result. When a webhookUrl is given, a POST with the project details and transcription is sent to it on completion.\",\"url\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo\",\"mainEntityOfPage\":{\"@id\":\"https://docs.transcribetube.com/api-documentation/endpoint/post-apitranscribevideo#webpage\"},\"dateModified\":\"2026-11-27T09:34:07.205Z\",\"publisher\":{\"@id\":\"https://docs.transcribetube.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.transcribetube.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TranscribeTube\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TranscribeTube\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-documentation/endpoint/post-apitranscribevideo.md","siteName":"TranscribeTube","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Documentation","anchors":[{"anchor":"API Documentation","icon":"code","groups":[{"group":"API Documentation","pages":[{"title":"Getting Started","href":"/api-documentation/introduction"},{"title":"Get your API key","href":"/api-documentation/authentication"},{"title":"Lifecycle \u0026 Polling","href":"/api-documentation/lifecycle"},{"title":"Webhooks","href":"/api-documentation/webhooks"}]},{"group":"Transcription","pages":[{"title":"Transcribe YouTube Video","openapi":"post /api/transcribeVideo","href":"/api-documentation/endpoint/post-apitranscribevideo"},{"title":"Get Upload URL","openapi":"post /api/upload-url","description":"Step 1 of 2 for transcribing your own audio or video file. Returns a pre-signed S3 URL to PUT the raw file to; the URL is valid for one hour. Then call /api/transcribeFile with the returned key.","href":"/api-documentation/endpoint/post-apiuploadurl"},{"title":"Transcribe File","openapi":"post /api/transcribeFile","href":"/api-documentation/endpoint/post-apitranscribefile"}]},{"group":"Project ","pages":[{"title":"List Projects","openapi":"get /api/list","href":"/api-documentation/endpoint/get-apilist"},{"title":"Get Project Detail","openapi":"get /api/detail/{id}","href":"/api-documentation/endpoint/get-apidetail"}]},{"group":"Account","pages":[{"title":"Get Account","openapi":"get /api/me","href":"/api-documentation/endpoint/get-apime"}]}]}]}]},"basePath":"","title":"Transcribe YouTube Video - TranscribeTube","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}