POST:users.json
POST:users.json
Description
Effectively register a completely new user. After successful registeration, user will be returned with a token field being a valid JWT token. This saves a roundtrip for new users, you don't need to login after registering.
Note that in order to register, you have to set tos_agree to true, which implies you agree with Lana TOS.
While we don't enforce various weird rules on passwords. Please, provide a reasonably secure password or better enable 2FA (TODO: link to 2FA) shortly after creating a user.
Topic: Users
Request Body
Array of UserCreate
[ { "bio_raw_content": "{}", "display_name": "Jane S.", "email": "no+spam@mail.com", "emails": [ { "email": "no+spam@mail.com" } ], "language": "", "name": "Jane Smith", "oauth_code": "", "oauth_provider": "github", "password": "34hb5kj3h45k3", "prefer_twenty_four_hour": "auto", "timezone": "(GMT-05:00) Eastern Time", "timezone_hint": "(GMT-05:00) Eastern Time", "tos_agree": true, "webauthn_credential": "", "webauthn_session_id": "" } ]
Response Body
Array of User
Response Body Type
Loading module