---
title: "Get user info by auth token"
method: GET
path: "/twitter/{auth_token}/user_info"
tags: ["Cookie Endpoints"]
---

# Get user info by auth token

`GET /twitter/{auth_token}/user_info`

## Request

- Base URL: `https://api.twexapi.io`
- URL: `https://api.twexapi.io/twitter/{auth_token}/user_info`
- Auth: HTTP bearer

Retrieve Twitter user info using the provided auth token.

## Path parameters

- `auth_token` string, required

## Response `200`

Twitter user info

- UserInfoResponse
  - `code` integer, required
  - `msg` string, required
  - `data` UserInfo, required: User information structure
    - `userId` string, required: User ID
    - `isBlueVerified` boolean, required: Blue verification status
    - `createdAt` string, required: Account creation date
    - `createdAtDatetime` string, nullable: Account creation datetime in ISO format
    - `defaultProfile` boolean, required: Default profile flag
    - `defaultProfileImage` boolean, required: Default profile image flag
    - `description` string, required: Bio description
    - `location` string, required: Location
    - `fastFollowersCount` integer, required: Fast followers count
    - `favouritesCount` integer, required: Likes count
    - `followersCount` integer, required: Followers count
    - `followingCount` integer, required: Following count
    - `hasCustomTimelines` boolean, required: Has custom timelines flag
    - `isTranslator` boolean, required: Is translator flag
    - `listedCount` integer, required: Listed count
    - `mediaCount` integer, required: Media count
    - `name` string, required: Display name
    - `normalFollowersCount` integer, required: Normal followers count
    - `pinnedTweetIdsStr` unknown[], nullable: Pinned tweet IDs
      - unknown
    - `possiblySensitive` boolean, required: Possibly sensitive flag
    - `profileImageUrlHttps` string, required: Profile image URL
    - `username` string, required: Username
    - `statusesCount` integer, required: Tweets count
    - `translatorType` string, nullable: Translator type
    - `verified` boolean, required: Legacy verification status
    - `verified_type` string, nullable: Verification badge type: blue, business, government, etc.
    - `withheldInCountries` unknown[], nullable: Withheld in countries
      - unknown
    - `protected` boolean, required: Protected account flag
    - `url` string, nullable: User profile URL
    - `descriptionUrls` unknown[], nullable: Description URLs
      - unknown
    - `urls` unknown[], nullable: User URLs
      - unknown
    - `pinnedTweetIds` unknown[], nullable: Pinned tweet IDs
      - unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twexapi/apis/twexapi-rest-api.md) · [All operations](https://skmtc.dev/twexapi/apis/twexapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/twexapi/apis/twexapi-rest-api/revisions/59a99ac0d8f7?raw)
