Auth

Create an account with email + password (pending verification)

Mints a free-tier account and emails a 6-digit activation code. No session is started — POST /v1/auth/verify-code activates the account and signs it in. Where no mailer is configured the code is returned as verify_code_dev. When Turnstile is enabled (/v1/auth/providers reports captcha true) a captcha_token is required.

post/v1/auth/register

Request

  • Base URL: https://api.stackdata.io
  • URL: https://api.stackdata.io/v1/auth/register
  • Auth: one of:
    • none
    • API key in header X-API-Key

Request body

emailstring email required
passwordstring required
nicknamestring
captcha_tokenstring

Turnstile token

Response

Account created; verification pending.

okboolean
pending_verificationboolean
emailstring
verify_code_devstring

Only when no mailer is configured.

Changes

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