next_actions tells you what to send.
Two-factor channels
OnlyFans offers three two-factor channels:wrong_2fa_code_retry so the creator can
try again. The poll includes otp_channel and (for email) email_mask to
drive your UI.
Email device verification
Separately from 2FA, OnlyFans may require a one-time email verification code to establish device trust for an unfamiliar login context (new device/region) or before sensitive actions. This is not a channel you configure — it’s a gate the API raises. When it triggers, the attempt parks onneeds_email:
1
Trigger the email
2
Submit the code
Reauthentication
If an account was connected withremember_credentials: true, you can
re-acquire a fresh session from the stored credentials without a full login:
needs_app_otp so you can submit a code via the same PUT. Without
stored credentials you get 412 and must re-link.