Users

Create User

POST

Creates a User.

Request

This endpoint expects an object.
name
stringRequired
email
stringRequired
role
enumOptional

"student" or "teacher". If unset, a home user will be created, unable to join classrooms.

Allowed values: studentteacher
preferredLanguage
stringOptional
heroConfig
objectOptional
birthday
stringOptional

Response

This endpoint returns an object
_id
stringOptional
email
stringOptional
name
stringOptional
slug
stringOptional
role
stringOptional
Usually either 'teacher' or 'student'
stats
objectOptional
oAuthIdentities
list of objectsOptional
subscription
objectOptional
license
objectOptional