Submit user 2FA response
documentedVerify Two-Factor Authentication for user login.
POST /api/v2/user/session/verifyUserno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$domain}}/whmcs/api/v2/user/session/verify" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Api-State: {{state_token}}" \
-d '{"fields":{"key":"{{$two_factor_code}}"}}'