# User Login V2
Source: https://docs.twitterapi.io/api-reference/endpoint/user_login_v2
## Endpoint
- Path: `/twitter/user_login_v2`
## Description
Log in directly using your email, username, password, and 2FA secret key. And obtain the Login_cookie, to post tweets, etc. Please note that the Login_cookie obtained through login_v2 can only be used for APIs with the "v2" suffix, such as create_tweet_v2. Trial operation price: $0.003 per call. We highly recommend enabling 2FA for your login – otherwise, the login_cookie you obtain may be faulty, preventing you from posting tweets.
_Scraped at: 2026-02-21T05:47:53.277Z_