account

Send a code that binds or changes a phone or email (link), or re-verifies one of the account's (reauth).

post/account/login-methods/codes

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

authorization, string nullable

Request body

CodeStartRequest required
purpose, 'link' | 'reauth' | 'merge' required
kind, 'phone' | 'email' required
entry, 'row' | 'conflict' | 'wallet' | 'support_link' | 'notice'
destination, string nullable
ref, string nullable
replaces, string nullable
proof, string nullable
locale, string nullable

Response

Successful Response

CodeStartResponse required
challenge_id, string required
destination, string required
resend_in, integer required

Changes