account

Create Auth Challenge

post/account/auth/challenges

Request

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

Request body

AuthChallengeCreateRequest required
method, 'email_otp' | 'phone_otp' | 'wechat_qr' | 'wechat_browser' required
subject, string nullable
visitor_context_token, string nullable
country_code, string nullable
preferred_locale, string nullable
activation_return, string nullable

Response

Successful Response

AuthChallengeResponse required
challenge_id, string required
method, 'email_otp' | 'phone_otp' | 'wechat_qr' | 'wechat_browser' required
status, 'pending' | 'authenticated' | 'consumed' | 'expired' required
mode, 'real' | 'mock' | 'fallback' required
expires_at, string date-time required
country_code, string required
locale, string required
login_methods, LoginMethodsResponse required
verification_hint, string nullable
mock_code, string nullable
qr_url, string nullable
completion_token, string nullable

Changes

No recorded changes to this operation across all 46 revisions of this API.