Clients accessing the Web API using our CP Gateway tool must complete a manual login with their IBKR username and password, which in turn requires 2FA.
Institutional clients who access the Web API via token-based authentication methods like OAuth do not need to use 2FA.