Manage multiple Truedy workspaces with an account-scoped master API key.
Workspace management requires an account-scoped master API key. Existing workspace-scoped keys continue to work for the single workspace they belong to.
For resource requests made with a master key, send the target workspace in the X-Truedy-Workspace-Id header. The key must have an explicit grant for that workspace.
Workspace creation and access grants are intentionally dashboard-only. The public master-key surface is limited to listing granted workspaces and updating a workspace the key already controls.
Workspace deletion is intentionally not exposed by this first version. Deleting a Clerk Organization and its Truedy data requires an explicit retention and recovery policy.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Truedy API Documentation","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/truedy/WTUBrv0A4HPRDyoq/logo/truedy-light.png?fit=max\u0026auto=format\u0026n=WTUBrv0A4HPRDyoq\u0026q=85\u0026s=1523538b1cea9fc7da3b8863aa6278e3","dark":"https://mintcdn.com/truedy/WTUBrv0A4HPRDyoq/logo/truedy-dark.png?fit=max\u0026auto=format\u0026n=WTUBrv0A4HPRDyoq\u0026q=85\u0026s=8988ad55e36f4ac0ff4230b3013390b7"},"favicon":"https://mintcdn.com/truedy/yjkqd-aWUBOPgmva/favicon-32x32.png?fit=max\u0026auto=format\u0026n=yjkqd-aWUBOPgmva\u0026q=85\u0026s=f034db1610e7afb4db811cb7e26b4a86","navbar":{"links":[{"href":"mailto:support@truedy.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.truedy.ai"}},"footer":{"socials":{"x":"https://twitter.com/truedy","github":"https://github.com/truedy","linkedin":"https://www.linkedin.com/company/truedy"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.truedy.ai"},{"anchor":"API Reference","icon":"code","href":"https://docs.truedy.ai/api-reference"},{"anchor":"Support","icon":"headset","href":"mailto:support@truedy.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"truedy","hasAudioNarration":false,"actualSubdomain":"truedy","customDomains":["docs.truedy.ai"],"gitSource":{"type":"github","owner":"aarohx10","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a99747e4f577282a9ad5c4b","collectionId":"c6a614ae-a87c-409a-8640-8ff8b050dc52","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a99747e4f577282a9ad5c4b"},"entitlements":{},"buildId":"6a99747e4f577282a9ad5c4b","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":102},{"language":"default","tag":"Endpoints","count":92},{"language":"default","tag":"Guides","count":40},{"language":"default","tag":"Calls","count":15},{"language":"default","tag":"Batch Calls","count":12},{"language":"default","tag":"Contacts","count":12},{"language":"default","tag":"Knowledge Spaces","count":12},{"language":"default","tag":"Telephony","count":11},{"language":"default","tag":"API documentation","count":10},{"language":"default","tag":"Webhooks","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/workspaces","slug":"/api-reference/workspaces","pageMetadata":{"title":"Workspaces","description":"Manage multiple Truedy workspaces with an account-scoped master API key.","href":"/api-reference/workspaces"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Manage multiple Truedy workspaces with an account-scoped master API key.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Workspace management requires an account-scoped master API key. Existing workspace-scoped keys continue to work for the single workspace they belong to.`}),`\n`,_jsx(Heading,{level:`2`,id:`select-a-workspace`,children:`Select a workspace`}),`\n`,_jsxs(_components.p,{children:[`For resource requests made with a master key, send the target workspace in the `,_jsx(_components.code,{children:`X-Truedy-Workspace-Id`}),` header. The key must have an explicit grant for that workspace.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.truedy.ai/api/public/v1/agents`}),_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:` \"Authorization: Bearer YOUR_MASTER_API_KEY\"`}),_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:` \"X-Truedy-Workspace-Id: org_workspace_id\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`list-granted-workspaces`,children:`List granted workspaces`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.truedy.ai/api/public/v1/workspaces`}),_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:` \"Authorization: Bearer YOUR_MASTER_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Workspace creation and access grants are intentionally dashboard-only. The public master-key surface is limited to listing granted workspaces and updating a workspace the key already controls.`}),`\n`,_jsx(Heading,{level:`2`,id:`update-a-workspace`,children:`Update a workspace`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.truedy.ai/api/public/v1/workspaces/org_workspace_id`}),_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:` \"Authorization: Bearer YOUR_MASTER_API_KEY\"`}),_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:` '{\"name\":\"Acme Support Europe\"}'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Workspace deletion is intentionally not exposed by this first version. Deleting a Clerk Organization and its Truedy data requires an explicit retention and recovery policy.`})]})}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":"Workspaces","description":"Manage multiple Truedy workspaces with an account-scoped master API key.","href":"/api-reference/workspaces"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Select a workspace","slug":"select-a-workspace","depth":2,"children":[]},{"title":"List granted workspaces","slug":"list-granted-workspaces","depth":2,"children":[]},{"title":"Update a workspace","slug":"update-a-workspace","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"truedy","siteName":"Truedy API Documentation","title":"Workspaces - Truedy API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-03T13:14:40.185Z","originalFileLocation":"api-reference/workspaces.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=\"Manage multiple Truedy workspaces with an account-scoped master API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Truedy API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_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/truedy/ScWMUm_PFf5yWmW_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Workspaces - Truedy API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manage multiple Truedy workspaces with an account-scoped master API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Truedy API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.truedy.ai/api-reference/workspaces\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://truedy.mintlify.app/_mintlify/api/og/v2?division=API+documentation\u0026amp;title=Workspaces\u0026amp;description=Manage+multiple+Truedy+workspaces+with+an+account-scoped+master+API+key.\u0026amp;theme=a9bb09b9b97075f640d7dc42\u0026amp;signature=2c6836cb6e917bf14d23dc67c2c76fde484beab83dda0bbaca26187bd941e279\">\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=\"Workspaces - Truedy API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manage multiple Truedy workspaces with an account-scoped master API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://truedy.mintlify.app/_mintlify/api/og/v2?division=API+documentation\u0026amp;title=Workspaces\u0026amp;description=Manage+multiple+Truedy+workspaces+with+an+account-scoped+master+API+key.\u0026amp;theme=a9bb09b9b97075f640d7dc42\u0026amp;signature=2c6836cb6e917bf14d23dc67c2c76fde484beab83dda0bbaca26187bd941e279\">\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/truedy/ScWMUm_PFf5yWmW_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Truedy API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.truedy.ai/api-reference/workspaces\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workspaces.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.truedy.ai/#organization\",\"name\":\"Truedy API Documentation\",\"url\":\"https://docs.truedy.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/truedy/WTUBrv0A4HPRDyoq/logo/truedy-light.png?fit=max\u0026auto=format\u0026n=WTUBrv0A4HPRDyoq\u0026q=85\u0026s=1523538b1cea9fc7da3b8863aa6278e3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.truedy.ai#website\",\"name\":\"Truedy API Documentation\",\"url\":\"https://docs.truedy.ai\",\"publisher\":{\"@id\":\"https://docs.truedy.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.truedy.ai/api-reference/workspaces#webpage\",\"url\":\"https://docs.truedy.ai/api-reference/workspaces\",\"name\":\"Workspaces\",\"description\":\"Manage multiple Truedy workspaces with an account-scoped master API key.\",\"dateModified\":\"2026-09-03T13:14:40.185Z\",\"isPartOf\":{\"@id\":\"https://docs.truedy.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.truedy.ai/api-reference/workspaces#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.truedy.ai/api-reference/workspaces#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API documentation\",\"item\":\"https://docs.truedy.ai/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workspaces\",\"item\":\"https://docs.truedy.ai/api-reference/workspaces\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.truedy.ai/api-reference/workspaces#article\",\"headline\":\"Workspaces\",\"name\":\"Workspaces\",\"description\":\"Manage multiple Truedy workspaces with an account-scoped master API key.\",\"url\":\"https://docs.truedy.ai/api-reference/workspaces\",\"mainEntityOfPage\":{\"@id\":\"https://docs.truedy.ai/api-reference/workspaces#webpage\"},\"dateModified\":\"2026-09-03T13:14:40.185Z\",\"publisher\":{\"@id\":\"https://docs.truedy.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.truedy.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Truedy API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Truedy API Documentation","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.truedy.ai"},{"anchor":"API Reference","icon":"code","href":"https://docs.truedy.ai/api-reference"},{"anchor":"Support","icon":"headset","href":"mailto:support@truedy.ai"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API documentation","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Widgets","href":"/api-reference/widgets"},{"title":"Agent Templates","href":"/api-reference/agent-templates"},{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"Exports","href":"/api-reference/exports"},{"title":"Agent history","description":"Read saved agent configuration versions.","href":"/api-reference/agent-history"},{"title":"Workspaces","href":"/api-reference/workspaces"},{"title":"Calls","api":"/api/public/v1/calls","description":null,"href":"/api-reference/calls"},{"title":"Knowledge (Native RAG)","api":"/api/public/v1/knowledge-spaces","href":"/api-reference/knowledge-spaces"},{"title":"Telephony","api":"/api/public/v1/telephony","href":"/api-reference/telephony"}]},{"group":"Endpoints","pages":[{"group":"Agents","pages":[{"title":"List Agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents","href":"/api-reference/agents/list-agents"},{"title":"Create Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /agents","href":"/api-reference/agents/create-agent"},{"title":"Get Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{agent_id}","href":"/api-reference/agents/get-agent"},{"title":"Delete Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /agents/{agent_id}","href":"/api-reference/agents/delete-agent"},{"title":"Partial Update Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /agents/{agent_id}","href":"/api-reference/agents/partial-update-agent"},{"title":"List Agent Versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agents/{agent_id}/versions","href":"/api-reference/agents/list-agent-versions"}]},{"group":"Calls","pages":[{"title":"List Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls","href":"/api-reference/calls/list-calls"},{"title":"Create Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /calls","href":"/api-reference/calls/create-call"},{"title":"Get Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/{call_id}","href":"/api-reference/calls/get-call"},{"title":"Delete Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /calls/{call_id}","href":"/api-reference/calls/delete-call"},{"title":"Update Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /calls/{call_id}","href":"/api-reference/calls/update-call"},{"title":"Bulk Delete Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /calls/bulk-delete","href":"/api-reference/calls/bulk-delete-calls"},{"title":"Get Call Recording","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/{call_id}/recording","href":"/api-reference/calls/get-call-recording"},{"title":"Get Call Transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/{call_id}/transcript","href":"/api-reference/calls/get-call-transcript"},{"title":"Get Call Retention","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /calls/{call_id}/retention","href":"/api-reference/calls/get-call-retention"},{"title":"Update Call Retention","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /calls/{call_id}/retention","href":"/api-reference/calls/update-call-retention"},{"title":"Create Webrtc Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webrtc/call","href":"/api-reference/calls/create-webrtc-call"}]},{"group":"Tools","pages":[{"title":"List Tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tools","href":"/api-reference/tools/list-tools"},{"title":"Create Tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tools","href":"/api-reference/tools/create-tool"},{"title":"Get Tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tools/{tool_id}","href":"/api-reference/tools/get-tool"},{"title":"Delete Tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /tools/{tool_id}","href":"/api-reference/tools/delete-tool"},{"title":"Update Tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /tools/{tool_id}","href":"/api-reference/tools/update-tool"}]},{"group":"Knowledge Spaces","pages":[{"title":"List Spaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-spaces","href":"/api-reference/knowledge-spaces/list-spaces"},{"title":"Create Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /knowledge-spaces","href":"/api-reference/knowledge-spaces/create-space"},{"title":"List Unified Resources","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-spaces/unified","href":"/api-reference/knowledge-spaces/list-unified-resources"},{"title":"Get Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-spaces/{space_id}","href":"/api-reference/knowledge-spaces/get-space"},{"title":"Archive Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /knowledge-spaces/{space_id}","href":"/api-reference/knowledge-spaces/archive-space"},{"title":"Update Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /knowledge-spaces/{space_id}","href":"/api-reference/knowledge-spaces/update-space"},{"title":"List Sources","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-spaces/{space_id}/sources","href":"/api-reference/knowledge-spaces/list-sources"},{"title":"Create Source","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /knowledge-spaces/{space_id}/sources","href":"/api-reference/knowledge-spaces/create-source"},{"title":"Get Source","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /knowledge-spaces/{space_id}/sources/{source_id}","href":"/api-reference/knowledge-spaces/get-source"},{"title":"Archive Source","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /knowledge-spaces/{space_id}/sources/{source_id}","href":"/api-reference/knowledge-spaces/archive-source"},{"title":"Update Source","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /knowledge-spaces/{space_id}/sources/{source_id}","href":"/api-reference/knowledge-spaces/update-source"},{"title":"Create Upload Url","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /knowledge-spaces/{space_id}/sources/upload-url","href":"/api-reference/knowledge-spaces/create-upload-url"}]},{"group":"Voices","pages":[{"title":"List Voices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /voices","href":"/api-reference/voices/list-voices"},{"title":"Create Voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /voices","href":"/api-reference/voices/create-voice"},{"title":"Get Voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /voices/{voice_id}","href":"/api-reference/voices/get-voice"},{"title":"Delete Voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /voices/{voice_id}","href":"/api-reference/voices/delete-voice"},{"title":"Update Voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /voices/{voice_id}","href":"/api-reference/voices/update-voice"},{"title":"Create Voice Clone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /voices/clone","href":"/api-reference/voices/create-voice-clone"},{"title":"Repair voice provider connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /voices/{voice_id}/sync","href":"/api-reference/voices/repair-voice-provider-connection"},{"title":"Preview Voice","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /voices/{voice_id}/preview","href":"/api-reference/voices/preview-voice"}]},{"group":"Telephony","pages":[{"title":"List Phone Numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /telephony/numbers","href":"/api-reference/telephony/list-phone-numbers"},{"title":"Search Numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /telephony/numbers/search","href":"/api-reference/telephony/search-numbers"},{"title":"Purchase Number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /telephony/numbers/purchase","href":"/api-reference/telephony/purchase-number"},{"title":"Assign Number To Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /telephony/numbers/assign","href":"/api-reference/telephony/assign-number-to-agent"},{"title":"Unassign Number From Agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /telephony/numbers/unassign","href":"/api-reference/telephony/unassign-number-from-agent"},{"title":"Delete Phone Number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /telephony/numbers/{number_id}","href":"/api-reference/telephony/delete-phone-number"},{"title":"Get Agent Numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /telephony/agents/{agent_id}/numbers","href":"/api-reference/telephony/get-agent-numbers"},{"title":"Get Agent Webhook Url","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /telephony/agents/{agent_id}/webhook-url","href":"/api-reference/telephony/get-agent-webhook-url"}]},{"group":"Batch Calls","pages":[{"title":"List Batch Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /batch-calls","href":"/api-reference/batch-calls/list-batch-calls"},{"title":"Create Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls","href":"/api-reference/batch-calls/create-batch-call"},{"title":"Bulk Delete Batch Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls/bulk-delete","href":"/api-reference/batch-calls/bulk-delete-batch-calls"},{"title":"List Batch Call Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /batch-calls/{batch_call_id}/contacts","href":"/api-reference/batch-calls/list-batch-call-contacts"},{"title":"Upload Batch Call Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls/{batch_call_id}/contacts","href":"/api-reference/batch-calls/upload-batch-call-contacts"},{"title":"Get Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /batch-calls/{batch_call_id}","href":"/api-reference/batch-calls/get-batch-call"},{"title":"Delete Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /batch-calls/{batch_call_id}","href":"/api-reference/batch-calls/delete-batch-call"},{"title":"Update Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /batch-calls/{batch_call_id}","href":"/api-reference/batch-calls/update-batch-call"},{"title":"Schedule Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls/{batch_call_id}/schedule","href":"/api-reference/batch-calls/schedule-batch-call"},{"title":"Pause Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls/{batch_call_id}/pause","href":"/api-reference/batch-calls/pause-batch-call"},{"title":"Resume Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls/{batch_call_id}/resume","href":"/api-reference/batch-calls/resume-batch-call"},{"title":"Cancel Batch Call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /batch-calls/{batch_call_id}/cancel","href":"/api-reference/batch-calls/cancel-batch-call"}]},{"group":"Contacts","pages":[{"title":"List Contact Folders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts/folders","href":"/api-reference/contacts/list-contact-folders"},{"title":"Create Contact Folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/folders","href":"/api-reference/contacts/create-contact-folder"},{"title":"Delete Contact Folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /contacts/folders/{folder_id}","href":"/api-reference/contacts/delete-contact-folder"},{"title":"Update Contact Folder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /contacts/folders/{folder_id}","href":"/api-reference/contacts/update-contact-folder"},{"title":"Import Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/import","href":"/api-reference/contacts/import-contacts"},{"title":"Export Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts/export","href":"/api-reference/contacts/export-contacts"},{"title":"List Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Add Contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts","href":"/api-reference/contacts/add-contact"},{"title":"Delete Contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /contacts/{contact_id}","href":"/api-reference/contacts/delete-contact"},{"title":"Update Contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /contacts/{contact_id}","href":"/api-reference/contacts/update-contact"},{"title":"Bulk Delete Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/bulk-delete","href":"/api-reference/contacts/bulk-delete-contacts"},{"title":"Bulk Update Contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /contacts/bulk-update","href":"/api-reference/contacts/bulk-update-contacts"}]},{"group":"Widgets","pages":[{"title":"List Widgets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /widgets","href":"/api-reference/widgets/list-widgets"},{"title":"Create Widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /widgets","href":"/api-reference/widgets/create-widget"},{"title":"Get Widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /widgets/{widget_id}","href":"/api-reference/widgets/get-widget"},{"title":"Delete Widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /widgets/{widget_id}","href":"/api-reference/widgets/delete-widget"},{"title":"Update Widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /widgets/{widget_id}","href":"/api-reference/widgets/update-widget"},{"title":"Get Widget Config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /widgets/{widget_id}/public-config","href":"/api-reference/widgets/get-widget-config"}]},{"group":"Agent Templates","pages":[{"title":"List Agent Templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agent-templates","href":"/api-reference/agent-templates/list-agent-templates"},{"title":"Get Agent Template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /agent-templates/{template_id}","href":"/api-reference/agent-templates/get-agent-template"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create Webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Get Webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /webhooks/{webhook_id}","href":"/api-reference/webhooks/get-webhook"},{"title":"Delete Webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Update Webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /webhooks/{webhook_id}","href":"/api-reference/webhooks/update-webhook"}]},{"group":"Exports","pages":[{"title":"Export Calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exports/calls","href":"/api-reference/exports/export-calls"},{"title":"Export Campaigns","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exports/campaigns","href":"/api-reference/exports/export-campaigns"}]},{"group":"Workspaces","pages":[{"title":"List Workspaces","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces","href":"/api-reference/workspaces/list-workspaces"},{"title":"Get Workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /workspaces/{workspace_id}","href":"/api-reference/workspaces/get-workspace"},{"title":"Update Workspace","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /workspaces/{workspace_id}","href":"/api-reference/workspaces/update-workspace"}]}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/curl"}]}]},"basePath":"","title":"Workspaces - Truedy API Documentation","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":[],"chunks":[]}