Auth

Activate an account with its emailed code, and sign in

post/v1/auth/verify-code

Request

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

Request body

emailstring email required
codestring required

The 6-digit code.

Response

Activated and signed in.

sessionstring

Bearer token — send as Authorization for cross-origin calls.

verify_token_devstring

Dev-only — the email-verification token, present on non-https hosts since no mailer is wired.

Changes

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