{"docsConfig":{"theme":"mint","$schema":"https://leaves.mintlify.com/schema/docs.json","name":"Uplift AI API Docs","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/upliftai/2tcJSpA9F8g1W_V1/logo/logo.png?fit=max\u0026auto=format\u0026n=2tcJSpA9F8g1W_V1\u0026q=85\u0026s=c3823c19a41e66e704751aa27b97cde9","dark":"https://mintcdn.com/upliftai/2tcJSpA9F8g1W_V1/logo/logo.png?fit=max\u0026auto=format\u0026n=2tcJSpA9F8g1W_V1\u0026q=85\u0026s=c3823c19a41e66e704751aa27b97cde9"},"favicon":"https://mintcdn.com/upliftai/2tcJSpA9F8g1W_V1/favicon.ico?fit=max\u0026auto=format\u0026n=2tcJSpA9F8g1W_V1\u0026q=85\u0026s=a680f5e0b8dc59015e866648796975b1","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:founders@upliftai.org","label":"Support"}],"primary":{"type":"button","label":"Sign Up","href":"https://upliftai.org"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/upliftai"}},"integrations":{"posthog":{"apiKey":"phc_EGK5H7jrhZrIhLXWfAWCmjjljJQwF6ejp1P73EtmG7q","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"upliftai","hasAudioNarration":false,"actualSubdomain":"upliftai","customDomains":["docs.upliftai.org"],"gitSource":{"type":"github","owner":"uplift-initiative","repo":"runtime-api-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad19546b972aa427bda6d00","collectionId":"b7edb18e-15cc-432b-96ea-8eb92e58f089","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad19546b972aa427bda6d00"},"entitlements":{},"buildId":"6ad19546b972aa427bda6d00","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Voice Agents","count":80},{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"Orator API","count":25},{"language":"default","tag":"SDKs","count":18},{"language":"default","tag":"Assistants","count":16},{"language":"default","tag":"Campaigns","count":11},{"language":"default","tag":"Contacts","count":11},{"language":"default","tag":"Orator REST API","count":9},{"language":"default","tag":"Node.js SDK","count":8},{"language":"default","tag":"Calling","count":6}]},"assistantConfig":{},"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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".urdu{font-family:'Noto Nastaliq Urdu',sans-serif;font-size:1.2em;line-height:1.5em;text-align:justify;direction:rtl;unicode-bidi:embed;font-weight:400;font-style:normal;font-variant:normal;text-transform:none}"}],"page":{"pagePath":"api-reference/endpoint/create-phrase-replacement-config","slug":"/api-reference/endpoint/create-phrase-replacement-config","pageMetadata":{"openapi":"post /synthesis/phrase-replacement-config","title":"Create Phrase Replacement Config","description":"\u003cb>Create a new phrase replacement configuration\u003c/b>\n\nCreates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\n","href":"/api-reference/endpoint/create-phrase-replacement-config"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, 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(_Fragment, {\n children: [_jsx(\"b\", {\n children: \"Create a new phrase replacement configuration\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Creates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\"\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /synthesis/phrase-replacement-config","title":"Create Phrase Replacement Config","description":"\u003cb>Create a new phrase replacement configuration\u003c/b>\n\nCreates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\n","href":"/api-reference/endpoint/create-phrase-replacement-config"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/upliftai/ed1a602c792dd94e/data/voices.js"],"openApiReferenceData":{"operation":{"summary":"Create Phrase Replacement Config","description":"\u003cb>Create a new phrase replacement configuration\u003c/b>\n\nCreates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\n","security":["47fd3a12-5f70-46a0-98b0-2632676900ea"],"requestBody":"ac0cd464-92e6-4602-a5c4-cc6f5d8ad121","responses":{"201":"5c27d991-e4d6-4092-b847-6e6fdf7735fe","400":"508b4ca5-f97c-46d5-8862-860c1a77a49d","429":"8d8a307e-d46b-4ea9-8a34-974954aef41c"},"x-codeSamples":[{"lang":"JavaScript","label":"Create phrase replacement config","source":"{\n \"phraseReplacements\": [\n {\n \"phrase\": \"سیونگز اکاؤنٹ\",\n \"replacement\": \"savings account\"\n },\n {\n \"phrase\": \"Isabion\",\n \"replacement\": \"ایزابیان\"\n },\n {\n \"phrase\": \"Meezan bank\",\n \"replacement\": \"میزان بینک\"\n }\n ]\n}\n"}],"method":"post","type":"path","servers":["8bde6ea0-ee85-49ab-8e57-d7e47190a598"],"path":"/synthesis/phrase-replacement-config","baseUrlOptions":["https://api.upliftai.org/v1"],"title":"Create Phrase Replacement Config","codeSamples":[{"label":"Create phrase replacement config","lang":"JavaScript","source":"{\n \"phraseReplacements\": [\n {\n \"phrase\": \"سیونگز اکاؤنٹ\",\n \"replacement\": \"savings account\"\n },\n {\n \"phrase\": \"Isabion\",\n \"replacement\": \"ایزابیان\"\n },\n {\n \"phrase\": \"Meezan bank\",\n \"replacement\": \"میزان بینک\"\n }\n ]\n}\n"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["phraseReplacements"],"description":"Request to create or update phrase replacement configuration","properties":{"phraseReplacements":{"type":"array","maxItems":1000,"description":"Array of phrase replacement rules","items":{"type":"object","required":["phrase","replacement"],"description":"Configuration for how to replace specific phrases","properties":{"phrase":{"type":"string","maxLength":50,"description":"Original phrase to be replaced","isRequired":true,"uniqueKey":"phraseReplacements.items.[INDEX].phrase","typeLabel":"string"},"replacement":{"type":"string","maxLength":50,"description":"Text to use as replacement","isRequired":true,"uniqueKey":"phraseReplacements.items.[INDEX].replacement","typeLabel":"string"}},"uniqueKey":"phraseReplacements.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"phraseReplacements","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"phraseReplacements":[{"phrase":"\u003cstring>","replacement":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5c27d991-e4d6-4092-b847-6e6fdf7735fe":{"description":"Successful creation of configuration","content":{"application/json":{"schema":{"type":"object","required":["configId","phraseReplacements"],"description":"Response containing phrase replacement configuration","properties":{"configId":{"type":"string","description":"Unique identifier for the configuration","isRequired":true,"uniqueKey":"configId","typeLabel":"string"},"phraseReplacements":{"type":"array","description":"Array of phrase replacement rules","items":{"type":"object","required":["phrase","replacement"],"description":"Configuration for how to replace specific phrases","properties":{"phrase":{"type":"string","maxLength":50,"description":"Original phrase to be replaced","isRequired":true,"uniqueKey":"phraseReplacements.items.[INDEX].phrase","typeLabel":"string"},"replacement":{"type":"string","maxLength":50,"description":"Text to use as replacement","isRequired":true,"uniqueKey":"phraseReplacements.items.[INDEX].replacement","typeLabel":"string"}},"uniqueKey":"phraseReplacements.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"phraseReplacements","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"configId":"\u003cstring>","phraseReplacements":[{"phrase":"\u003cstring>","replacement":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"508b4ca5-f97c-46d5-8862-860c1a77a49d":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8d8a307e-d46b-4ea9-8a34-974954aef41c":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Rate limit exceeded, please try again later","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Rate limit exceeded, please try again later"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"47fd3a12-5f70-46a0-98b0-2632676900ea":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API key with format \"Bearer sk_api_...\"","scopes":[]}}},"servers":{"8bde6ea0-ee85-49ab-8e57-d7e47190a598":{"url":"https://api.upliftai.org/v1","description":"Version 1 API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"API key with format \"Bearer sk_api_...\"","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"API key with format \"Bearer sk_api_...\"","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"Authorization"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.yml"},"subdomain":"upliftai","siteName":"Uplift AI API Docs","title":"Create Phrase Replacement Config - Uplift AI API Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-17T06:31:43.601Z","originalFileLocation":"api-reference/endpoint/create-phrase-replacement-config.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Create a new phrase replacement configuration Creates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Uplift AI API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_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/upliftai/JKzTglt2sBZGZsC-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Phrase Replacement Config - Uplift AI API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new phrase replacement configuration Creates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Uplift AI API Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://upliftai.mintlify.app/_mintlify/api/og/v2?division=Orator+REST+API\u0026amp;title=Create+Phrase+Replacement+Config\u0026amp;description=%3Cb%3ECreate+a+new+phrase+replacement+configuration%3C%2Fb%3E%0A%0ACreates+a+new+configuration+for+phrase+replacements+that+can+be+applied+during+text-to-speech+synthesis.%0A\u0026amp;theme=1c9d9b77c76d5cd8320c7edd\u0026amp;signature=767d291f5ea2d3951da32907ea567e2f746b5bffed905c8aafed0af8b6a3cd87\">\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=\"Create Phrase Replacement Config - Uplift AI API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new phrase replacement configuration Creates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://upliftai.mintlify.app/_mintlify/api/og/v2?division=Orator+REST+API\u0026amp;title=Create+Phrase+Replacement+Config\u0026amp;description=%3Cb%3ECreate+a+new+phrase+replacement+configuration%3C%2Fb%3E%0A%0ACreates+a+new+configuration+for+phrase+replacements+that+can+be+applied+during+text-to-speech+synthesis.%0A\u0026amp;theme=1c9d9b77c76d5cd8320c7edd\u0026amp;signature=767d291f5ea2d3951da32907ea567e2f746b5bffed905c8aafed0af8b6a3cd87\">\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/upliftai/JKzTglt2sBZGZsC-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Uplift AI API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/create-phrase-replacement-config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.upliftai.org/#organization\",\"name\":\"Uplift AI API Docs\",\"url\":\"https://docs.upliftai.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/upliftai/2tcJSpA9F8g1W_V1/logo/logo.png?fit=max\u0026auto=format\u0026n=2tcJSpA9F8g1W_V1\u0026q=85\u0026s=c3823c19a41e66e704751aa27b97cde9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.upliftai.org#website\",\"name\":\"Uplift AI API Docs\",\"url\":\"https://docs.upliftai.org\",\"publisher\":{\"@id\":\"https://docs.upliftai.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config#webpage\",\"url\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config\",\"name\":\"Create Phrase Replacement Config\",\"description\":\"Create a new phrase replacement configuration Creates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\",\"dateModified\":\"2025-08-17T06:31:43.601Z\",\"isPartOf\":{\"@id\":\"https://docs.upliftai.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDKs\",\"item\":\"https://docs.upliftai.org/api-reference/endpoint/text-to-speech\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orator REST API\",\"item\":\"https://docs.upliftai.org/api-reference/endpoint/text-to-speech\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Phrase Replacement Config\",\"item\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config#apireference\",\"headline\":\"Create Phrase Replacement Config\",\"name\":\"Create Phrase Replacement Config\",\"description\":\"Create a new phrase replacement configuration Creates a new configuration for phrase replacements that can be applied during text-to-speech synthesis.\",\"url\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.upliftai.org/api-reference/endpoint/create-phrase-replacement-config#webpage\"},\"dateModified\":\"2025-08-17T06:31:43.601Z\",\"publisher\":{\"@id\":\"https://docs.upliftai.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.upliftai.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Uplift AI API Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Uplift AI API Docs","nav":{"global":null,"tabs":[{"tab":"Orator API","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Uplift AI","href":"/introduction"},{"title":"Quickstart Guide","icon":"microphone","href":"/orator"},{"title":"Realtime Voice Assistants","icon":"robot","url":"/voice-agents/getting-started/overview","href":"/voice-agents-link"}]},{"group":"Core Concepts","pages":[{"title":"Async TTS Concepts","icon":"clock","href":"/async-concepts"},{"title":"WebSocket TTS API","icon":"plug","href":"/websocket-tts"},{"title":"Voices","href":"/orator_voices"},{"title":"Request Limits","href":"/orator_limits"}]},{"group":"SDKs","pages":[{"group":"Orator REST API","icon":"code","expanded":false,"pages":[{"openapi":"post /synthesis/text-to-speech","title":"Text to Speech","href":"/api-reference/endpoint/text-to-speech"},{"openapi":"post /synthesis/text-to-speech/stream","title":"Stream Text to Speech","href":"/api-reference/endpoint/text-to-speech-stream"},{"openapi":"post /synthesis/text-to-speech-async","title":"Async Text to Speech","href":"/api-reference/endpoint/text-to-speech-async"},{"openapi":"post /synthesis/text-to-speech/stream-async","title":"Async Streaming Text to Speech","href":"/api-reference/endpoint/text-to-speech-stream-async"},{"openapi":"get /synthesis/stream-audio/{mediaId}","title":"Retrieve Async Audio","description":"\u003cb>Retrieve audio generated by async text-to-speech endpoints\u003c/b>\n\nThis endpoint retrieves audio files generated by both async TTS endpoints.\nRequires the mediaId and JWT token returned from the async synthesis request.\n\n**Behavior depends on the originating endpoint:**\n\n**From `/text-to-speech-async`:**\n- Returns complete audio file when ready\n- Typically available within 1-2 seconds\n- Best for bots and webhooks needing complete files\n\n**From `/text-to-speech/stream-async`:**\n- Supports chunked streaming with ~150-200ms first chunk latency\n- Audio streams progressively as it's generated\n- Best for frontend apps and real-time playback\n\n**Key features:**\n- **Direct access** - Can be accessed directly by clients without your API key\n- **Secure** - JWT token ensures only authorized access to the audio\n- **CDN-ready** - Optimized for content delivery networks\n","href":"/api-reference/endpoint/stream-audio"},{"openapi":"post /synthesis/phrase-replacement-config","title":"Create Phrase Replacement Config","href":"/api-reference/endpoint/create-phrase-replacement-config"},{"openapi":"get /synthesis/phrase-replacement-config/{configId}","title":"Get Phrase Replacement Config","description":"\u003cb>Get a specific phrase replacement configuration\u003c/b>\n\nRetrieves a specific phrase replacement configuration by its ID.\n","href":"/api-reference/endpoint/get-phrase-replacement-config"},{"openapi":"post /synthesis/phrase-replacement-config/{configId}","title":"Update Phrase Replacement Config","href":"/api-reference/endpoint/update-phrase-replacement-config"},{"openapi":"get /synthesis/phrase-replacement-config","title":"List Phrase Replacement Configs","href":"/api-reference/endpoint/list-phrase-replacement-configs"}]},{"group":"Scribe REST API","icon":"microphone","expanded":false,"pages":[{"title":"Speech to Text (Beta)","openapi":"POST /transcribe/speech-to-text","href":"/api-reference/endpoint/speech-to-text"}]},{"group":"Node.js SDK","icon":"js","expanded":false,"pages":[{"title":"Getting Started","icon":"js","href":"/sdk/nodejs/overview"},{"title":"Text to Speech","icon":"volume-high","href":"/sdk/nodejs/text-to-speech"},{"title":"Stream Text to Speech","icon":"wave-pulse","href":"/sdk/nodejs/text-to-speech-stream"},{"title":"Async Text to Speech","icon":"clock","href":"/sdk/nodejs/text-to-speech-async"},{"title":"WebSocket Text to Speech","icon":"plug","href":"/sdk/nodejs/websocket-tts"},{"title":"Speech to Text","icon":"microphone","href":"/sdk/nodejs/speech-to-text"},{"title":"Phrase Replacements","icon":"language","href":"/sdk/nodejs/phrase-replacements"},{"title":"Error Handling","icon":"triangle-exclamation","href":"/sdk/nodejs/error-handling"}]}]}]},{"tab":"Voice Agents","pages":[{"title":"Voice Agents","href":"/voice-agents/getting-started/overview"}]},{"tab":"Integration API","hidden":true,"pages":[{"title":"Integration API","href":"/voice-agents/api-reference/integration-api"}]},{"tab":"Realtime Assistants","hidden":true,"pages":[{"title":"Realtime Assistants","href":"/assistants/introduction"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/tutorials/livekit-voice-agent"}]},{"tab":"Syngenta Assistant","hidden":true,"pages":[{"title":"Syngenta Assistant","href":"/syngenta/authentication"}]}]},"title":"Create Phrase Replacement Config - Uplift AI API Docs","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}