Skip to content

DoCurious API Reference / types / CreateUserData

Interface: CreateUserData ​

Defined in: types/user.types.ts:339

Payload for the user registration API endpoint.

Remarks ​

role defaults to 'user' when omitted. Vendor and school roles are assigned through separate onboarding flows, not during self-registration.

Extended by ​

Properties ​

dateOfBirth ​

dateOfBirth: string

Defined in: types/user.types.ts:344

ISO 8601 date string -- used to determine COPPA status at registration


displayName ​

displayName: string

Defined in: types/user.types.ts:342


email ​

email: string

Defined in: types/user.types.ts:340


interests? ​

optional interests: string[]

Defined in: types/user.types.ts:348

Initial category slugs for seeding the recommendation engine


password ​

password: string

Defined in: types/user.types.ts:341


role? ​

optional role: UserRole

Defined in: types/user.types.ts:346

Defaults to 'user' if not provided

DoCurious Platform Documentation