Server sets ownership fields (ID, userId, agencyId, ts, type: "org"). Use PATCH /orgs/{orgId} to change more fields later.
After creating an org, assign agents with POST /orgs/{orgId}/agents/{agentId} and add users with POST /clients. Fetch the full document anytime with GET /orgs/{orgId}.
The email of the client which will be used by them to sign in also can be used in your whitelabel dashboard to autofill by appending ?email=test@gmail.
The sign in dashboard for the client, used along the email to sign in to the whitelabel dashboard append ?password=123 to autofill the fields on the dashboard login.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Convocore","colors":{"primary":"#28a9ff","light":"#28a9ff","dark":"#28a9ff"},"logo":{"light":"https://mintcdn.com/convocore-app/d6A8Xe6ghCx0eVzo/logo/ta-logo-512x512.png?fit=max\u0026auto=format\u0026n=d6A8Xe6ghCx0eVzo\u0026q=85\u0026s=825d995afa653905e24c6be90e5ab291","dark":"https://mintcdn.com/convocore-app/d6A8Xe6ghCx0eVzo/logo/ta-logo-512x512.png?fit=max\u0026auto=format\u0026n=d6A8Xe6ghCx0eVzo\u0026q=85\u0026s=825d995afa653905e24c6be90e5ab291"},"favicon":"https://mintcdn.com/convocore-app/d6A8Xe6ghCx0eVzo/logo/ta-logo-512x512.png?fit=max\u0026auto=format\u0026n=d6A8Xe6ghCx0eVzo\u0026q=85\u0026s=825d995afa653905e24c6be90e5ab291","api":{"openapi":["api-reference/openapi.json"],"asyncapi":["api-reference/asyncapi/interact.yaml"]},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"mailto:support@convocore.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://convocore.ai/login"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/convocore","instagram":"https://instagram.com/convocore","discord":"https://discord.gg/XrJtBsQQRN"}},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/XrJtBsQQRN"},{"anchor":"Status","icon":"info","href":"https://status.convocore.ai/"},{"anchor":"Pricing","icon":"dollar-sign","href":"https://www.convocore.ai/pricing"},{"anchor":"Affiliate Program","icon":"handshake","href":"https://affiliates.convocore.app/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"convocore-app","hasAudioNarration":false,"actualSubdomain":"convocore-app","customDomains":["docs.convocore.app"],"gitSource":{"type":"github","owner":"vectorwizards-hq","repo":"convocore","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af42aeec6574eb8dd26daa8","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":152},{"language":"default","tag":"Documentation","count":137},{"language":"default","tag":"V3","count":107},{"language":"default","tag":"Build Your Agent","count":45},{"language":"default","tag":"V2 (Legacy)","count":38},{"language":"default","tag":"Agents","count":34},{"language":"default","tag":"Business","count":26},{"language":"default","tag":"Workspaces","count":22},{"language":"default","tag":"Features","count":22},{"language":"default","tag":"Channels \u0026 Integrations","count":19}]},"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":"custom-rbac-roles","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":"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":"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":"editor-metadata","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},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--head-color: #3f4346}.dark{--head-color: #e5e7eb}svg[width=\"3\"][height=\"24\"][viewBox=\"0 -9 3 24\"]{background-color:transparent!important}#navigation-items>div>ul>li>a>div,#navigation-items>div>ul>li>div>div{font-weight:550!important;color:var(--head-color)!important;font-size:0.93rem!important;margin-bottom:0.2rem!important}#navigation-items>div>ul>li>div>svg:first-of-type,#navigation-items>div>ul>li>a>svg:first-of-type{background-color:var(--head-color);margin-bottom:0.2rem!important}"}],"page":{"pagePath":"api-reference/v3/orgs/createOrg","slug":"/api-reference/v3/orgs/createOrg","pageMetadata":{"title":"Create Organization","description":"Create a new organization under the authenticated workspace","openapi":"POST /orgs","href":"/api-reference/v3/orgs/createOrg"},"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: \"Create a new organization under the authenticated workspace\"\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,Note,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Creates an organization (the “client” card in the dashboard Clients page). Returns `,_jsx(_components.code,{children:`orgId`}),` plus the full org document in `,_jsx(_components.code,{children:`data`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(_components.p,{children:`Minimal:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Corp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ops@acme.example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"squarePhotoURL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/logo.png\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`With optional org fields (agents, access tabs, language, settings):`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme Corp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ops@acme.example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"squarePhotoURL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/logo.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preferredLanguage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"widgetIDs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canAccess\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/home\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/convos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/leads\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"disableClientAccess\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Server sets ownership fields (`,_jsx(_components.code,{children:`ID`}),`, `,_jsx(_components.code,{children:`userId`}),`, `,_jsx(_components.code,{children:`agencyId`}),`, `,_jsx(_components.code,{children:`ts`}),`, `,_jsx(_components.code,{children:`type: \"org\"`}),`). Use `,_jsx(_components.code,{children:`PATCH /orgs/{orgId}`}),` to change more fields later.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`After creating an org, assign agents with `,_jsx(_components.code,{children:`POST /orgs/{orgId}/agents/{agentId}`}),` and add users with `,_jsx(_components.code,{children:`POST /clients`}),`. Fetch the full document anytime with `,_jsx(_components.code,{children:`GET /orgs/{orgId}`}),`.`]})})]})}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":"Create Organization","description":"Create a new organization under the authenticated workspace","openapi":"POST /orgs","href":"/api-reference/v3/orgs/createOrg"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example Request","slug":"example-request","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"orgsRouter-createOrg","summary":"Create Organization","description":"Create a new organization under the authenticated workspace","tags":["Organizations"],"security":["f4a779fc-496e-416c-a83e-1f8728643cbb"],"requestBody":"1bd148b9-e1c2-4a8c-a5ab-93d794d22b23","parameters":[],"responses":{"200":"9f887719-d2be-4579-83a4-0b1d2d5e7575","default":"2b3561b9-f02b-4770-b3fd-e26f6bfac14b"},"method":"post","type":"path","servers":["ec62f03f-02db-4ac8-94f6-740924681c62"],"path":"/orgs","baseUrlOptions":["https://eu-gcp-api.vg-stuff.com/v3"],"title":"Create Organization","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"description":"Display name for the organization (Clients page card).","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"email":{"type":"string","description":"The email of the client which will be used by them to sign in also can be used in your whitelabel dashboard to autofill by appending ?email=test@gmail.","uniqueKey":"email","typeLabel":"string"},"squarePhotoURL":{"type":"string","description":"Photo URL of the client, will show on their dashboard.","uniqueKey":"squarePhotoURL","typeLabel":"string"},"widgets":{"type":"array","description":"The widgets of the client (USED BY SYTEM ONLY)","items":{"oneOf":[{}],"uniqueKey":"widgets.items.[INDEX]","typeLabel":"any"},"uniqueKey":"widgets","typeLabel":"any[]"},"widgetIDs":{"type":"array","items":{"type":"string","uniqueKey":"widgetIDs.items.[INDEX]","typeLabel":"string"},"description":"The IDs of agents assigned to this client.","uniqueKey":"widgetIDs","typeLabel":"string[]"},"dashboardUsername":{"type":"string","description":"The username of the dashboard (DEPRACATED NOT USED)","uniqueKey":"dashboardUsername","typeLabel":"string"},"dashboardPassword":{"type":"string","description":"The sign in dashboard for the client, used along the email to sign in to the whitelabel dashboard append ?password=123 to autofill the fields on the dashboard login.","uniqueKey":"dashboardPassword","typeLabel":"string"},"canAccess":{"type":"array","items":{"type":"string","uniqueKey":"canAccess.items.[INDEX]","typeLabel":"string"},"description":"The tabs hrefs the user can access, example ['/home', '/convos', '/leads', '/kb', '/analytics', '/theme', '/settings', '/prompt'] ","uniqueKey":"canAccess","typeLabel":"string[]"},"allowedChannels":{"type":"array","items":{"type":"string","uniqueKey":"allowedChannels.items.[INDEX]","typeLabel":"string"},"description":"Channels this client can use on the channels page. Use [\"all\"] or omit for every channel.","uniqueKey":"allowedChannels","typeLabel":"string[]"},"allowedIntegrations":{"type":"array","items":{"type":"string","uniqueKey":"allowedIntegrations.items.[INDEX]","typeLabel":"string"},"description":"Integrations this client can use on the integrations page. Use [\"all\"] or omit for every integration.","uniqueKey":"allowedIntegrations","typeLabel":"string[]"},"clientTabOrder":{"type":"array","items":{"type":"string","uniqueKey":"clientTabOrder.items.[INDEX]","typeLabel":"string"},"description":"The order of the client tabs, example ['home', 'convos', 'leads', 'kb', 'analytics', 'theme', 'settings', 'prompt'] ","uniqueKey":"clientTabOrder","typeLabel":"string[]"},"magicCode":{"type":"string","description":"The magic code of the client, used to sign in to the dashboard.","uniqueKey":"magicCode","typeLabel":"string"},"index":{"type":"number","description":"The index of the client, used to sort the clients.","uniqueKey":"index","typeLabel":"number"},"isAdmin":{"type":"boolean","description":"Whether the client is an org admin or not allowing him to create other users on his org and have more access in the dashboard.","uniqueKey":"isAdmin","typeLabel":"boolean"},"usedSecret":{"type":"string","description":"The secret of the client, used to sign in to the dashboard.","uniqueKey":"usedSecret","typeLabel":"string"},"orgId":{"type":"string","description":"The ID of the org this user belongs to, must be defined when creating a client.","uniqueKey":"orgId","typeLabel":"string"},"isOrgAdmin":{"type":"boolean","description":"Whether the client is an organization admin or not allowing him to create other users on his org and have more access in the dashboard","uniqueKey":"isOrgAdmin","typeLabel":"boolean"},"canDelegateChats":{"type":"boolean","description":"Whether the client can delegate chats to other users in the org.","uniqueKey":"canDelegateChats","typeLabel":"boolean"},"status":{"type":"string","enum":["online","offline"],"description":"Shows on the dashboard and in the web widget whether this client is online of offline for realtime handoff.","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"predefinedTags":{"type":"array","items":{"type":"string","uniqueKey":"predefinedTags.items.[INDEX]","typeLabel":"string"},"description":"Predefined tags for the client, used in the chats tab quickly tag any chat with them.","uniqueKey":"predefinedTags","typeLabel":"string[]"},"FB_PUSH_TOKEN":{"type":"string","description":"The Firebase push token of the client used to implement browser notifications.","uniqueKey":"FB_PUSH_TOKEN","typeLabel":"string"},"notificationsSettings":{"type":"object","properties":{"notifyThrough":{"type":"string","enum":["email","push","all","none"],"description":"The notification through","isRequired":true,"uniqueKey":"notificationsSettings.notifyThrough","typeLabel":"enum\u003cstring>"},"notifyIf":{"type":"string","enum":["all","requestsOnly","none"],"description":"The notification if","isRequired":true,"uniqueKey":"notificationsSettings.notifyIf","typeLabel":"enum\u003cstring>"},"emailNotifyOnNewLead":{"type":"boolean","description":"Whether the client wants to receive email notifications on capturing any new leads from calls.","uniqueKey":"notificationsSettings.emailNotifyOnNewLead","typeLabel":"boolean"}},"required":["notifyThrough","notifyIf"],"additionalProperties":false,"description":"The notifications settings of the client, by default the client will only receive email notifications for requests.","uniqueKey":"notificationsSettings","typeLabel":"object"},"handoff":{"type":"object","properties":{"maxAssignees":{"type":"number","description":"The maximum number of assignees for handoff","uniqueKey":"handoff.maxAssignees","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"handoff","typeLabel":"object"},"lastEmailSentTS":{"type":"number","description":"The timestamp of the last email sent, used by the system to not send a lot of emails to the client.","uniqueKey":"lastEmailSentTS","typeLabel":"number"},"preferredLanguage":{"type":"string","description":"The preferred language of the client and based on it whole whitelabel dashboard will be translated, MUST BE 2 letter language code","uniqueKey":"preferredLanguage","typeLabel":"string"},"internal":{"type":"object","properties":{"hasChangedPassword":{"type":"boolean","description":"Whether the client has changed the password","uniqueKey":"internal.hasChangedPassword","typeLabel":"boolean"}},"additionalProperties":false,"description":"Used internally by system.","uniqueKey":"internal","typeLabel":"object"},"lastInvitationTs":{"type":"number","description":"The timestamp of the last invitation","uniqueKey":"lastInvitationTs","typeLabel":"number"},"cannedResponses":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the canned response","uniqueKey":"cannedResponses.items.[INDEX].key","typeLabel":"string"},"content":{"type":"string","description":"The content of the canned response","uniqueKey":"cannedResponses.items.[INDEX].content","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"cannedResponses.items.[INDEX]","typeLabel":"object"},"description":"The canned responses of the client used in the chats tab ","uniqueKey":"cannedResponses","typeLabel":"object[]"},"stripeCustomerId":{"type":"string","description":"The Stripe customer ID of the client","uniqueKey":"stripeCustomerId","typeLabel":"string"},"signupSource":{"type":"string","description":"Signup source for client onboarding (e.g. stripe_checkout)","uniqueKey":"signupSource","typeLabel":"string"},"allowCreateAgents":{"type":"boolean","description":"Whether the client can create agents","uniqueKey":"allowCreateAgents","typeLabel":"boolean"},"hideAdvancedSettings":{"type":"boolean","description":"Whether the client can hide the advanced settings","uniqueKey":"hideAdvancedSettings","typeLabel":"boolean"},"onboardingState":{"type":"object","properties":{"currentStep":{"type":"number","uniqueKey":"onboardingState.currentStep","typeLabel":"number"},"isCompleted":{"type":"boolean","uniqueKey":"onboardingState.isCompleted","typeLabel":"boolean"},"completedSteps":{"type":"array","items":{"type":"number","uniqueKey":"onboardingState.completedSteps.items.[INDEX]","typeLabel":"number"},"uniqueKey":"onboardingState.completedSteps","typeLabel":"number[]"},"personalInfo":{"type":"object","properties":{"fullName":{"type":"string","uniqueKey":"onboardingState.personalInfo.fullName","typeLabel":"string"},"companyName":{"type":"string","uniqueKey":"onboardingState.personalInfo.companyName","typeLabel":"string"},"role":{"type":"string","uniqueKey":"onboardingState.personalInfo.role","typeLabel":"string"},"industry":{"type":"string","uniqueKey":"onboardingState.personalInfo.industry","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"onboardingState.personalInfo","typeLabel":"object"},"preferences":{"type":"object","properties":{"primaryUseCase":{"type":"string","uniqueKey":"onboardingState.preferences.primaryUseCase","typeLabel":"string"},"communicationPreferences":{"type":"array","items":{"type":"string","uniqueKey":"onboardingState.preferences.communicationPreferences.items.[INDEX]","typeLabel":"string"},"uniqueKey":"onboardingState.preferences.communicationPreferences","typeLabel":"string[]"},"goals":{"type":"array","items":{"type":"string","uniqueKey":"onboardingState.preferences.goals.items.[INDEX]","typeLabel":"string"},"uniqueKey":"onboardingState.preferences.goals","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"onboardingState.preferences","typeLabel":"object"},"setupData":{"type":"object","properties":{"selectedAgents":{"type":"array","items":{"type":"string","uniqueKey":"onboardingState.setupData.selectedAgents.items.[INDEX]","typeLabel":"string"},"uniqueKey":"onboardingState.setupData.selectedAgents","typeLabel":"string[]"},"customizations":{"oneOf":[{}],"uniqueKey":"onboardingState.setupData.customizations","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"onboardingState.setupData","typeLabel":"object"}},"additionalProperties":false,"description":"Client onboarding state and progress","uniqueKey":"onboardingState","typeLabel":"object"},"isNewSignup":{"type":"boolean","description":"Flag to identify clients created through signup (triggers onboarding)","uniqueKey":"isNewSignup","typeLabel":"boolean"},"teams":{"type":"array","items":{"type":"object","properties":{"ID":{"type":"string","uniqueKey":"teams.items.[INDEX].ID","typeLabel":"string"},"key":{"type":"string","uniqueKey":"teams.items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","uniqueKey":"teams.items.[INDEX].label","typeLabel":"string"},"description":{"type":"string","uniqueKey":"teams.items.[INDEX].description","typeLabel":"string"},"orgId":{"type":"string","uniqueKey":"teams.items.[INDEX].orgId","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"teams.items.[INDEX]","typeLabel":"object"},"description":"The teams this client belongs to (fetched from orgs/{orgId}/teams subcollection based on memberIds)","uniqueKey":"teams","typeLabel":"object[]"},"adminIDs":{"type":"array","items":{"type":"string","uniqueKey":"adminIDs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"adminIDs","typeLabel":"string[]"},"supportIDs":{"type":"array","items":{"type":"string","uniqueKey":"supportIDs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"supportIDs","typeLabel":"string[]"},"canSelfEdit":{"type":"boolean","uniqueKey":"canSelfEdit","typeLabel":"boolean"},"lastModified":{"type":"number","uniqueKey":"lastModified","typeLabel":"number"},"defaultClientAccess":{"type":"array","items":{"type":"string","uniqueKey":"defaultClientAccess.items.[INDEX]","typeLabel":"string"},"uniqueKey":"defaultClientAccess","typeLabel":"string[]"},"defaultClientTabOrder":{"type":"array","items":{"type":"string","uniqueKey":"defaultClientTabOrder.items.[INDEX]","typeLabel":"string"},"uniqueKey":"defaultClientTabOrder","typeLabel":"string[]"},"convoTags":{"type":"array","items":{"type":"string","uniqueKey":"convoTags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"convoTags","typeLabel":"string[]"},"enableHumanHandoff":{"type":"boolean","uniqueKey":"enableHumanHandoff","typeLabel":"boolean"},"dashboardLayout":{"type":"string","enum":["vertical","horizontal"],"uniqueKey":"dashboardLayout","typeLabel":"enum\u003cstring>"},"settings":{"type":"object","properties":{"disableClientAccess":{"type":"boolean","uniqueKey":"settings.disableClientAccess","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"settings","typeLabel":"object"}},"required":["name"],"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","email":"\u003cstring>","squarePhotoURL":"\u003cstring>","widgets":["\u003cunknown>"],"widgetIDs":["\u003cstring>"],"dashboardUsername":"\u003cstring>","dashboardPassword":"\u003cstring>","canAccess":["\u003cstring>"],"allowedChannels":["\u003cstring>"],"allowedIntegrations":["\u003cstring>"],"clientTabOrder":["\u003cstring>"],"magicCode":"\u003cstring>","index":123,"isAdmin":true,"usedSecret":"\u003cstring>","orgId":"\u003cstring>","isOrgAdmin":true,"canDelegateChats":true,"predefinedTags":["\u003cstring>"],"FB_PUSH_TOKEN":"\u003cstring>","handoff":{"maxAssignees":123},"lastEmailSentTS":123,"preferredLanguage":"\u003cstring>","internal":{"hasChangedPassword":true},"lastInvitationTs":123,"cannedResponses":[{"key":"\u003cstring>","content":"\u003cstring>"}],"stripeCustomerId":"\u003cstring>","signupSource":"\u003cstring>","allowCreateAgents":true,"hideAdvancedSettings":true,"onboardingState":{"currentStep":123,"isCompleted":true,"completedSteps":[123],"personalInfo":{"fullName":"\u003cstring>","companyName":"\u003cstring>","role":"\u003cstring>","industry":"\u003cstring>"},"preferences":{"primaryUseCase":"\u003cstring>","communicationPreferences":["\u003cstring>"],"goals":["\u003cstring>"]},"setupData":{"selectedAgents":["\u003cstring>"],"customizations":"\u003cunknown>"}},"isNewSignup":true,"teams":[{"ID":"\u003cstring>","key":"\u003cstring>","label":"\u003cstring>","description":"\u003cstring>","orgId":"\u003cstring>"}],"adminIDs":["\u003cstring>"],"supportIDs":["\u003cstring>"],"canSelfEdit":true,"lastModified":123,"defaultClientAccess":["\u003cstring>"],"defaultClientTabOrder":["\u003cstring>"],"convoTags":["\u003cstring>"],"enableHumanHandoff":true,"settings":{"disableClientAccess":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"9f887719-d2be-4579-83a4-0b1d2d5e7575":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"orgId":{"type":"string","description":"Created organization id (same as data.ID).","isRequired":true,"uniqueKey":"orgId","typeLabel":"string"},"data":{"type":"object","properties":{"ID":{"type":"string","description":"The ID of the client","uniqueKey":"data.ID","typeLabel":"string"},"firebaseUid":{"type":"string","description":"The Firebase UID of the client","uniqueKey":"data.firebaseUid","typeLabel":"string"},"agencyId":{"type":"string","description":"The ID of the agency","uniqueKey":"data.agencyId","typeLabel":"string"},"userId":{"type":"string","description":"The ID of the user","uniqueKey":"data.userId","typeLabel":"string"},"ownerID":{"type":"string","description":"The owner ID of the workspace that owns this client.","uniqueKey":"data.ownerID","typeLabel":"string"},"name":{"type":"string","description":"The name of the client","uniqueKey":"data.name","typeLabel":"string"},"email":{"type":"string","description":"The email of the client which will be used by them to sign in also can be used in your whitelabel dashboard to autofill by appending ?email=test@gmail.","uniqueKey":"data.email","typeLabel":"string"},"squarePhotoURL":{"type":"string","description":"Photo URL of the client, will show on their dashboard.","uniqueKey":"data.squarePhotoURL","typeLabel":"string"},"widgets":{"type":"array","description":"The widgets of the client (USED BY SYTEM ONLY)","items":{"oneOf":[{}],"uniqueKey":"data.widgets.items.[INDEX]","typeLabel":"any"},"uniqueKey":"data.widgets","typeLabel":"any[]"},"widgetIDs":{"type":"array","items":{"type":"string","uniqueKey":"data.widgetIDs.items.[INDEX]","typeLabel":"string"},"description":"The IDs of agents assigned to this client.","uniqueKey":"data.widgetIDs","typeLabel":"string[]"},"dashboardUsername":{"type":"string","description":"The username of the dashboard (DEPRACATED NOT USED)","uniqueKey":"data.dashboardUsername","typeLabel":"string"},"dashboardPassword":{"type":"string","description":"The sign in dashboard for the client, used along the email to sign in to the whitelabel dashboard append ?password=123 to autofill the fields on the dashboard login.","uniqueKey":"data.dashboardPassword","typeLabel":"string"},"ts":{"type":"number","description":"UNIX timestamb of the last change done on the client.","uniqueKey":"data.ts","typeLabel":"number"},"canAccess":{"type":"array","items":{"type":"string","uniqueKey":"data.canAccess.items.[INDEX]","typeLabel":"string"},"description":"The tabs hrefs the user can access, example ['/home', '/convos', '/leads', '/kb', '/analytics', '/theme', '/settings', '/prompt'] ","uniqueKey":"data.canAccess","typeLabel":"string[]"},"allowedChannels":{"type":"array","items":{"type":"string","uniqueKey":"data.allowedChannels.items.[INDEX]","typeLabel":"string"},"description":"Channels this client can use on the channels page. Use [\"all\"] or omit for every channel.","uniqueKey":"data.allowedChannels","typeLabel":"string[]"},"allowedIntegrations":{"type":"array","items":{"type":"string","uniqueKey":"data.allowedIntegrations.items.[INDEX]","typeLabel":"string"},"description":"Integrations this client can use on the integrations page. Use [\"all\"] or omit for every integration.","uniqueKey":"data.allowedIntegrations","typeLabel":"string[]"},"clientTabOrder":{"type":"array","items":{"type":"string","uniqueKey":"data.clientTabOrder.items.[INDEX]","typeLabel":"string"},"description":"The order of the client tabs, example ['home', 'convos', 'leads', 'kb', 'analytics', 'theme', 'settings', 'prompt'] ","uniqueKey":"data.clientTabOrder","typeLabel":"string[]"},"magicCode":{"type":"string","description":"The magic code of the client, used to sign in to the dashboard.","uniqueKey":"data.magicCode","typeLabel":"string"},"index":{"type":"number","description":"The index of the client, used to sort the clients.","uniqueKey":"data.index","typeLabel":"number"},"isAdmin":{"type":"boolean","description":"Whether the client is an org admin or not allowing him to create other users on his org and have more access in the dashboard.","uniqueKey":"data.isAdmin","typeLabel":"boolean"},"usedSecret":{"type":"string","description":"The secret of the client, used to sign in to the dashboard.","uniqueKey":"data.usedSecret","typeLabel":"string"},"orgId":{"type":"string","description":"The ID of the org this user belongs to, must be defined when creating a client.","uniqueKey":"data.orgId","typeLabel":"string"},"type":{"type":"string","enum":["client","org"],"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"isOrgAdmin":{"type":"boolean","description":"Whether the client is an organization admin or not allowing him to create other users on his org and have more access in the dashboard","uniqueKey":"data.isOrgAdmin","typeLabel":"boolean"},"canDelegateChats":{"type":"boolean","description":"Whether the client can delegate chats to other users in the org.","uniqueKey":"data.canDelegateChats","typeLabel":"boolean"},"status":{"type":"string","enum":["online","offline"],"description":"Shows on the dashboard and in the web widget whether this client is online of offline for realtime handoff.","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"predefinedTags":{"type":"array","items":{"type":"string","uniqueKey":"data.predefinedTags.items.[INDEX]","typeLabel":"string"},"description":"Predefined tags for the client, used in the chats tab quickly tag any chat with them.","uniqueKey":"data.predefinedTags","typeLabel":"string[]"},"FB_PUSH_TOKEN":{"type":"string","description":"The Firebase push token of the client used to implement browser notifications.","uniqueKey":"data.FB_PUSH_TOKEN","typeLabel":"string"},"notificationsSettings":{"type":"object","properties":{"notifyThrough":{"type":"string","enum":["email","push","all","none"],"description":"The notification through","isRequired":true,"uniqueKey":"data.notificationsSettings.notifyThrough","typeLabel":"enum\u003cstring>"},"notifyIf":{"type":"string","enum":["all","requestsOnly","none"],"description":"The notification if","isRequired":true,"uniqueKey":"data.notificationsSettings.notifyIf","typeLabel":"enum\u003cstring>"},"emailNotifyOnNewLead":{"type":"boolean","description":"Whether the client wants to receive email notifications on capturing any new leads from calls.","uniqueKey":"data.notificationsSettings.emailNotifyOnNewLead","typeLabel":"boolean"}},"required":["notifyThrough","notifyIf"],"additionalProperties":false,"description":"The notifications settings of the client, by default the client will only receive email notifications for requests.","uniqueKey":"data.notificationsSettings","typeLabel":"object"},"handoff":{"type":"object","properties":{"maxAssignees":{"type":"number","description":"The maximum number of assignees for handoff","uniqueKey":"data.handoff.maxAssignees","typeLabel":"number"}},"additionalProperties":false,"uniqueKey":"data.handoff","typeLabel":"object"},"lastEmailSentTS":{"type":"number","description":"The timestamp of the last email sent, used by the system to not send a lot of emails to the client.","uniqueKey":"data.lastEmailSentTS","typeLabel":"number"},"preferredLanguage":{"type":"string","description":"The preferred language of the client and based on it whole whitelabel dashboard will be translated, MUST BE 2 letter language code","uniqueKey":"data.preferredLanguage","typeLabel":"string"},"internal":{"type":"object","properties":{"hasChangedPassword":{"type":"boolean","description":"Whether the client has changed the password","uniqueKey":"data.internal.hasChangedPassword","typeLabel":"boolean"}},"additionalProperties":false,"description":"Used internally by system.","uniqueKey":"data.internal","typeLabel":"object"},"lastInvitationTs":{"type":"number","description":"The timestamp of the last invitation","uniqueKey":"data.lastInvitationTs","typeLabel":"number"},"cannedResponses":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the canned response","uniqueKey":"data.cannedResponses.items.[INDEX].key","typeLabel":"string"},"content":{"type":"string","description":"The content of the canned response","uniqueKey":"data.cannedResponses.items.[INDEX].content","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.cannedResponses.items.[INDEX]","typeLabel":"object"},"description":"The canned responses of the client used in the chats tab ","uniqueKey":"data.cannedResponses","typeLabel":"object[]"},"stripeCustomerId":{"type":"string","description":"The Stripe customer ID of the client","uniqueKey":"data.stripeCustomerId","typeLabel":"string"},"signupSource":{"type":"string","description":"Signup source for client onboarding (e.g. stripe_checkout)","uniqueKey":"data.signupSource","typeLabel":"string"},"allowCreateAgents":{"type":"boolean","description":"Whether the client can create agents","uniqueKey":"data.allowCreateAgents","typeLabel":"boolean"},"hideAdvancedSettings":{"type":"boolean","description":"Whether the client can hide the advanced settings","uniqueKey":"data.hideAdvancedSettings","typeLabel":"boolean"},"onboardingState":{"type":"object","properties":{"currentStep":{"type":"number","uniqueKey":"data.onboardingState.currentStep","typeLabel":"number"},"isCompleted":{"type":"boolean","uniqueKey":"data.onboardingState.isCompleted","typeLabel":"boolean"},"completedSteps":{"type":"array","items":{"type":"number","uniqueKey":"data.onboardingState.completedSteps.items.[INDEX]","typeLabel":"number"},"uniqueKey":"data.onboardingState.completedSteps","typeLabel":"number[]"},"personalInfo":{"type":"object","properties":{"fullName":{"type":"string","uniqueKey":"data.onboardingState.personalInfo.fullName","typeLabel":"string"},"companyName":{"type":"string","uniqueKey":"data.onboardingState.personalInfo.companyName","typeLabel":"string"},"role":{"type":"string","uniqueKey":"data.onboardingState.personalInfo.role","typeLabel":"string"},"industry":{"type":"string","uniqueKey":"data.onboardingState.personalInfo.industry","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.onboardingState.personalInfo","typeLabel":"object"},"preferences":{"type":"object","properties":{"primaryUseCase":{"type":"string","uniqueKey":"data.onboardingState.preferences.primaryUseCase","typeLabel":"string"},"communicationPreferences":{"type":"array","items":{"type":"string","uniqueKey":"data.onboardingState.preferences.communicationPreferences.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.onboardingState.preferences.communicationPreferences","typeLabel":"string[]"},"goals":{"type":"array","items":{"type":"string","uniqueKey":"data.onboardingState.preferences.goals.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.onboardingState.preferences.goals","typeLabel":"string[]"}},"additionalProperties":false,"uniqueKey":"data.onboardingState.preferences","typeLabel":"object"},"setupData":{"type":"object","properties":{"selectedAgents":{"type":"array","items":{"type":"string","uniqueKey":"data.onboardingState.setupData.selectedAgents.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.onboardingState.setupData.selectedAgents","typeLabel":"string[]"},"customizations":{"oneOf":[{}],"uniqueKey":"data.onboardingState.setupData.customizations","typeLabel":"any"}},"additionalProperties":false,"uniqueKey":"data.onboardingState.setupData","typeLabel":"object"}},"additionalProperties":false,"description":"Client onboarding state and progress","uniqueKey":"data.onboardingState","typeLabel":"object"},"isNewSignup":{"type":"boolean","description":"Flag to identify clients created through signup (triggers onboarding)","uniqueKey":"data.isNewSignup","typeLabel":"boolean"},"teams":{"type":"array","items":{"type":"object","properties":{"ID":{"type":"string","uniqueKey":"data.teams.items.[INDEX].ID","typeLabel":"string"},"key":{"type":"string","uniqueKey":"data.teams.items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","uniqueKey":"data.teams.items.[INDEX].label","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.teams.items.[INDEX].description","typeLabel":"string"},"orgId":{"type":"string","uniqueKey":"data.teams.items.[INDEX].orgId","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.teams.items.[INDEX]","typeLabel":"object"},"description":"The teams this client belongs to (fetched from orgs/{orgId}/teams subcollection based on memberIds)","uniqueKey":"data.teams","typeLabel":"object[]"},"adminIDs":{"type":"array","items":{"type":"string","uniqueKey":"data.adminIDs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.adminIDs","typeLabel":"string[]"},"supportIDs":{"type":"array","items":{"type":"string","uniqueKey":"data.supportIDs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.supportIDs","typeLabel":"string[]"},"canSelfEdit":{"type":"boolean","uniqueKey":"data.canSelfEdit","typeLabel":"boolean"},"workspaceId":{"type":"string","uniqueKey":"data.workspaceId","typeLabel":"string"},"lastModified":{"type":"number","uniqueKey":"data.lastModified","typeLabel":"number"},"defaultClientAccess":{"type":"array","items":{"type":"string","uniqueKey":"data.defaultClientAccess.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.defaultClientAccess","typeLabel":"string[]"},"defaultClientTabOrder":{"type":"array","items":{"type":"string","uniqueKey":"data.defaultClientTabOrder.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.defaultClientTabOrder","typeLabel":"string[]"},"convoTags":{"type":"array","items":{"type":"string","uniqueKey":"data.convoTags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.convoTags","typeLabel":"string[]"},"enableHumanHandoff":{"type":"boolean","uniqueKey":"data.enableHumanHandoff","typeLabel":"boolean"},"dashboardLayout":{"type":"string","enum":["vertical","horizontal"],"uniqueKey":"data.dashboardLayout","typeLabel":"enum\u003cstring>"},"settings":{"type":"object","properties":{"disableClientAccess":{"type":"boolean","uniqueKey":"data.settings.disableClientAccess","typeLabel":"boolean"}},"additionalProperties":true,"uniqueKey":"data.settings","typeLabel":"object"}},"additionalProperties":true,"description":"Full organization document after create.","isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","message","orgId","data"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","orgId":"\u003cstring>","data":{"ID":"\u003cstring>","firebaseUid":"\u003cstring>","agencyId":"\u003cstring>","userId":"\u003cstring>","ownerID":"\u003cstring>","name":"\u003cstring>","email":"\u003cstring>","squarePhotoURL":"\u003cstring>","widgets":["\u003cunknown>"],"widgetIDs":["\u003cstring>"],"dashboardUsername":"\u003cstring>","dashboardPassword":"\u003cstring>","ts":123,"canAccess":["\u003cstring>"],"allowedChannels":["\u003cstring>"],"allowedIntegrations":["\u003cstring>"],"clientTabOrder":["\u003cstring>"],"magicCode":"\u003cstring>","index":123,"isAdmin":true,"usedSecret":"\u003cstring>","orgId":"\u003cstring>","type":"client","isOrgAdmin":true,"canDelegateChats":true,"status":"online","predefinedTags":["\u003cstring>"],"FB_PUSH_TOKEN":"\u003cstring>","notificationsSettings":{"notifyThrough":"email","notifyIf":"all","emailNotifyOnNewLead":true},"handoff":{"maxAssignees":123},"lastEmailSentTS":123,"preferredLanguage":"\u003cstring>","internal":{"hasChangedPassword":true},"lastInvitationTs":123,"cannedResponses":[{"key":"\u003cstring>","content":"\u003cstring>"}],"stripeCustomerId":"\u003cstring>","signupSource":"\u003cstring>","allowCreateAgents":true,"hideAdvancedSettings":true,"onboardingState":{"currentStep":123,"isCompleted":true,"completedSteps":[123],"personalInfo":{"fullName":"\u003cstring>","companyName":"\u003cstring>","role":"\u003cstring>","industry":"\u003cstring>"},"preferences":{"primaryUseCase":"\u003cstring>","communicationPreferences":["\u003cstring>"],"goals":["\u003cstring>"]},"setupData":{"selectedAgents":["\u003cstring>"],"customizations":"\u003cunknown>"}},"isNewSignup":true,"teams":[{"ID":"\u003cstring>","key":"\u003cstring>","label":"\u003cstring>","description":"\u003cstring>","orgId":"\u003cstring>"}],"adminIDs":["\u003cstring>"],"supportIDs":["\u003cstring>"],"canSelfEdit":true,"workspaceId":"\u003cstring>","lastModified":123,"defaultClientAccess":["\u003cstring>"],"defaultClientTabOrder":["\u003cstring>"],"convoTags":["\u003cstring>"],"enableHumanHandoff":true,"dashboardLayout":"vertical","settings":{"disableClientAccess":true}}}}},"exampleType":"generated"}},"exampleType":"generated"},"2b3561b9-f02b-4770-b3fd-e26f6bfac14b":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"additionalProperties":false,"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>","issues":[{"message":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f4a779fc-496e-416c-a83e-1f8728643cbb":{"Authorization":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"}}},"servers":{"ec62f03f-02db-4ac8-94f6-740924681c62":{"url":"https://eu-gcp-api.vg-stuff.com/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"Authorization"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"convocore-app","siteName":"Convocore","title":"Create Organization - Convocore","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-27T20:54:37.487Z","originalFileLocation":"api-reference/v3/orgs/createOrg.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=\"dark\"}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 organization under the authenticated workspace\">\u003cmeta data-mint-head name=\"application-name\" content=\"Convocore\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_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/convocore-app/rSj2T5qxo57p0oGX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Organization - Convocore\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new organization under the authenticated workspace\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Convocore\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.convocore.app/api-reference/v3/orgs/createOrg\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://convocore-app.mintlify.site/_mintlify/api/og/v2?division=Orgs\u0026amp;title=Create+Organization\u0026amp;description=Create+a+new+organization+under+the+authenticated+workspace\u0026amp;theme=576317014bf2abd3c709f6d5\u0026amp;signature=c751bd636abdd7a01b359d7b473111fd423bae67da5fea59d9330ca95d1512e5\">\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 Organization - Convocore\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new organization under the authenticated workspace\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://convocore-app.mintlify.site/_mintlify/api/og/v2?division=Orgs\u0026amp;title=Create+Organization\u0026amp;description=Create+a+new+organization+under+the+authenticated+workspace\u0026amp;theme=576317014bf2abd3c709f6d5\u0026amp;signature=c751bd636abdd7a01b359d7b473111fd423bae67da5fea59d9330ca95d1512e5\">\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/convocore-app/rSj2T5qxo57p0oGX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Convocore\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#28a9ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.convocore.app/api-reference/v3/orgs/createOrg\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v3/orgs/createOrg.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.convocore.app/#organization\",\"name\":\"Convocore\",\"url\":\"https://docs.convocore.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/convocore-app/d6A8Xe6ghCx0eVzo/logo/ta-logo-512x512.png?fit=max\u0026auto=format\u0026n=d6A8Xe6ghCx0eVzo\u0026q=85\u0026s=825d995afa653905e24c6be90e5ab291\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.convocore.app#website\",\"name\":\"Convocore\",\"url\":\"https://docs.convocore.app\",\"publisher\":{\"@id\":\"https://docs.convocore.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg#webpage\",\"url\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg\",\"name\":\"Create Organization\",\"description\":\"Create a new organization under the authenticated workspace\",\"dateModified\":\"2026-09-27T20:54:37.487Z\",\"isPartOf\":{\"@id\":\"https://docs.convocore.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"V3\",\"item\":\"https://docs.convocore.app/api-reference/v3/intro\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orgs\",\"item\":\"https://docs.convocore.app/api-reference/v3/orgs/getAllOrgs\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Organization\",\"item\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg#apireference\",\"headline\":\"Create Organization\",\"name\":\"Create Organization\",\"description\":\"Create a new organization under the authenticated workspace\",\"url\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg\",\"mainEntityOfPage\":{\"@id\":\"https://docs.convocore.app/api-reference/v3/orgs/createOrg#webpage\"},\"dateModified\":\"2026-09-27T20:54:37.487Z\",\"publisher\":{\"@id\":\"https://docs.convocore.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.convocore.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Convocore\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Convocore\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v3/orgs/createOrg.md","siteName":"Convocore","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/XrJtBsQQRN"},{"anchor":"Status","icon":"info","href":"https://status.convocore.ai/"},{"anchor":"Pricing","icon":"dollar-sign","href":"https://www.convocore.ai/pricing"},{"anchor":"Affiliate Program","icon":"handshake","href":"https://affiliates.convocore.app/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/help-center/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Get Started","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"API Endpoints","href":"/api-reference/endpoints"}]},{"group":"V3","pages":[{"title":"Get Started","icon":"rocket","href":"/api-reference/v3/intro"},{"group":"Agents","icon":"robot","pages":[{"title":"Create Agent","openapi":"POST /agents","href":"/api-reference/v3/agents/post"},{"title":"Agent Usage","openapi":"POST /agents/{agent_id}/usage","href":"/api-reference/v3/agents/usage/get"},{"title":"Get Agent By ID","openapi":"GET /agents/{id}","href":"/api-reference/v3/agents/get_id"},{"title":"Get Agents","openapi":"GET /agents","href":"/api-reference/v3/agents/get"},{"title":"Search Agents","openapi":"GET /agents/search","href":"/api-reference/v3/agents/search"},{"title":"Delete Agent","openapi":"DELETE /agents/{id}","href":"/api-reference/v3/agents/delete"},{"title":"Update Agent","openapi":"PATCH /agents/{id}","href":"/api-reference/v3/agents/update"},{"title":"Clone Agent","openapi":"POST /agents/{agentId}/clone","href":"/api-reference/v3/agents/clone"},{"title":"Interact (REST)","openapi":"POST /agents/interact","href":"/api-reference/v3/agents/interact"},{"title":"Agent Audit Log","openapi":"GET /agents/{agentId}/audit-log","href":"/api-reference/v3/agents/audit-log"},{"title":"Create From Canonical Template","openapi":"POST /agent-templates/{templateId}/create","href":"/api-reference/v3/agents/from-template"},{"title":"Export Agent Template","openapi":"GET /agents/{agentId}/export-template","href":"/api-reference/v3/agents/export-template"},{"title":"Import Agent Template","openapi":"POST /agents/import-template","href":"/api-reference/v3/agents/import-template"}]},{"group":"Knowledge Base","icon":"brain","pages":[{"title":"Create KB","openapi":"POST /agents/{agentId}/kb","href":"/api-reference/v3/kb/post"},{"title":"Upload KB Images","openapi":"POST /agents/{agentId}/kb/images","href":"/api-reference/v3/kb/images"},{"title":"Bulk Create KB Docs","openapi":"POST /agents/{agentId}/kb/docs/bulk","href":"/api-reference/v3/kb/bulk"},{"title":"Get agent KB docs","openapi":"GET /agents/{agentId}/kb","href":"/api-reference/v3/kb/get"},{"title":"Get Single KB Doc","openapi":"GET /agents/{agentId}/kb/{docId}","href":"/api-reference/v3/kb/get_id"},{"title":"Get KB Stats","openapi":"GET /agents/{agentId}/kb/stats","href":"/api-reference/v3/kb/get_stats"},{"title":"Search KB","openapi":"POST /agents/{agentId}/kb/search","href":"/api-reference/v3/kb/search"},{"title":"Delete KB Doc","openapi":"DELETE /agents/{agentId}/kb/{docId}","href":"/api-reference/v3/kb/delete"},{"title":"Update KB Doc","openapi":"PATCH /agents/{agentId}/kb/{docId}","href":"/api-reference/v3/kb/update"}]},{"group":"Scrape","icon":"globe","pages":[{"title":"General Scrape","openapi":"POST /scrape","href":"/api-reference/v3/scrape/post"}]},{"group":"Conversations","icon":"square-minus","pages":[{"title":"Create Conversation","openapi":"POST /agents/{agentId}/convos","href":"/api-reference/v3/conversations/post"},{"title":"Update Conversation","openapi":"PATCH /agents/{agentId}/convos/{convoId}","href":"/api-reference/v3/conversations/update"},{"title":"Update Conversation Messages","openapi":"PATCH /agents/{agentId}/convos/{convoId}/messages","href":"/api-reference/v3/conversations/update_messages"},{"title":"Send Message to Conversation","openapi":"POST /agents/{agentId}/convos/{convoId}/send","href":"/api-reference/v3/conversations/send"},{"title":"Get Agent Conversations","openapi":"GET /agents/{agentId}/convos","href":"/api-reference/v3/conversations/get"},{"title":"Get Single Conversation","openapi":"GET /agents/{agentId}/convos/{convoId}","href":"/api-reference/v3/conversations/get_id"},{"title":"Delete Conversation","openapi":"DELETE /agents/{agentId}/convos/{convoId}","href":"/api-reference/v3/conversations/delete"},{"title":"Export Agent Conversations","openapi":"GET /agents/{agentId}/convos/export","href":"/api-reference/v3/conversations/export"},{"title":"Export Single Conversation","openapi":"GET /agents/{agentId}/convos/{convoId}/export","href":"/api-reference/v3/conversations/export_single"}]},{"group":"Numbers and Telephony","icon":"phone","pages":[{"title":"Outbound Voice Call","openapi":"POST /calls","href":"/api-reference/v3/calls/post"},{"title":"Send Outbound SMS","openapi":"POST /sms","href":"/api-reference/v3/sms/post"},{"title":"Send SMS to Leads (bulk)","openapi":"POST /smsLeads","href":"/api-reference/v3/sms/sms-leads"}]},{"group":"Voices","icon":"microphone","pages":[{"title":"Voices API","href":"/api-reference/v3/voices/intro"},{"title":"List voice providers","openapi":"GET /voices/providers","href":"/api-reference/v3/voices/list-providers"},{"title":"List a provider's TTS models","openapi":"GET /voices/{provider}/models","href":"/api-reference/v3/voices/list-provider-models"},{"title":"List voices (unified)","openapi":"GET /voices","href":"/api-reference/v3/voices/list-voices"},{"title":"List a provider's voices","openapi":"GET /voices/{provider}","href":"/api-reference/v3/voices/list-provider-voices"},{"title":"Get a voice","openapi":"GET /voices/{provider}/{voiceId}","href":"/api-reference/v3/voices/get-voice"},{"title":"Search available Twilio numbers","openapi":"POST /utils/twilio/available-numbers","href":"/api-reference/v3/voices/available-numbers"},{"title":"Import a Twilio number","openapi":"POST /utils/import-twilio-number","href":"/api-reference/v3/voices/import-twilio-number"},{"title":"Buy a Twilio number","openapi":"POST /utils/buy-twilio-number","href":"/api-reference/v3/voices/buy-twilio-number"},{"title":"Verify Twilio number webhooks","openapi":"POST /utils/twilio/check-number","href":"/api-reference/v3/voices/check-number"},{"title":"Release a Twilio number","openapi":"POST /utils/twilio/release-number","href":"/api-reference/v3/voices/release-number"},{"title":"Assign Twilio number to agent (SMS)","openapi":"POST /utils/twilio/sync-sms","href":"/api-reference/v3/voices/sync-sms"}]},{"group":"Tools","icon":"wrench","pages":[{"title":"List Default LLM Tools","openapi":"GET /tools/defaults","href":"/api-reference/v3/tools/defaults"},{"title":"Create Tool","openapi":"POST /agents/{agentId}/tools","href":"/api-reference/v3/tools/post"},{"title":"Get Tools","openapi":"GET /agents/{agentId}/tools","href":"/api-reference/v3/tools/get"},{"title":"Get Tool By ID","openapi":"GET /tools/{toolId}","href":"/api-reference/v3/tools/get_id"},{"title":"Delete Tool","openapi":"DELETE /tools/{toolId}","href":"/api-reference/v3/tools/delete"},{"title":"Update Tool","openapi":"PATCH /tools/{toolId}","href":"/api-reference/v3/tools/update"}]},{"group":"Variables","icon":"code","pages":[{"title":"Create Variable","openapi":"POST /agents/{agentId}/variables","href":"/api-reference/v3/variables/post"},{"title":"Get Variables","openapi":"GET /agents/{agentId}/variables","href":"/api-reference/v3/variables/get"},{"title":"Get Variable By ID","openapi":"GET /variables/{variableId}","href":"/api-reference/v3/variables/get_id"},{"title":"Delete Variable","openapi":"DELETE /variables/{variableId}","href":"/api-reference/v3/variables/delete"},{"title":"Update Variable","openapi":"PATCH /variables/{variableId}","href":"/api-reference/v3/variables/update"}]},{"group":"Leads","icon":"users","pages":[{"title":"Create Lead","openapi":"POST /leads","href":"/api-reference/v3/leads/post"},{"title":"Get Leads","openapi":"GET /leads","href":"/api-reference/v3/leads/get"},{"title":"Get Lead By ID","openapi":"GET /leads/{id}","href":"/api-reference/v3/leads/get_id"},{"title":"Delete Lead","openapi":"DELETE /leads/{id}","href":"/api-reference/v3/leads/delete"},{"title":"Update Lead","openapi":"PATCH /leads/{id}","href":"/api-reference/v3/leads/update"}]},{"group":"Agency","icon":"building-columns","pages":[{"title":"Get Agency","openapi":"GET /agency","href":"/api-reference/v3/agency/getAgency"},{"title":"Create or Update Agency","openapi":"POST /agency","href":"/api-reference/v3/agency/upsertAgency"},{"title":"Delete Agency","openapi":"DELETE /agency","href":"/api-reference/v3/agency/deleteAgency"}]},{"group":"Orgs","icon":"building","pages":[{"title":"Get All Organizations","openapi":"GET /orgs","href":"/api-reference/v3/orgs/getAllOrgs"},{"title":"Search Organizations","description":"Search organizations for the authenticated workspace","openapi":"GET /orgs/search","href":"/api-reference/v3/orgs/searchOrgs"},{"title":"Create Organization","openapi":"POST /orgs","href":"/api-reference/v3/orgs/createOrg"},{"title":"Get Organization","description":"Retrieve a single organization by ID","openapi":"GET /orgs/{orgId}","href":"/api-reference/v3/orgs/getOrgById"},{"title":"Update Organization","openapi":"PATCH /orgs/{orgId}","href":"/api-reference/v3/orgs/updateOrg"},{"title":"Delete Organization","openapi":"DELETE /orgs/{orgId}","href":"/api-reference/v3/orgs/deleteOrg"},{"title":"Get Organization Agents","openapi":"GET /orgs/{orgId}/agents","href":"/api-reference/v3/orgs/getOrgAgents"},{"title":"Assign Organization Agent","openapi":"POST /orgs/{orgId}/agents/{agentId}","href":"/api-reference/v3/orgs/assignOrgAgent"},{"title":"Get Organization Clients","openapi":"GET /orgs/{orgId}/clients","href":"/api-reference/v3/orgs/getOrgClients"},{"title":"Get Organization Members and Teams","openapi":"GET /orgs/{orgId}/members-and-teams","href":"/api-reference/v3/orgs/getOrgMembersAndTeams"},{"title":"List Organization Teams","openapi":"GET /orgs/{orgId}/teams","href":"/api-reference/v3/orgs/listOrgTeams"},{"title":"Create Organization Team","openapi":"POST /orgs/{orgId}/teams","href":"/api-reference/v3/orgs/createOrgTeam"},{"title":"Update Organization Team","openapi":"PATCH /orgs/{orgId}/teams/{teamId}","href":"/api-reference/v3/orgs/updateOrgTeam"},{"title":"Delete Organization Team","openapi":"DELETE /orgs/{orgId}/teams/{teamId}","href":"/api-reference/v3/orgs/deleteOrgTeam"}]},{"group":"Clients","icon":"user-group","pages":[{"title":"List Clients","openapi":"GET /clients","href":"/api-reference/v3/clients/listClients"},{"title":"Create Client","openapi":"POST /clients","href":"/api-reference/v3/clients/createClient"},{"title":"Get Client","openapi":"GET /clients/{clientId}","href":"/api-reference/v3/clients/getClient"},{"title":"Update Client","openapi":"POST /clients/update","href":"/api-reference/v3/clients/updateClient"},{"title":"Delete Client","openapi":"DELETE /clients/{clientId}","href":"/api-reference/v3/clients/deleteClient"},{"title":"Check Client Email","openapi":"POST /clients/check-email","href":"/api-reference/v3/clients/checkEmail"},{"title":"Change Client Password","openapi":"POST /clients/{clientId}/change-password","href":"/api-reference/v3/clients/changePassword"}]},{"group":"Custom Metrics","icon":"chart-line","pages":[{"title":"List Custom Metrics","openapi":"GET /agents/{agentId}/custom-metrics","href":"/api-reference/v3/customMetrics/listMetrics"},{"title":"Get Single Metric","openapi":"GET /agents/{agentId}/custom-metrics/{metricId}","href":"/api-reference/v3/customMetrics/getMetric"},{"title":"Create Custom Metric","openapi":"POST /agents/{agentId}/custom-metrics","href":"/api-reference/v3/customMetrics/createMetric"},{"title":"Update Custom Metric","openapi":"PUT /agents/{agentId}/custom-metrics/{metricId}","href":"/api-reference/v3/customMetrics/updateMetric"},{"title":"Delete Custom Metric","openapi":"DELETE /agents/{agentId}/custom-metrics/{metricId}","href":"/api-reference/v3/customMetrics/deleteMetric"},{"title":"Get Metric Data","openapi":"GET /agents/{agentId}/custom-metrics/{metricKey}/data","href":"/api-reference/v3/customMetrics/getMetricData"},{"title":"Get All Metrics Data","openapi":"GET /agents/{agentId}/custom-metrics/data","href":"/api-reference/v3/customMetrics/getAllMetricsData"}]},{"group":"Crawler","icon":"globe","pages":[{"title":"Create Crawler Job","openapi":"POST /workspaces/{workspaceId}/crawler/jobs","href":"/api-reference/v3/crawler/createJob"},{"title":"List Crawler Jobs","openapi":"GET /workspaces/{workspaceId}/crawler/jobs","href":"/api-reference/v3/crawler/listJobs"},{"title":"Get Crawler Job","openapi":"GET /workspaces/{workspaceId}/crawler/jobs/{jobId}","href":"/api-reference/v3/crawler/getJob"},{"title":"Delete Crawler Job","openapi":"DELETE /workspaces/{workspaceId}/crawler/jobs/{jobId}","href":"/api-reference/v3/crawler/deleteJob"},{"title":"List Crawler Job Pages","openapi":"GET /workspaces/{workspaceId}/crawler/jobs/{jobId}/pages","href":"/api-reference/v3/crawler/listJobPages"},{"title":"Get Crawler Job Page","openapi":"GET /workspaces/{workspaceId}/crawler/jobs/{jobId}/pages/{pageId}","href":"/api-reference/v3/crawler/getJobPage"}]},{"group":"Workspaces","icon":"users","pages":[{"title":"Create Workspace","openapi":"POST /workspaces","href":"/api-reference/v3/workspaces/post"},{"title":"Workspace Usage","openapi":"POST /workspaces/{uid}/usage","href":"/api-reference/v3/workspaces/usage/get"},{"title":"Get Workspace By ID","openapi":"GET /workspaces/{id}","href":"/api-reference/v3/workspaces/get_id"},{"title":"Get Workspaces","openapi":"GET /workspaces","href":"/api-reference/v3/workspaces/get"},{"title":"Delete Workspace","openapi":"DELETE /workspaces/{id}","href":"/api-reference/v3/workspaces/delete"},{"title":"Update Workspace","openapi":"PATCH /workspaces/{id}","href":"/api-reference/v3/workspaces/update"}]}]},{"group":"Message Agent","icon":"plug","pages":[{"group":"Websockets","pages":[{"asyncapi":"api-reference/asyncapi/interact.yaml interact","href":"/api-reference/asyncapi/interact/websockets/interact-channel","title":"Interact channel","version":null}]}]},{"group":"V2 (Legacy)","pages":[{"title":"Introduction","href":"/api-reference/agents/intro"},{"group":"Agents","icon":"robot","pages":[{"title":"Get Agent","openapi":"GET /v2/agents/{agent_id}","href":"/api-reference/agents/get"},{"title":"Create/Edit Agent","openapi":"POST /v2/agents/{agent_id}","href":"/api-reference/agents/post"},{"title":"Delete Agent","openapi":"DELETE /v2/agents/{agent_id}","href":"/api-reference/agents/delete"},{"title":"Chat Interact","openapi":"POST /agents/{agent_id}/interact/{user_id}","href":"/api-reference/agents/interact/post"},{"title":"Configure State","openapi":"POST /agents/{agent_id}/interact/{user_id}/state","href":"/api-reference/agents/state/post"},{"group":"Knowledge Base","icon":"brain","pages":[{"title":"Get Single KB Doc","openapi":"GET /v2/agents/{agent_id}/kb/{doc_id}","href":"/api-reference/agents/kb/get-single"},{"title":"Create/Edit KB Doc","openapi":"PUT /v2/agents/{agent_id}/kb/{doc_id}","href":"/api-reference/agents/kb/put"},{"title":"Delete KB Doc","openapi":"DELETE /v2/agents/{agent_id}/kb/{doc_id}","href":"/api-reference/agents/kb/delete"},{"title":"Get KB Docs","openapi":"GET /v2/agents/{agent_id}/kb","href":"/api-reference/agents/kb/get"},{"title":"Search KB Docs","openapi":"POST /v2/agents/{agent_id}/kb/search","href":"/api-reference/agents/kb/post"},{"title":"Search Vector DB","openapi":"POST /v2/agents/{agent_id}/kb/vector_search","href":"/api-reference/agents/kb/vector_search"},{"title":"Get KB Stats","openapi":"GET /v2/agents/{agent_id}/stats/kb","href":"/api-reference/agents/kb/stats"}]},{"group":"Conversations","icon":"square-minus","pages":[{"title":"Get All Convos","openapi":"GET /v2/agents/{agent_id}/convos","href":"/api-reference/agents/convos/get"},{"title":"Export Convos","openapi":"GET /v2/agents/{agent_id}/convos/export","href":"/api-reference/agents/convos/export"},{"title":"Create/Edit Convo","openapi":"POST /v2/agents/{agent_id}/convos/{convo_id}","href":"/api-reference/agents/convos/post"},{"title":"Delete Convo","openapi":"DELETE /v2/agents/{agent_id}/convos/{convo_id}","href":"/api-reference/agents/convos/delete"}]},{"group":"Analytics","icon":"chart-column","pages":[{"title":"Get All Analytics","openapi":"GET /v2/agents/{agent_id}/analytics","href":"/api-reference/agents/analytics/get-multi"},{"title":"Get Convo Analytics","openapi":"GET /v2/agents/{agent_id}/analytics/{convo_id}","href":"/api-reference/agents/analytics/get-single"},{"title":"Create/Edit Analytics","openapi":"POST /v2/agents/{agent_id}/analytics/{convo_id}","href":"/api-reference/agents/analytics/post-single"},{"title":"Delete Convo Analytics","openapi":"DELETE /v2/agents/{agent_id}/analytics/{convo_id}","href":"/api-reference/agents/analytics/delete-single"},{"title":"Delete All Analytics","openapi":"DELETE /v2/agents/{agent_id}/analytics","href":"/api-reference/agents/analytics/delete-multi"}]}]},{"group":"Workspaces","icon":"users","pages":[{"title":"Get Workspace","openapi":"GET /v2/workspaces","href":"/api-reference/workspaces/get"},{"title":"Edit Workspace","openapi":"POST /v2/workspaces","href":"/api-reference/workspaces/post"},{"title":"Delete Workspace","openapi":"DELETE /v2/workspaces","href":"/api-reference/workspaces/delete"},{"group":"Agency","icon":"hotel","pages":[{"title":"Get Agency","openapi":"GET /v2/agencies","href":"/api-reference/workspaces/agencies/get"},{"title":"Edit/Create Agency","openapi":"POST /v2/agencies","href":"/api-reference/workspaces/agencies/post"},{"title":"Delete Agency","openapi":"DELETE /v2/agencies","href":"/api-reference/workspaces/agencies/delete"}]},{"group":"Orgs","icon":"building","pages":[{"title":"Get Org Clients","openapi":"GET /v2/orgs","href":"/api-reference/workspaces/orgs/@get"},{"title":"New Org Client","openapi":"PUT /v2/orgs","href":"/api-reference/workspaces/orgs/@put"},{"title":"Get Org Client","openapi":"GET /v2/orgs/{org_id}","href":"/api-reference/workspaces/orgs/get"},{"title":"Edit Org Client","openapi":"POST /v2/orgs/{org_id}","href":"/api-reference/workspaces/orgs/post"},{"title":"Delete Org Client","openapi":"DELETE /v2/orgs/{org_id}","href":"/api-reference/workspaces/orgs/delete"}]},{"group":"Clients","icon":"handshake","pages":[{"title":"Get Clients","openapi":"GET /v2/clients","href":"/api-reference/workspaces/clients/@get"},{"title":"New Client","openapi":"PUT /v2/clients","href":"/api-reference/workspaces/clients/@put"},{"title":"Get Client","openapi":"GET /v2/clients/{client_id}","href":"/api-reference/workspaces/clients/get"},{"title":"Edit Client","openapi":"POST /v2/clients/{client_id}","href":"/api-reference/workspaces/clients/post"},{"title":"Delete Client","openapi":"DELETE /v2/clients/{client_id}","href":"/api-reference/workspaces/clients/delete"}]}]}]}]}]},"basePath":"","title":"Create Organization - Convocore","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}