Skip to main content
POST
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.
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.

Example:
industry
string

Your industry (e.g. "Healthcare", "Construction", "Staffing").

Example:

"Technology"

Response

Onboarding complete

data
object
required