POST /twitter/login_by_email_or_username

Changed on

Login Step 1: by email or username.Recommend to use email.Price: 300 credits ($0.003 per call). Please read the guide: https://twitterapi.io/blog/twitter-login-and-post-api-guide

Request

  • Base URL
    https://api.twitterapi.io
  • URL
    https://api.twitterapi.io/twitter/login_by_email_or_username
  • Auth
    API key in header X-API-Key

Request body

username_or_emailstring required

User name or email.If you can't log in with your email, use your username. If you can't log in with your username, use your email instead.ref:https://twitterapi.io/blog/twitter-login-and-post-api-guide

passwordstring required

The password of the user

proxystring required

The proxy to use.Please use high-quality residential proxies and avoid free proxies.Required.Example: http://username:password@ip:port . You can get proxy from: https://www.webshare.io/?referral_code=4e0q1n00a504

Response

Login response

hintstring

Hint of the login.eg. "Please use second endpoint /login_2fa to continue login."

login_datastring

Use this data to call /twitter/login_2fa to continue login.

statusstring

Status of the request.success or error

msgstring

Message of the request.error message

Changes