POST
/
twitter
/
login_by_2fa
curl --request POST \
  --url https://api.twitterapi.io/twitter/login_by_2fa \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "login_data": "<string>",
  "2fa_code": "<string>"
}'
{
  "session": "<string>",
  "status": "<string>",
  "msg": "<string>",
  "user": {
    "id_str": "<string>",
    "screen_name": "<string>",
    "name": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Login Step 2(2fa) response

The response is of type object.