Auth

Finish a signup with the code from the inbox

Signup creates the account but issues neither a session nor an API key until the address is confirmed, so registering under someone else's address gains nothing. This exchanges the six-digit code for a session. Unknown addresses, wrong codes and expired ones are answered identically, so this cannot be used to discover which addresses have accounts. Five wrong attempts burn the code.

post/v1/auth/verify-email

Request

  • Base URL: https://api.briefgate.dev
  • URL: https://api.briefgate.dev/v1/auth/verify-email
  • Auth: none required

Request body

emailstring email required
codestring required

Six digits.

Response

Confirmed; the session cookie is set

verifiedboolean
userobject
accountobject
api_key_idstring nullable

Changes

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