Auth

Create an account

Create an email/password account and return a session token.

The email becomes the account ID. Passwords are stored as salted PBKDF2-HMAC-SHA256 hashes; the plaintext is never persisted.

post/auth/register

Request

  • Base URL: https://foresea.ink (the document declares no server; this is the origin it was published from)
  • URL: https://foresea.ink/auth/register
  • Auth: none declared

Request body

emailstring required

Account email address.

passwordstring required

At least 8 characters.

namestring

Optional display name.

Response

Successful Response

tokenstring required
user_idstring required
emailstring required
namestring required
picturestring required

Changes

No recorded changes to this operation across all 1 revision of this API.