Skip to main content

AI onboarding

Base URL https://api.leadx.in/api/key/protected. Every request needs an apikey header — see Authentication.

7 endpoints.

GET /ai-onboarding

List onboarding runs.

Auth apikey

:::note Used by the web app pages/AIOnboardingSettings.jsx :::

Responsedata is one AIOnboarding object.

POST /ai-onboarding/:id/apply

Apply onboarding.

Auth apikey

:::note Used by the web app components/aiOnboarding/AIOnboardingWizard.jsx :::

Path parameters

Name
idRequired

Responsedata is one AIOnboarding object.

POST /ai-onboarding/:id/resume

Resume onboarding.

Auth apikey

:::note Used by the web app pages/AIOnboardingSettings.jsx :::

Path parameters

Name
idRequired

Responsedata is one AIOnboarding object.

POST /ai-onboarding/:id/suggest

Suggest onboarding.

Auth apikey

:::note Used by the web app components/aiOnboarding/AIOnboardingWizard.jsx :::

Path parameters

Name
idRequired

Responsedata is one AIOnboarding object. (Resource deduced from the collections this handler reads, not read off an explicit return.)

GET /ai-onboarding/latest

Get latest onboarding.

Auth apikey

:::note Used by the web app components/aiOnboarding/AIOnboardingWizard.jsx, pages/AIOnboarding.jsx :::

Responsedata is one AIOnboarding object.

PUT /ai-onboarding/latest

Update latest onboarding.

Auth apikey

:::note Used by the web app components/aiOnboarding/AIOnboardingWizard.jsx, pages/AIOnboarding.jsx :::

Request body

FieldDefault
about
socials
products

Responsedata is one AIOnboarding object.

POST /ai-onboarding/start

Start onboarding.

Auth apikey

:::note Used by the web app components/aiOnboarding/AIOnboardingWizard.jsx :::

Responsedata is one AIOnboarding object.