You can find cURL examples throughout our API reference documentation. Each endpoint includes sample cURL requests that you can copy and modify for your use case.
If you see code examples in other programming languages in our documentation, you can use AI tools like ChatGPT or Claude to convert those examples into cURL format. Simply provide the code example and ask the AI tool to recreate it as a cURL request.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"AssemblyAI","description":"AssemblyAI provides production-ready Voice AI models for speech-to-text, speaker detection, sentiment analysis, and more. Build with pre-recorded or streaming audio using REST APIs and WebSockets.","colors":{"primary":"#614fd2","light":"#887bdd","dark":"#614fd2"},"logo":{"light":"https://mintcdn.com/assemblyai-fff14a6f/vMuNaI_PbWUbVeV0/assets/assemblyai-lockup-primary.svg?fit=max\u0026auto=format\u0026n=vMuNaI_PbWUbVeV0\u0026q=85\u0026s=808d2a677e2536423045d44b3f330ac2","dark":"https://mintcdn.com/assemblyai-fff14a6f/vMuNaI_PbWUbVeV0/assets/assemblyai-lockup-secondary.svg?fit=max\u0026auto=format\u0026n=vMuNaI_PbWUbVeV0\u0026q=85\u0026s=065ec1618693f8650241242ec62ed0ad","href":"https://www.assemblyai.com"},"favicon":"https://mintcdn.com/assemblyai-fff14a6f/6OQYF4QMRVQRoCb1/assets/favicon.png?fit=max\u0026auto=format\u0026n=6OQYF4QMRVQRoCb1\u0026q=85\u0026s=74b6b6a7321938bd113d4a271e06068d","api":{"openapi":["openapi.yaml","api-reference/specs/llm-gateway.yaml","api-reference/specs/streaming-token.yaml"],"asyncapi":["api-reference/specs/streaming.yaml","api-reference/specs/streaming-tts.yaml"]},"background":{"color":{"light":"#fdfcf8","dark":"#1d1b16"}},"navbar":{"links":[{"href":"https://www.assemblyai.com/playground","label":"Playground"},{"href":"https://www.assemblyai.com/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Sign In","href":"https://www.assemblyai.com/dashboard/login"}},"footer":{"socials":{"x":"https://x.com/AssemblyAI","github":"https://github.com/AssemblyAI","linkedin":"https://www.linkedin.com/company/assemblyai"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://www.assemblyai.com/legal/terms-of-service"},{"label":"Privacy Policy","href":"https://www.assemblyai.com/legal/privacy-policy"},{"label":"Trust Center","href":"https://app.vanta.com/assemblyai/trust/7n80syl8zln1bn1qm3x8eg"},{"label":"Subprocessors","href":"https://app.vanta.com/assemblyai/trust/7n80syl8zln1bn1qm3x8eg/subprocessors"}]}]},"seo":{"metatags":{"canonical":"https://www.assemblyai.com/docs"}},"fonts":{"heading":{"family":"GT Standard","weight":600,"source":"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Semibold.woff2","format":"woff2"},"body":{"family":"GT Standard","weight":400,"source":"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Regular.woff2","format":"woff2"}},"icons":{"library":"fontawesome"},"banner":{"content":"**New** AssemblyAI-TTS-1: Text-to-speech for voice agents. [Learn more](https://www.assemblyai.com/docs/tts/getting-started/quickstart)","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"assemblyai-fff14a6f","hasAudioNarration":false,"actualSubdomain":"assemblyai-fff14a6f","customDomains":["assemblyai.com"],"gitSource":{"type":"github","owner":"assemblyai","repo":"assemblyai-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeccb38184351b562255256","collectionId":"b8508a41-1b7f-4c95-9e7e-f8654882a006","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeccb38184351b562255256"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeccb38184351b562255256","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"Overview","count":115},{"language":"default","tag":"FAQ","count":94},{"language":"default","tag":"Pre-recorded STT","count":69},{"language":"default","tag":"Guides","count":59},{"language":"default","tag":"Real-time STT","count":50},{"language":"default","tag":"Tutorials","count":48},{"language":"default","tag":"Pre-recorded audio","count":47},{"language":"default","tag":"LLM Gateway","count":44},{"language":"default","tag":"Features","count":37},{"language":"default","tag":"API reference","count":35}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"attachments":{"status":"DISABLED"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"GT Standard\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Regular.woff2\")\n format(\"woff2\"),\n url(\"https://www.assemblyai.com/docs/assets/GT-Standard-M-Regular.woff2\")\n format(\"woff2\"),\n url(\"/assets/GT-Standard-M-Regular.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"GT Standard\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Medium.woff2\")\n format(\"woff2\"),\n url(\"https://www.assemblyai.com/docs/assets/GT-Standard-M-Medium.woff2\")\n format(\"woff2\"),\n url(\"/assets/GT-Standard-M-Medium.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"GT Standard\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Semibold.woff2\")\n format(\"woff2\"),\n url(\"https://www.assemblyai.com/docs/assets/GT-Standard-M-Semibold.woff2\")\n format(\"woff2\"),\n url(\"/assets/GT-Standard-M-Semibold.woff2\") format(\"woff2\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Light.woff2\")\n format(\"woff2\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Regular.woff2\")\n format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Medium.woff2\")\n format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Italic.woff2\")\n format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}html:root{--font-family-body-custom: \"GT Standard\", -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif;--font-family-headings-custom: \"GT Standard\", -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif}code,kbd,samp,pre,pre code,pre code span{font-family:\"Modern Gothic Mono\", \"JetBrains Mono\", ui-monospace, SFMono-Regular,\n Menlo, Consolas, monospace!important}html{overflow-y:scroll;scrollbar-gutter:stable}pre,pre code,pre code span{font-size:0.75rem!important;line-height:1.5!important}:not(pre)>code{font-size:0.75rem!important;line-height:inherit!important}[data-nav-tag=\"WSS\"]{color:#614fd2!important;background-color:rgba(136, 123, 221, 0.14)!important;font-size:0.55rem!important}:is(.dark) [data-nav-tag=\"WSS\"]{color:#887bdd!important}div:has(>.nav-tag-pill>[data-nav-tag=\"WSS\"]){order:-1}.nav-tag-pill:has(>[data-nav-tag=\"WSS\"]){width:2.375rem;justify-content:flex-start}.ws-endpoint{display:flex;align-items:center;gap:0.625rem;margin:1rem 0 1.75rem;padding:0.5rem 0.75rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.5rem;background:rgba(0, 0, 0, 0.02);font-size:0.875rem;overflow-x:auto}:is(.dark) .ws-endpoint{border-color:rgba(255, 255, 255, 0.1);background:rgba(255, 255, 255, 0.03)}.ws-endpoint-badge{flex:none;font-weight:700;font-size:0.75rem;letter-spacing:0.02em;color:#614fd2;background:rgba(136, 123, 221, 0.14);padding:0.1875rem 0.5rem;border-radius:0.375rem}:is(.dark) .ws-endpoint-badge{color:#887bdd}.ws-endpoint-url{font-family:ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace;white-space:nowrap}#assistant-entry,:is(.dark) #assistant-entry{background-color:#614fd2!important;filter:none!important}#assistant-entry:hover,:is(.dark) #assistant-entry:hover{background-color:#614fd2!important;opacity:0.9;filter:none!important}#assistant-entry span,#assistant-entry svg,:is(.dark) #assistant-entry span,:is(.dark) #assistant-entry svg{color:#ffffff!important}.callout strong{font-weight:700}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-o-font-smoothing:antialiased}.katex-display{overflow-x:visible!important;overflow-y:visible!important}.katex-display>.katex{display:flex!important;justify-content:center;width:100%!important;overflow-x:visible!important;overflow-y:visible!important}.katex-display>.katex>.katex-html{display:inline-block!important;width:auto!important;max-width:100%;overflow-x:visible!important;overflow-y:visible!important}.card-logo-icon{display:block;width:1.5rem!important;height:1.5rem!important;min-width:1.5rem;max-width:1.5rem;max-height:1.5rem;margin:0!important;object-fit:contain;object-position:center;vertical-align:middle}.card-logo-icon-livekit{transform:scale(0.9)}.card-logo-icon-pipecat{transform:scale(1.12)}.card-logo-icon-livekit,.card-logo-icon-pipecat,.card-logo-icon-vercel{color:#614fd2}:is(.dark) .card-logo-icon-livekit,:is(.dark) .card-logo-icon-pipecat,:is(.dark) .card-logo-icon-vercel{color:#887bdd}.recommended-pill{background:#614fd2;color:#fff;padding:2px 8px;border-radius:9999px;font-size:0.7rem;font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap}:is(.dark) .recommended-pill{background:#614fd2}.preview-pill{background:#b45309;color:#fff;padding:2px 8px;border-radius:9999px;font-size:0.7rem;font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap}:is(.dark) .preview-pill{background:#b45309}table code{white-space:nowrap}"}],"page":{"pagePath":"faq/where-can-i-find-curl-code-examples","slug":"/faq/where-can-i-find-curl-code-examples","pageMetadata":{"title":"Where can I find cURL code examples?","og.description":"Where can I find cURL code examples? documentation.","description":null,"href":"/faq/where-can-i-find-curl-code-examples"},"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`,p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`You can find cURL examples throughout our API reference documentation. Each endpoint includes sample cURL requests that you can copy and modify for your use case.`}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-find-curl-examples`,children:`Where to find cURL examples`}),`\n`,_jsxs(_components.p,{children:[`Visit the `,_jsx(_components.a,{href:`/pre-recorded-audio/api-reference/files/upload`,children:`API reference section`}),` of our documentation. Each API endpoint page includes cURL code examples.`]}),`\n`,_jsxs(_components.p,{children:[`For example, the `,_jsx(_components.a,{href:`/pre-recorded-audio/api-reference/transcripts/submit`,children:`Submit a file for transcription page`}),` shows the cURL request format for submitting audio files.`]}),`\n`,_jsx(Heading,{level:`2`,id:`converting-other-code-examples-to-curl`,children:`Converting other code examples to cURL`}),`\n`,_jsx(_components.p,{children:`If you see code examples in other programming languages in our documentation, you can use AI tools like ChatGPT or Claude to convert those examples into cURL format. Simply provide the code example and ask the AI tool to recreate it as a cURL request.`})]})}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":"Where can I find cURL code examples?","og.description":"Where can I find cURL code examples? documentation.","description":null,"href":"/faq/where-can-i-find-curl-code-examples"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where to find cURL examples","slug":"where-to-find-curl-examples","depth":2,"children":[]},{"title":"Converting other code examples to cURL","slug":"converting-other-code-examples-to-curl","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/assemblyai-fff14a6f/83628fb7cd91f870/rudderstack.js","/docs/_mintlify/custom/assemblyai-fff14a6f/700d2574de973df9/chat-widget.js"],"subdomain":"assemblyai-fff14a6f","siteName":"AssemblyAI","title":"Where can I find cURL code examples? - AssemblyAI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T18:06:31.563Z","originalFileLocation":"faq/where-can-i-find-curl-code-examples.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=\"application-name\" content=\"AssemblyAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_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=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Where can I find cURL code examples? - AssemblyAI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AssemblyAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assemblyai-fff14a6f.mintlify.app/_mintlify/api/og/v2?division=Pre-recorded+audio\u0026amp;title=Where+can+I+find+cURL+code+examples%3F\u0026amp;theme=de66a831debd161b892ce587\u0026amp;signature=1e955d36cc9dc06c17110993445ee2415bcefae25dea06021ef46b8a18bbc382\">\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=\"Where can I find cURL code examples? - AssemblyAI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assemblyai-fff14a6f.mintlify.app/_mintlify/api/og/v2?division=Pre-recorded+audio\u0026amp;title=Where+can+I+find+cURL+code+examples%3F\u0026amp;theme=de66a831debd161b892ce587\u0026amp;signature=1e955d36cc9dc06c17110993445ee2415bcefae25dea06021ef46b8a18bbc382\">\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=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AssemblyAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#614fd2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/faq/where-can-i-find-curl-code-examples.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.assemblyai.com/#organization\",\"name\":\"AssemblyAI\",\"url\":\"https://www.assemblyai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/assemblyai-fff14a6f/vMuNaI_PbWUbVeV0/assets/assemblyai-lockup-primary.svg?fit=max\u0026auto=format\u0026n=vMuNaI_PbWUbVeV0\u0026q=85\u0026s=808d2a677e2536423045d44b3f330ac2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.assemblyai.com/docs#website\",\"name\":\"AssemblyAI\",\"url\":\"https://www.assemblyai.com/docs\",\"publisher\":{\"@id\":\"https://www.assemblyai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples#webpage\",\"url\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples\",\"name\":\"Where can I find cURL code examples?\",\"dateModified\":\"2026-11-04T18:06:31.563Z\",\"isPartOf\":{\"@id\":\"https://www.assemblyai.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://www.assemblyai.com/docs/faq\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pre-recorded audio\",\"item\":\"https://www.assemblyai.com/docs/faq/am-i-charged-for-transcribing-silent-audio\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Where can I find cURL code examples?\",\"item\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples#article\",\"headline\":\"Where can I find cURL code examples?\",\"name\":\"Where can I find cURL code examples?\",\"url\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples\",\"mainEntityOfPage\":{\"@id\":\"https://www.assemblyai.com/docs/faq/where-can-i-find-curl-code-examples#webpage\"},\"dateModified\":\"2026-11-04T18:06:31.563Z\",\"publisher\":{\"@id\":\"https://www.assemblyai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.assemblyai.com/docs#website\"}}]}\u003c/script>","siteName":"AssemblyAI","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"Pre-recorded STT","pages":[{"title":"Pre-recorded STT","href":"/pre-recorded-audio/getting-started/transcribe-an-audio-file"}]},{"tab":"Real-time STT","pages":[{"title":"Real-time STT","href":"/streaming/getting-started/transcribe-streaming-audio"}]},{"tab":"Sync STT","pages":[{"title":"Sync STT","href":"/sync-stt/getting-started/quickstart"}]},{"tab":"Dictation API","pages":[{"title":"Dictation API","href":"/dictation"}]},{"tab":"Text to Speech","pages":[{"title":"Text to Speech","href":"/tts/getting-started/quickstart"}]},{"tab":"Voice Agent API","hidden":true,"pages":[{"title":"Voice Agent API","href":"/voice-agents/voice-agent-api"}]},{"tab":"Speech Understanding","pages":[{"title":"Speech Understanding","href":"/speech-understanding/getting-started"}]},{"tab":"Guardrails","pages":[{"title":"Guardrails","href":"/guardrails/getting-started"}]},{"tab":"LLM Gateway","pages":[{"title":"LLM Gateway","href":"/llm-gateway/quickstart"}]},{"tab":"FAQ","groups":[{"group":"Overview","root":{"title":"Frequently Asked Questions","sidebarTitle":"Overview","href":"/faq"},"pages":[{"group":"Privacy \u0026 Security","pages":[{"title":"Has AssemblyAI certified to the EU-U.S. Data Privacy Framework?","href":"/faq/has-assemblyai-certified-to-the-eu-us-data-privacy-framework"},{"title":"Can I sign a DPA agreement with AssemblyAI?","href":"/faq/can-i-sign-a-dpa-agreement-with-assemblyai"},{"title":"Can you provide a copy of your most recent penetration test executive summary?","href":"/faq/can-you-provide-a-copy-of-your-most-recent-penetration-test-executive-summary"},{"title":"Can you provide a recent vulnerability scan?","href":"/faq/can-you-provide-a-recent-vulnerability-scan"},{"title":"Will AssemblyAI sign a Business Associate Addendum (BAA) as described in the HIPAA rules and regulations?","href":"/faq/can-you-sign-a-baa"},{"title":"Do you have a formal risk assessment policy or process?","href":"/faq/do-you-have-a-formal-risk-assessment-policy-or-process"},{"title":"Do you have documented information security policies? If so, how frequently are they updated?","href":"/faq/do-you-have-documented-information-security-policies-if-so-how-frequently-are-they-updated"},{"title":"Do you offer self-hosted solutions?","href":"/faq/do-you-offer-self-hosted-solutions"},{"title":"Do you offer servers in the EU?","href":"/faq/do-you-offer-servers-in-the-eu"},{"title":"Do you support SAML in your product?","href":"/faq/do-you-support-saml-in-your-product"},{"title":"How long are outputs maintained?","href":"/faq/how-long-are-outputs-retained"},{"title":"Does AssemblyAI utilize an anti-virus/anti-malware solution across all relevant infrastructure (workstations and servers), and are appropriate response capabilities deployed to respond to alerts?","href":"/faq/does-assemblyai-utilize-an-anti-virus-anti-malware-solution-across-all-relevant-infrastructure-workstations-and-servers-and-are-appropriate-response-capabilities-deployed-to-respond-to-ale"},{"title":"How are incidents escalated within your organization?","href":"/faq/how-are-incidents-escalated-within-your-organization"},{"title":"How do we securely use your service?","href":"/faq/how-do-we-securely-use-your-service"},{"title":"How do you protect production code?","href":"/faq/how-do-you-protect-production-code"},{"title":"How to Access AssemblyAI's Security Reports","href":"/faq/how-to-access-assemblyai-s-security-reports"},{"title":"How to Opt Out of Data Sharing for our Model Improvement Program","href":"/faq/how-to-opt-out-of-data-sharing-for-our-model-improvement-program"},{"title":"Is multi-factor authentication enforced for all access to scoped systems and data?","href":"/faq/is-multi-factor-authentication-enforced-for-all-access-to-scoped-systems-and-data"},{"title":"Does AssemblyAI have a documented process for reviewing and approving third-party service providers?","href":"/faq/is-there-a-documented-process-for-reviewing-and-approving-third-party-service-providers"},{"title":"Does AssemblyAI have an incident response plan?","href":"/faq/please-describe-the-incident-response-plan"},{"title":"What are your recovery time and recovery point objectives?","href":"/faq/what-are-your-recovery-time-and-recovery-point-objectives"},{"title":"What is your SLA for repairing Critical/High/Medium vulnerabilities?","href":"/faq/what-is-your-sla-for-repairing-critical-high-medium-vulnerabilities"},{"title":"What logs are available to customers?","href":"/faq/what-logs-are-available-to-customers"},{"title":"What standards do your internal password policies follow?","href":"/faq/what-standards-do-your-internal-password-policies-follow"},{"title":"Where are your servers located?","href":"/faq/where-are-your-servers-located"},{"title":"Where is my audio, transcript, and prompt data processed?","href":"/faq/where-is-my-audio-transcript-and-prompt-data-processed"}]},{"group":"Pre-recorded audio","pages":[{"title":"Am I charged for transcribing silent audio?","href":"/faq/am-i-charged-for-transcribing-silent-audio"},{"title":"Are Custom Models More Accurate than General Models?","href":"/faq/are-custom-models-more-accurate-than-general-models"},{"title":"Do I Get Charged for Failed API Calls?","href":"/faq/are-customers-charged-for-api-calls-that-result-in-errors"},{"title":"Are there any limits on file size or file duration for files submitted to the API?","href":"/faq/are-there-any-limits-on-file-size-or-file-duration-for-files-submitted-to-the-api"},{"title":"Can I customize how words are spelled by the model?","href":"/faq/can-i-customize-how-words-are-spelled-by-the-model"},{"title":"Can I delete the transcripts I have created using the API?","href":"/faq/can-i-delete-the-transcripts-i-have-created-using-the-api"},{"title":"Can I get a list of all transcripts I have created?","href":"/faq/can-i-get-a-list-of-all-transcripts-i-have-created"},{"title":"Can I send audio to AssemblyAI in segments and still get speaker labels for the whole recording?","href":"/faq/can-i-send-audio-to-assemblyai-in-segments-and-still-get-speaker-labels-for-the-whole-recording"},{"title":"Can I submit files to the API that are stored in a Google Drive?","href":"/faq/can-i-submit-files-to-the-api-that-are-stored-in-a-google-drive"},{"title":"Can I use the API without internet access?","href":"/faq/can-i-use-the-api-without-internet-access"},{"title":"Do we have resources for building with Make?","href":"/faq/do-we-have-resources-for-building-with-make-"},{"title":"Do you have any examples for how to use your API?","href":"/faq/do-you-have-any-examples-for-how-to-use-your-api-"},{"title":"Do you have example use cases for using AssemblyAI?","href":"/faq/do-you-have-example-use-cases-for-using-assemblyai-"},{"title":"Do you offer cross-file Speaker Identification?","href":"/faq/do-you-offer-cross-file-speaker-identification"},{"title":"Do you offer translation?","href":"/faq/do-you-offer-translation"},{"title":"Does it cost extra to export SRT or VTT captions?","href":"/faq/does-it-cost-extra-to-export-srt-or-vtt-captions"},{"title":"Is there a way to generate SRT or VTT captions with speaker labels?","href":"/faq/is-there-a-way-to-generate-srt-or-vtt-captions-with-speaker-labels"},{"title":"Does it cost more to transcribe an audio or video?","href":"/faq/does-it-cost-more-to-transcribe-an-audio-or-video"},{"title":"Does your API return timestamps for individual words?","href":"/faq/does-your-api-return-timestamps-for-individual-words"},{"title":"How are individual speakers identified and how does the Speaker Label feature work?","href":"/faq/how-are-individual-speakers-identified-and-how-does-the-speaker-label-feature-work"},{"title":"How are paragraphs created for the /paragraphs endpoint?","href":"/faq/how-are-paragraphs-created-for-the-paragraphs-endpoint"},{"title":"How are word/transcript level confidence scores calculated?","href":"/faq/how-are-word-transcript-level-confidence-scores-calculated"},{"title":"How can I integrate AssemblyAI with other services?","href":"/faq/how-can-i-integrate-assemblyai-with-other-services-"},{"title":"How can I make certain words more likely to be transcribed?","href":"/faq/how-can-i-make-certain-words-more-likely-to-be-transcribed"},{"title":"How can I test AssemblyAI without writing code?","href":"/faq/how-can-i-test-assemblyai-without-writing-code-"},{"title":"How can I transcribe YouTube videos?","href":"/faq/how-can-i-transcribe-youtube-videos"},{"title":"How do I generate subtitles?","href":"/faq/how-do-i-generate-subtitles"},{"title":"How does AssemblyAI compare to other ASR providers?","href":"/faq/how-does-assemblyai-compare-to-other-asr-providers"},{"title":"How does Automatic Language Detection work?","href":"/faq/how-does-language-detection-work-for-transcriptions"},{"title":"How does the API handle files that contain spoken audio in multiple languages?","href":"/faq/how-does-the-api-handle-files-that-contain-spoken-audio-in-multiple-languages"},{"title":"How long does it take to transcribe a file?","href":"/faq/how-long-does-it-take-to-transcribe-a-file"},{"title":"What should I do if I'm getting an error?","href":"/faq/i-am-getting-an-error-what-should-i-do"},{"title":"Is there a Postman collection for using the API?","href":"/faq/is-there-a-postman-collection-for-using-the-api"},{"title":"Is there a way for us to send the start time / end time for transcription instead of transcribing the whole length of a call recording?","href":"/faq/is-there-a-way-for-us-to-send-the-start-time-end-time-for-transcription-instead-of-transcribing-the-whole-length-of-a-call-recording"},{"title":"Is there an OpenAPI spec/schema for the API?","href":"/faq/is-there-an-openapi-spec-schema-for-the-api"},{"title":"What causes a \"read operation timed out\" error?","sidebarTitle":"read operation timed out\" error","href":"/faq/read-operation-timed-out-error"},{"title":"Should I use Speaker Labels or Multi-channel?","href":"/faq/should-i-use-speaker-labels-or-multi-channel"},{"title":"Should I use the NA or EU endpoint for my Speech-to-Text requests?","href":"/faq/should-i-use-the-na-or-eu-endpoint"},{"title":"What are the recommended options for audio noise reduction?","href":"/faq/what-are-the-recommended-options-for-audio-noise-reduction"},{"title":"What audio and video file types are supported by your API?","href":"/faq/what-audio-and-video-file-types-are-supported-by-your-api"},{"title":"What IP Address Should I Whitelist for AssemblyAI?","href":"/faq/what-ip-address-should-i-whitelist-for-assemblyai"},{"title":"What is the minimum audio duration that the API can transcribe?","href":"/faq/what-is-the-minimum-audio-duration-that-the-api-can-transcribe"},{"title":"What is the recommended file type for using your API?","href":"/faq/what-is-the-recommended-file-type-for-using-your-api"},{"title":"What types of audio URLs can I use with the API?","href":"/faq/what-types-of-audio-urls-can-i-use-with-the-api"},{"title":"Where can I find a list of recent changes to the API?","description":null,"href":"/faq/where-can-i-find-a-list-of-recent-changes-to-the-api"},{"title":"Where can I find cURL code examples?","href":"/faq/where-can-i-find-curl-code-examples"},{"title":"Why can't I access recording URLs from the /upload endpoint directly?","description":null,"href":"/faq/why-cant-i-access-urls-from-the-upload-endpoint-directly"}]},{"group":"Streaming audio","pages":[{"title":"Can I use speaker diarization with Streaming Speech-to-Text?","href":"/faq/can-i-use-speaker-diarization-with-live-audio-transcription"},{"title":"How accurate is your Streaming transcription compared to Async transcription?","href":"/faq/how-accurate-is-your-real-time-transcription-compared-to-async-transcription"},{"title":"How does Universal Streaming session-based pricing work?","href":"/faq/how-does-universal-streaming-session-based-pricing-work"},{"title":"What languages are supported for Streaming Speech-to-text?","href":"/faq/language-support-for-real-time-transcription"},{"title":"Resolving SSL Certificate Verification Error When Trying to Use Real-time STT","href":"/faq/resolving-ssl-certificate-verification-error-in-assemblyai-real-time-transcriber"},{"title":"I am getting a \"Model deprecated. See docs for new model information\" error message. What does it mean?","href":"/faq/upgrading-to-the-universal-streaming-model"}]},{"group":"Speech understanding","pages":[{"title":"How do Content Moderation severity scores work?","href":"/faq/how-do-content-moderation-severity-scores-work"},{"title":"How can I summarize my audio file?","href":"/faq/how-do-your-summarization-models-work"},{"title":"Is Mistral still supported?","href":"/faq/is-mistral-still-supported"},{"title":"Is pricing for Speech Understanding per feature or all-inclusive?","sidebarTitle":"Is pricing for Speech Understanding per feature or all inclusive?","href":"/faq/is-pricing-for-audio-intelligence-per-feature-or-all-inclusive"}]},{"group":"LLM Gateway","pages":[{"title":"Understanding Input and Output Tokens for LLM Gateway","href":"/faq/understanding-input-and-output-tokens-for-llm-gateway"}]},{"group":"Playground","pages":[{"title":"Can you use the Playground with files in languages other than English?","href":"/faq/can-you-use-the-playground-with-files-in-languages-other-than-english"},{"title":"How do I delete a transcript I created using the Playground?","href":"/faq/how-do-i-delete-a-transcript-i-created-using-the-playground"},{"title":"Why is the transcription I am receiving using the Playground in a different language?","href":"/faq/why-is-the-transcription-i-am-receiving-using-the-playground-in-a-different-language"}]},{"group":"Company","pages":[{"title":"Do you have an affiliate marketing program?","href":"/faq/do-you-have-an-affiliate-marketing-program"},{"title":"Do you have any job openings or internship opportunities?","href":"/faq/do-you-have-any-job-openings-or-internship-opportunities"},{"title":"How do I get in touch with your Sales team?","href":"/faq/how-do-i-get-in-touch-with-your-sales-team"},{"title":"I’ve spotted an issue with the website, what should I do?","sidebarTitle":"I've spotted an issue with the website, what should I do?","href":"/faq/ive-spotted-an-issue-with-the-website-what-should-i-do"},{"title":"How do I contact support and what are your response time SLAs?","href":"/faq/what-are-your-support-hours-and-response-time-slas"},{"title":"What is your API Uptime SLA?","href":"/faq/what-is-your-api-uptime-sla"},{"title":"Where can I find AssemblyAI's product roadmap?","href":"/faq/where-can-i-find-assemblyais-product-roadmap"}]}]}]}]},"basePath":"","title":"Where can I find cURL code examples? - AssemblyAI","buildId":"dpl_DQCMP4mismmBj3AFK7YZqNhrtLNq","deploymentId":"dpl_DQCMP4mismmBj3AFK7YZqNhrtLNq","dynamics":["10e4515597"],"chunks":["BannerMarkdown-Brp0mPUt.js","dist-Dpla8_R7.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-C_advUgl.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}