AI-powered company setup. Provide your company name and a description, and Classet creates up to five published jobs and a set of knowledge base entries (company FAQs and a company overview).Onboarding generates no interview scripts. Every job it creates uses your organization’s default script, so the organization must have one — without it the call returns 400. jobs_created[].script_id is that default script’s id. To give a job its own script, use Generate Script, save it as described there, and attach it with Update Job.
curl -X POST https://api.classet.ai/v2/onboard \ -H "X-API-KEY: your-api-key" \ -H "Content-Type: application/json" \ -d '{ "company_name": "Sunrise Home Health", "company_description": "Home health agency providing skilled nursing, therapy, and personal care services across Texas.", "roles_to_hire": ["Registered Nurse", "Certified Nursing Assistant"], "industry": "Healthcare" }'
This endpoint creates real resources in your account. The jobs are published at once with no location, and each job’s candidate-facing title is the role followed by - Remote. Review the generated jobs and knowledge entries in the dashboard before candidates reach them. Cleanup after a failure is best-effort: when the AI provider errors or times out partway, the jobs and knowledge entries already created stay. Before you retry a failed call, check GET /v2/jobs and GET /v2/knowledge and delete anything it left, or the retry creates duplicates.
Never retry POST /v2/onboard automatically, including on a 500 or 504 and with an Idempotency-Key. A 5xx is never cached as an idempotent response, so the retry runs the whole onboarding again on top of whatever the failed call left behind. Exclude this endpoint from any generic retry loop, and retry by hand only after the cleanup above.
Authorizations
X-API-KEY
string
header
required
Your Classet API key. Create and rotate keys in Settings → API.
Body
application/json
company_name
string
required
Your company name.
Minimum string length: 1
Example:
"Acme Corp"
company_description
string
A description of your company and what you do. The more detail you provide, the better the generated content.
Example:
"We build payment infrastructure for startups"
roles_to_hire
string[]
Job titles you want to create. If omitted, the AI will suggest roles based on your company description.
Your industry (e.g. "Healthcare", "Construction", "Staffing").
Example:
"Technology"
Response
Onboarding complete
data
object
required
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Classet API","colors":{"primary":"#A16207","light":"#EDB968","dark":"#A16207"},"logo":{"light":"https://mintcdn.com/classet/F7FrQ_OAFGMrT5Fg/logo/light.svg?fit=max\u0026auto=format\u0026n=F7FrQ_OAFGMrT5Fg\u0026q=85\u0026s=aa940697cace955dcf764ab40e61ee6e","dark":"https://mintcdn.com/classet/F7FrQ_OAFGMrT5Fg/logo/dark.svg?fit=max\u0026auto=format\u0026n=F7FrQ_OAFGMrT5Fg\u0026q=85\u0026s=2bd235026c6489ba56bc624a41ae4266"},"favicon":"https://mintcdn.com/classet/F7FrQ_OAFGMrT5Fg/favicon.ico?fit=max\u0026auto=format\u0026n=F7FrQ_OAFGMrT5Fg\u0026q=85\u0026s=093eeb6f17d708eb4387250ef77557f6","api":{"openapi":{"source":"openapi.json","overlays":["openapi.overlay.json"]},"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://api.classet.ai"}},"background":{"color":{"light":"#FFFDF9","dark":"#1C1917"}},"navbar":{"links":[{"href":"https://app.classet.ai","label":"Dashboard"}],"primary":{"type":"button","label":"Get API Key","href":"https://app.classet.ai/settings/developers"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/classet","website":"https://classet.ai"}},"seo":{"metatags":{"og:site_name":"Classet API Documentation","og:image":"https://www.classet.ai/og-image.png","twitter:site":"@classetai","robots":"noindex"},"indexing":"navigable"},"fonts":{"heading":{"family":"Lato","weight":700},"body":{"family":"Lato","weight":400}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Product","icon":"box","href":"https://www.classet.ai/product"},{"anchor":"Blog","icon":"newspaper","href":"https://www.classet.ai/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"classet","hasAudioNarration":false,"actualSubdomain":"classet","customDomains":[],"gitSource":{"type":"github","owner":"classet-trades","repo":"classet-monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b0fad66f1dbddd3a85d4e59"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0fb149f1dbddd3a85d6bf2","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API Reference","count":65},{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"Candidates","count":11},{"language":"default","tag":"Message Automations","count":9},{"language":"default","tag":"Scripts","count":9},{"language":"default","tag":"Applications","count":6},{"language":"default","tag":"Jobs","count":6},{"language":"default","tag":"Webhooks","count":5},{"language":"default","tag":"Calls","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":":root{--radius: 0px}button,input,select,textarea,[role=\"button\"],.card,code,pre,.accordion,[class*=\"rounded\"]{border-radius:0!important}pre{border-radius:0!important;border:1px solid #e5e5e5}.card,[class*=\"callout\"],[class*=\"note\"],[class*=\"warning\"],[class*=\"tip\"]{border-radius:0!important}[role=\"tablist\"] button,[role=\"tab\"]{border-radius:0!important}h1,h2,h3,h4,h5,h6{letter-spacing:-0.02em}p,li,td{letter-spacing:-0.01em}"}]}
{"page":{"pagePath":"api-reference/ai/onboard","slug":"/api-reference/ai/onboard","pageMetadata":{"title":"Onboard Company","openapi":"POST /v2/onboard","description":"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.","href":"/api-reference/ai/onboard"},"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: \"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Note,Warning}=_components;if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`AI-powered company setup. Provide your company name and a description, and Classet creates up to five published jobs and a set of knowledge base entries (company FAQs and a company overview).`}),`\n`,_jsxs(_components.p,{children:[`Onboarding generates no interview scripts. Every job it creates uses your organization’s `,_jsx(_components.strong,{children:`default script`}),`, so the organization must have one — without it the call returns `,_jsx(_components.code,{children:`400`}),`. `,_jsx(_components.code,{children:`jobs_created[].script_id`}),` is that default script’s id. To give a job its own script, use `,_jsx(_components.a,{href:`/api-reference/ai/generate-script`,children:`Generate Script`}),`, save it as described there, and attach it with `,_jsx(_components.a,{href:`/api-reference/jobs/update-job`,children:`Update Job`}),`.`]}),`\n`,`\n`,`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint creates real resources in your account. The jobs are published at once with no location, and each job’s candidate-facing title is the role followed by `,_jsx(_components.code,{children:` - Remote`}),`. Review the generated jobs and knowledge entries in the dashboard before candidates reach them. Cleanup after a failure is best-effort: when the AI provider errors or times out partway, the jobs and knowledge entries already created stay. Before you retry a failed call, check `,_jsx(_components.code,{children:`GET /v2/jobs`}),` and `,_jsx(_components.code,{children:`GET /v2/knowledge`}),` and delete anything it left, or the retry creates duplicates.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Never retry `,_jsx(_components.code,{children:`POST /v2/onboard`}),` automatically, including on a `,_jsx(_components.code,{children:`500`}),` or `,_jsx(_components.code,{children:`504`}),` and with an `,_jsx(_components.code,{children:`Idempotency-Key`}),`. A `,_jsx(_components.code,{children:`5xx`}),` is never cached as an idempotent response, so the retry runs the whole onboarding again on top of whatever the failed call left behind. Exclude this endpoint from any generic retry loop, and retry by hand only after the cleanup above.`]})})]})}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":"Onboard Company","openapi":"POST /v2/onboard","description":"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.","href":"/api-reference/ai/onboard"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Note,RequestExample,ResponseExample,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Note)_missingMdxReference(`Note`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`AI-powered company setup. Provide your company name and a description, and Classet creates up to five published jobs and a set of knowledge base entries (company FAQs and a company overview).`}),`\n`,_jsxs(_components.p,{children:[`Onboarding generates no interview scripts. Every job it creates uses your organization’s `,_jsx(_components.strong,{children:`default script`}),`, so the organization must have one — without it the call returns `,_jsx(_components.code,{children:`400`}),`. `,_jsx(_components.code,{children:`jobs_created[].script_id`}),` is that default script’s id. To give a job its own script, use `,_jsx(_components.a,{href:`/api-reference/ai/generate-script`,children:`Generate Script`}),`, save it as described there, and attach it with `,_jsx(_components.a,{href:`/api-reference/jobs/update-job`,children:`Update Job`}),`.`]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,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:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.classet.ai/v2/onboard`}),_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-API-KEY: your-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:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"company_name\": \"Sunrise Home Health\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"company_description\": \"Home health agency providing skilled nursing, therapy, and personal care services across Texas.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"roles_to_hire\": [\"Registered Nurse\", \"Certified Nursing Assistant\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"industry\": \"Healthcare\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,numberOfLines:`17`,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:`17`,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:` \"data\"`}),_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:` \"jobs_created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"job_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"abc123def\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Registered Nurse\"`}),_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:` \"script_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"job_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ghi456jkl\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Certified Nursing Assistant\"`}),_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:` \"script_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`15`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"knowledge_entries_created\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`})]}),`\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`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint creates real resources in your account. The jobs are published at once with no location, and each job’s candidate-facing title is the role followed by `,_jsx(_components.code,{children:` - Remote`}),`. Review the generated jobs and knowledge entries in the dashboard before candidates reach them. Cleanup after a failure is best-effort: when the AI provider errors or times out partway, the jobs and knowledge entries already created stay. Before you retry a failed call, check `,_jsx(_components.code,{children:`GET /v2/jobs`}),` and `,_jsx(_components.code,{children:`GET /v2/knowledge`}),` and delete anything it left, or the retry creates duplicates.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Never retry `,_jsx(_components.code,{children:`POST /v2/onboard`}),` automatically, including on a `,_jsx(_components.code,{children:`500`}),` or `,_jsx(_components.code,{children:`504`}),` and with an `,_jsx(_components.code,{children:`Idempotency-Key`}),`. A `,_jsx(_components.code,{children:`5xx`}),` is never cached as an idempotent response, so the retry runs the whole onboarding again on top of whatever the failed call left behind. Exclude this endpoint from any generic retry loop, and retry by hand only after the cleanup above.`]})})]})}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":"Onboard Company","openapi":"POST /v2/onboard","description":"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.","href":"/api-reference/ai/onboard"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.classet.ai/v2/onboard\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-KEY: your-api-key\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"company_name\": \"Sunrise Home Health\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"company_description\": \"Home health agency providing skilled nursing, therapy, and personal care services across Texas.\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"roles_to_hire\": [\"Registered Nurse\", \"Certified Nursing Assistant\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"industry\": \"Healthcare\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"jobs_created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"job_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"abc123def\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Registered Nurse\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"script_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">15\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"job_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ghi456jkl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Certified Nursing Assistant\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"script_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">15\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"knowledge_entries_created\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">8\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["AI"],"summary":"AI-powered onboarding","description":"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.","security":["243c6655-8a3a-49e5-80ca-937797cd8e3a"],"requestBody":"a8d29589-38ed-48e4-af1b-c16d85b3f554","responses":{"201":"04931195-9588-4121-b9f9-218af12d4016","400":"1f9c1f16-bdc6-4085-b8b6-50b0fef009db","500":"5c196f72-dbef-4eba-a7b3-199d65a498e3"},"method":"post","type":"path","servers":["17839619-2618-4ac3-afba-460763bc66c5","00aa4118-4e11-4af9-b17e-be21516ad931"],"path":"/v2/onboard","baseUrlOptions":["https://api.classet.ai","http://localhost:8081"],"title":"AI-powered onboarding","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"9","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#953800","--shiki-dark":"#DCDCAA"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" https://api.classet.ai/v2/onboard"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"X-API-KEY: your-api-key\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#CF222E","--shiki-dark":"#D7BA7D"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#569CD6"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" '{"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"company_name\": \"Sunrise Home Health\","}}}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"company_description\": \"Home health agency providing skilled nursing, therapy, and personal care services across Texas.\","}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"roles_to_hire\": [\"Registered Nurse\", \"Certified Nursing Assistant\"],"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" \"industry\": \"Healthcare\""}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":" }'"}}}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"17","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"jobs_created\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": ["}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"job_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"abc123def\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"title\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Registered Nurse\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"script_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"15"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"job_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"ghi456jkl\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"title\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Certified Nursing Assistant\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"script_id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"15"}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" ],"}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"knowledge_entries_created\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"8"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"201"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company_name":{"type":"string","minLength":1,"example":"Acme Corp","description":"Your company name.","isRequired":true,"uniqueKey":"company_name","typeLabel":"string"},"company_description":{"type":"string","example":"We build payment infrastructure for startups","description":"A description of your company and what you do. The more detail you provide, the better the generated content.","uniqueKey":"company_description","typeLabel":"string"},"roles_to_hire":{"type":"array","items":{"type":"string","uniqueKey":"roles_to_hire.items.[INDEX]","typeLabel":"string"},"example":["Senior Software Engineer","Product Designer"],"description":"Job titles you want to create. If omitted, the AI will suggest roles based on your company description.","uniqueKey":"roles_to_hire","typeLabel":"string[]"},"industry":{"type":"string","example":"Technology","description":"Your industry (e.g. `\"Healthcare\"`, `\"Construction\"`, `\"Staffing\"`).","uniqueKey":"industry","typeLabel":"string"}},"required":["company_name"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"company_name":"Acme Corp","company_description":"We build payment infrastructure for startups","roles_to_hire":["Senior Software Engineer","Product Designer"],"industry":"Technology"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"04931195-9588-4121-b9f9-218af12d4016":{"description":"Onboarding complete","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"jobs_created":{"type":"array","items":{"type":"object","properties":{"job_id":{"type":"string","description":"The v2 job ID (`jobs.id`), as GET /v2/jobs returns it. `job_shortcode`, where present, is the v1 shortcode of the same job; every `{jobId}` and `job_id` input accepts either.","isRequired":true,"uniqueKey":"data.jobs_created.items.[INDEX].job_id","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"data.jobs_created.items.[INDEX].title","typeLabel":"string"},"script_id":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.jobs_created.items.[INDEX].script_id.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.jobs_created.items.[INDEX].script_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.jobs_created.items.[INDEX].script_id","typeLabel":"integer | null"}},"required":["job_id","title","script_id"],"uniqueKey":"data.jobs_created.items.[INDEX]","typeLabel":"object"},"description":"List of jobs that were created, each with `job_id`, `title`, and `script_id`.","isRequired":true,"uniqueKey":"data.jobs_created","typeLabel":"object[]"},"knowledge_entries_created":{"type":"integer","description":"Number of knowledge base entries that were generated.","isRequired":true,"uniqueKey":"data.knowledge_entries_created","typeLabel":"integer"}},"required":["jobs_created","knowledge_entries_created"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"jobs_created":[{"job_id":"\u003cstring>","title":"\u003cstring>","script_id":123}],"knowledge_entries_created":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"1f9c1f16-bdc6-4085-b8b6-50b0fef009db":{"description":"Organization setup is incomplete","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Resource not found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["not_found","validation_error","unauthorized","forbidden","insufficient_scope","restricted_key_unsupported","branch_out_of_scope","key_misconfigured","quota_exceeded","rate_limited","rate_limit_unavailable","conflict","idempotency_key_reuse","candidate_opted_out","recently_contacted","request_in_progress","unprocessable","bad_request","payload_too_large","internal_error","service_unavailable"],"example":"not_found","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","example":"9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f","description":"Request ID, also echoed in the X-Request-Id response header. Include it when reporting issues.","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Resource not found","code":"not_found","request_id":"9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f"}}},"exampleType":"generated"}},"exampleType":"generated"},"5c196f72-dbef-4eba-a7b3-199d65a498e3":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Resource not found","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["not_found","validation_error","unauthorized","forbidden","insufficient_scope","restricted_key_unsupported","branch_out_of_scope","key_misconfigured","quota_exceeded","rate_limited","rate_limit_unavailable","conflict","idempotency_key_reuse","candidate_opted_out","recently_contacted","request_in_progress","unprocessable","bad_request","payload_too_large","internal_error","service_unavailable"],"example":"not_found","description":"Stable machine-readable error code.","uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","example":"9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f","description":"Request ID, also echoed in the X-Request-Id response header. Include it when reporting issues.","uniqueKey":"request_id","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Resource not found","code":"not_found","request_id":"9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"243c6655-8a3a-49e5-80ca-937797cd8e3a":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your Classet API key. Create and rotate keys in Settings → API.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"17839619-2618-4ac3-afba-460763bc66c5":{"url":"https://api.classet.ai","description":"Production"},"00aa4118-4e11-4af9-b17e-be21516ad931":{"url":"http://localhost:8081","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your Classet API key. Create and rotate keys in Settings → API.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-KEY","type":"string","description":"Your Classet API key. Create and rotate keys in Settings → API.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"classet","siteName":"Classet API","title":"Onboard Company - Classet API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T05:49:06.207Z","originalFileLocation":"api-reference/ai/onboard.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=\"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Classet API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Onboard Company - Classet API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Classet API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://classet.mintlify.dev/docs/api-reference/ai/onboard\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://www.classet.ai/og-image.png\">\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=\"Onboard Company - Classet API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://www.classet.ai/og-image.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/classet/c0zbHJjKuSM8zOpy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Classet API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#A16207\">\u003clink data-mint-head rel=\"canonical\" href=\"https://classet.mintlify.dev/docs/api-reference/ai/onboard\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/ai/onboard.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://classet.mintlify.dev/#organization\",\"name\":\"Classet API\",\"url\":\"https://classet.mintlify.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/classet/F7FrQ_OAFGMrT5Fg/logo/light.svg?fit=max\u0026auto=format\u0026n=F7FrQ_OAFGMrT5Fg\u0026q=85\u0026s=aa940697cace955dcf764ab40e61ee6e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://classet.mintlify.dev/docs#website\",\"name\":\"Classet API\",\"url\":\"https://classet.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://classet.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard#webpage\",\"url\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard\",\"name\":\"Onboard Company\",\"description\":\"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.\",\"dateModified\":\"2026-12-02T05:49:06.207Z\",\"isPartOf\":{\"@id\":\"https://classet.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Generation\",\"item\":\"https://classet.mintlify.dev/docs/api-reference/ai/generate-job\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Onboard Company\",\"item\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard#apireference\",\"headline\":\"Onboard Company\",\"name\":\"Onboard Company\",\"description\":\"Set up an organization from a company description. Creates jobs, scripts, and knowledge base entries using AI.\",\"url\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard\",\"mainEntityOfPage\":{\"@id\":\"https://classet.mintlify.dev/docs/api-reference/ai/onboard#webpage\"},\"image\":\"https://www.classet.ai/og-image.png\",\"dateModified\":\"2026-12-02T05:49:06.207Z\",\"publisher\":{\"@id\":\"https://classet.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://classet.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Classet API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Classet API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/ai/onboard.md","siteName":"Classet API","nav":{"global":{"anchors":[{"anchor":"Product","icon":"box","href":"https://www.classet.ai/product"},{"anchor":"Blog","icon":"newspaper","href":"https://www.classet.ai/blog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","href":"/api-reference/overview"},{"title":"Health Check","openapi":"GET /v2/health","href":"/api-reference/health"}]},{"group":"Organization","pages":[{"title":"Get Organization","openapi":"GET /v2/organization","href":"/api-reference/organization/get-organization"},{"title":"List Branches","openapi":"GET /v2/branches","href":"/api-reference/organization/list-branches"},{"title":"List Users","openapi":"GET /v2/users","href":"/api-reference/organization/list-users"},{"title":"List Tags","openapi":"GET /v2/tags","href":"/api-reference/organization/list-tags"}]},{"group":"Jobs","pages":[{"title":"List Jobs","openapi":"GET /v2/jobs","href":"/api-reference/jobs/list-jobs"},{"title":"Get Job","openapi":"GET /v2/jobs/{jobId}","href":"/api-reference/jobs/get-job"},{"title":"List Job Stages","openapi":"GET /v2/jobs/{jobId}/stages","href":"/api-reference/jobs/list-stages"},{"title":"Create Job","openapi":"POST /v2/jobs","href":"/api-reference/jobs/create-job"},{"title":"Update Job","openapi":"PATCH /v2/jobs/{jobId}","href":"/api-reference/jobs/update-job"},{"title":"Delete Job","openapi":"DELETE /v2/jobs/{jobId}","href":"/api-reference/jobs/delete-job"}]},{"group":"Candidates","pages":[{"title":"List Candidates","openapi":"GET /v2/candidates","href":"/api-reference/candidates/list-candidates"},{"title":"Create Candidate","openapi":"POST /v2/candidates","href":"/api-reference/candidates/create-candidate"},{"title":"Get Candidate","openapi":"GET /v2/candidates/{candidateId}","href":"/api-reference/candidates/get-candidate"},{"title":"Update Candidate","openapi":"PATCH /v2/candidates/{candidateId}","href":"/api-reference/candidates/update-candidate"},{"title":"Get Interview","openapi":"GET /v2/candidates/{candidateId}/interview","href":"/api-reference/candidates/get-interview"},{"title":"Get Messages","openapi":"GET /v2/candidates/{candidateId}/messages","href":"/api-reference/candidates/get-messages"},{"title":"Send Interview","openapi":"POST /v2/candidates/{candidateId}/interview","href":"/api-reference/candidates/send-interview"},{"title":"Stop Interview","openapi":"POST /v2/candidates/{candidateId}/stop-interview","href":"/api-reference/candidates/stop-interview"},{"title":"List Candidate Activity","openapi":"GET /v2/candidates/{candidateId}/activity","href":"/api-reference/candidates/list-activity"},{"title":"List Candidate Attachments","openapi":"GET /v2/candidates/{candidateId}/attachments","href":"/api-reference/candidates/list-attachments"},{"title":"List Candidate Notes","openapi":"GET /v2/candidates/{candidateId}/notes","href":"/api-reference/candidates/list-notes"}]},{"group":"Applications","pages":[{"title":"List All Applications","openapi":"GET /v2/applications","href":"/api-reference/applications/list-all-applications"},{"title":"List Applications for a Job","openapi":"GET /v2/jobs/{jobId}/applications","href":"/api-reference/applications/list-applications"},{"title":"Get Application","openapi":"GET /v2/applications/{applicationId}","href":"/api-reference/applications/get-application"},{"title":"Update Application","openapi":"PATCH /v2/applications/{applicationId}","href":"/api-reference/applications/update-application"},{"title":"Disqualify Application","openapi":"POST /v2/applications/{applicationId}/disqualify","href":"/api-reference/applications/disqualify"},{"title":"Move Application Stage","openapi":"PUT /v2/applications/{applicationId}/stage","href":"/api-reference/applications/move-stage"}]},{"group":"Calls","pages":[{"title":"Register Call","openapi":"POST /v2/calls","href":"/api-reference/calls/register-call"},{"title":"Get Call","openapi":"GET /v2/calls/{callId}","href":"/api-reference/calls/get-call"},{"title":"List Candidate Calls","openapi":"GET /v2/candidates/{candidateId}/calls","href":"/api-reference/calls/list-candidate-calls"},{"title":"Download Call Recording","openapi":"GET /v2/calls/{callId}/recording","href":"/api-reference/calls/download-recording"}]},{"group":"Scripts","pages":[{"title":"List Scripts","openapi":"GET /v2/scripts","href":"/api-reference/scripts/list-scripts"},{"title":"Get Script","openapi":"GET /v2/scripts/{scriptId}","href":"/api-reference/scripts/get-script"},{"title":"Create Script","openapi":"POST /v2/scripts","href":"/api-reference/scripts/create-script"},{"title":"Update Script","openapi":"PATCH /v2/scripts/{scriptId}","href":"/api-reference/scripts/update-script"},{"title":"Delete Script","openapi":"DELETE /v2/scripts/{scriptId}","href":"/api-reference/scripts/delete-script"},{"title":"Duplicate Script","openapi":"POST /v2/scripts/{scriptId}/duplicate","href":"/api-reference/scripts/duplicate-script"},{"title":"Add Task","openapi":"POST /v2/scripts/{scriptId}/tasks","href":"/api-reference/scripts/add-task"},{"title":"Update Script Task","openapi":"PATCH /v2/script-tasks/{taskId}","href":"/api-reference/scripts/update-task"},{"title":"Reorder Tasks","openapi":"PUT /v2/scripts/{scriptId}/reorder-tasks","href":"/api-reference/scripts/reorder-tasks"}]},{"group":"Message Automations","pages":[{"title":"List Message Automations","openapi":"GET /v2/message-automations","href":"/api-reference/message-automations/list-automations"},{"title":"Get Message Automation","openapi":"GET /v2/message-automations/{automationId}","href":"/api-reference/message-automations/get-automation"},{"title":"Create Message Automation","openapi":"POST /v2/message-automations","href":"/api-reference/message-automations/create-automation"},{"title":"Update Message Automation","openapi":"PATCH /v2/message-automations/{automationId}","href":"/api-reference/message-automations/update-automation"},{"title":"Delete Message Automation","openapi":"DELETE /v2/message-automations/{automationId}","href":"/api-reference/message-automations/delete-automation"},{"title":"Duplicate Message Automation","openapi":"POST /v2/message-automations/{automationId}/duplicate","href":"/api-reference/message-automations/duplicate-automation"},{"title":"Update Automation Steps","openapi":"PUT /v2/message-automations/{automationId}/steps","href":"/api-reference/message-automations/update-steps"},{"title":"Set Default Automation","openapi":"POST /v2/message-automations/{automationId}/set-default","href":"/api-reference/message-automations/set-default"},{"title":"Link Automation to Script","openapi":"POST /v2/scripts/{scriptId}/link-automation","href":"/api-reference/message-automations/link-to-script"}]},{"group":"Agent Settings","pages":[{"title":"Get Agent Settings","openapi":"GET /v2/agent-settings","href":"/api-reference/agent-settings/get-settings"},{"title":"Update Agent Settings","openapi":"PATCH /v2/agent-settings","href":"/api-reference/agent-settings/update-settings"}]},{"group":"Knowledge Base","pages":[{"title":"List Knowledge Entries","openapi":"GET /v2/knowledge","href":"/api-reference/knowledge/list-entries"},{"title":"Create Knowledge Entry","openapi":"POST /v2/knowledge","href":"/api-reference/knowledge/create-entry"},{"title":"Update Knowledge Entry","openapi":"PATCH /v2/knowledge/{entryId}","href":"/api-reference/knowledge/update-entry"},{"title":"Delete Knowledge Entry","openapi":"DELETE /v2/knowledge/{entryId}","href":"/api-reference/knowledge/delete-entry"}]},{"group":"AI Generation","pages":[{"title":"Generate Job","openapi":"POST /v2/jobs/generate","href":"/api-reference/ai/generate-job"},{"title":"Generate Script","openapi":"POST /v2/scripts/generate","description":"Uses AI to generate a structured interview script with tasks and questions tailored to the role.","href":"/api-reference/ai/generate-script"},{"title":"Onboard Company","openapi":"POST /v2/onboard","href":"/api-reference/ai/onboard"}]},{"group":"Webhooks","pages":[{"title":"Get Webhook Config","openapi":"GET /v2/webhooks","description":"Retrieve the current webhook URLs and signing secret status for your organization.","href":"/api-reference/webhooks/get-config"},{"title":"Update Webhook Config","openapi":"PUT /v2/webhooks","href":"/api-reference/webhooks/update-config"},{"title":"Test Webhook","openapi":"POST /v2/webhooks/test","href":"/api-reference/webhooks/test"},{"title":"List Webhook Deliveries","openapi":"GET /v2/webhooks/events","href":"/api-reference/webhooks/list-events"},{"title":"Get Webhook Delivery","openapi":"GET /v2/webhooks/events/{eventId}","href":"/api-reference/webhooks/get-event"}]}]}]},"basePath":"","title":"Onboard Company - Classet API","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CqAH5gmw.js","snippetPresets-BJgunkn7.js","utils-2nvZyCRg.js","style-to-object-BY3JEAdk.js","utils-Dg_ccOpq.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Dx13yQ3Z.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BF2bK8_8.js","_Uint8Array-CroFGttd.js","isObject-FP1Yky1u.js","ApiExamples-DVMMKE_5.js","usePlaygroundInputsStore-CZqNhEOQ.js","shallow-lVKuG6ys.js","isEqual-BtwhVrrv.js","CodeSnippets-D1j3p1Ld.js","CodeSnippet-DZ0X6n6h.js","use-playground-group-access-CHc7bwGD.js","Page-Dsa0ree3.js","api-description-markdown-D8YljcAx.js","DynamicMarkdown-BpzBQATn.js","SectionHeading-DbMHVbf0.js","MethodPill-Bw-UUkE7.js","getPastedJson-DSpdmJSt.js","Check2Icon-CQQrmKnL.js","axios-CsQoIw0U.js","Markdown-DzeE2WAf.js","AssistantPageLink-CufzKkGt.js","dist-b2i9ft66.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}