Auth

Exchange a code for a session

Every failure returns the same error — no code, wrong code, expired, too many attempts. Distinguishing them would reintroduce an oracle.

post/v1/auth/verify

Request

  • Base URL: https://www.chatrail.dev
  • URL: https://www.chatrail.dev/v1/auth/verify
  • Auth: none required

Request body

emailstring email required
codestring required

Response

A session cookie is set.

Changes

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