---
title: "Create onboarding account (public)"
method: POST
path: "/onboarding/account"
tags: ["Onboarding"]
---

# Create onboarding account (public)

`POST /onboarding/account`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/onboarding/account`
- Auth: API key in header `x-auth-token`

Step 1: email + password. Creates Auth0 user and draft registration immediately; password is stored only in the IdP. Email verification follows.

## Request body

- CreateOnboardingAccountDTO
  - `email` string, required
  - `password` string, required
  - `confirmPassword` string, required
  - `captchaToken` string
  - `invitationToken` string
  - `clientPlatform` 'WEB' | 'MOBILE'

## Response `201`

Accepted (verification or account instructions emailed). Response is identical for new and existing emails.

- CreateOnboardingAccountResponseDTO
  - `userId` integer
  - `email` string
  - `status` 'PENDING_VERIFICATION' | 'PENDING_APPROVAL' | 'ACTIVE' | 'BLOCKED' | 'REJECTED' | 'RETIRED'
  - `currentStep` 'ACCOUNT_CREATED' | 'EMAIL_VERIFICATION' | 'TERMS_ACCEPTANCE' | 'USER_INFORMATION' | 'PHONE_VERIFICATION' | 'ORGANIZATION_INFORMATION' | 'SUBMITTED'
  - `idpUserId` string

## Other responses

- `400`: Validation / captcha error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
