# X (Formerly Twitter) Integration via LowCodeAPI

## Overview

Social media platform

## Base Endpoint

```
https://api.lowcodeapi.com/x-twitter/
```

## Authentication

LowCodeAPI handles authentication automatically. You only need to:

1. **Sign up** at [X (Formerly Twitter)]()
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests

**Auth Type**: OAUTH2.0

## API Categories

- **Compliance** - 3 endpoints
- **Lists** - 9 endpoints
- **Spaces** - 4 endpoints
- **Tweets** - 14 endpoints
- **Users** - 34 endpoints

## Common Endpoints

### Category: Compliance

#### Retrieve compliance jobs.

**Method**: `GET` | **LowCodeAPI Path**: `/2/compliance/jobs`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/compliance/jobs?type={type}&status={status}&api_token={api_token}
```

**Description**: Retrieve compliance jobs.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`type` | string | No |  |
|`status` | string | No |  |

---

#### Create a new compliance job for downloading Twitter data.

**Method**: `POST` | **LowCodeAPI Path**: `/2/compliance/jobs`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/compliance/jobs?api_token={api_token}
```

**Description**: Create a new compliance job for downloading Twitter data.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Retrieve a single compliance job by its ID.

**Method**: `GET` | **LowCodeAPI Path**: `/2/compliance/jobs/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/compliance/jobs/id?id={id}&api_token={api_token}
```

**Description**: Retrieve a single compliance job by its ID.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`id` | string | No |  |

---

### Category: Lists

#### Returns a single List by ID.

**Method**: `GET` | **LowCodeAPI Path**: `/2/lists/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id?list_id={list_id}&expansions={expansions}&user.fields={user.fields}&list.fields={list.fields}&api_token={api_token}
```

**Description**: Returns a single List by ID.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`list_id` | string | No |  |
|`expansions` | array | No |  |
|`user.fields` | array | No |  |
|`list.fields` | array | No |  |

---

#### Delete a List owned by the authenticated user.

**Method**: `DELETE` | **LowCodeAPI Path**: `/2/lists/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id?api_token={api_token}
```

**Description**: Delete a List owned by the authenticated user.

---

#### Update a List owned by the authenticated user.

**Method**: `PUT` | **LowCodeAPI Path**: `/2/lists/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id?api_token={api_token}
```

**Description**: Update a List owned by the authenticated user.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Returns the members of a List.

**Method**: `GET` | **LowCodeAPI Path**: `/2/lists/id/members`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id/members?max_results={max_results}&pagination_token={pagination_token}&list_id={list_id}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns the members of a List.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`list_id` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Add a member to a List.

**Method**: `POST` | **LowCodeAPI Path**: `/2/lists/id/members`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id/members?api_token={api_token}
```

**Description**: Add a member to a List.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Returns Tweets from the specified List.

**Method**: `GET` | **LowCodeAPI Path**: `/2/lists/id/tweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id/tweets?max_results={max_results}&pagination_token={pagination_token}&list_id={list_id}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns Tweets from the specified List.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`list_id` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns users who are following the specified List.

**Method**: `GET` | **LowCodeAPI Path**: `/2/lists/id/followers`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id/followers?max_results={max_results}&pagination_token={pagination_token}&list_id={list_id}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns users who are following the specified List.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`list_id` | string | No |  |
|`expansions` | string | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Create a new List.

**Method**: `POST` | **LowCodeAPI Path**: `/2/lists`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists?api_token={api_token}
```

**Description**: Create a new List.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Remove a member from a List.

**Method**: `DELETE` | **LowCodeAPI Path**: `/2/lists/id/members/user_id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/lists/id/members/user_id?api_token={api_token}
```

**Description**: Remove a member from a List.

---

### Category: Spaces

#### Retrieve details about multiple Spaces by their IDs.

**Method**: `GET` | **LowCodeAPI Path**: `/2/spaces`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/spaces?ids={ids}&expansions={expansions}&space.fields={space.fields}&user.fields={user.fields}&topic.fields={topic.fields}&api_token={api_token}
```

**Description**: Retrieve details about multiple Spaces by their IDs.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`ids` | string | No |  |
|`expansions` | array | No |  |
|`space.fields` | array | No |  |
|`user.fields` | array | No |  |
|`topic.fields` | array | No |  |

---

#### Retrieve details about a single Space by its ID.

**Method**: `GET` | **LowCodeAPI Path**: `/2/spaces/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/spaces/id?id={id}&expansions={expansions}&space.fields={space.fields}&user.fields={user.fields}&topic.fields={topic.fields}&api_token={api_token}
```

**Description**: Retrieve details about a single Space by its ID.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`id` | string | No |  |
|`expansions` | array | No |  |
|`space.fields` | array | No |  |
|`user.fields` | array | No |  |
|`topic.fields` | array | No |  |

---

#### Retrieve Spaces created by the specified user IDs.

**Method**: `GET` | **LowCodeAPI Path**: `/2/spaces/by/creator_ids`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/spaces/by/creator_ids?user_ids={user_ids}&expansions={expansions}&space.fields={space.fields}&user.fields={user.fields}&topic.fields={topic.fields}&api_token={api_token}
```

**Description**: Retrieve Spaces created by the specified user IDs.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_ids` | string | No |  |
|`expansions` | array | No |  |
|`space.fields` | array | No |  |
|`user.fields` | array | No |  |
|`topic.fields` | array | No |  |

---

#### Search for Spaces matching your query criteria.

**Method**: `GET` | **LowCodeAPI Path**: `/2/spaces/search`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/spaces/search?query={query}&state={state}&max_results={max_results}&space.fields={space.fields}&expansions={expansions}&user.fields={user.fields}&topic.fields={topic.fields}&api_token={api_token}
```

**Description**: Search for Spaces matching your query criteria.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`query` | string | No |  |
|`state` | string | No |  |
|`max_results` | number | No |  |
|`space.fields` | array | No |  |
|`expansions` | array | No |  |
|`user.fields` | array | No |  |
|`topic.fields` | array | No |  |

---

### Category: Tweets

#### Returns the data associated with the given tweet id.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/id?id={id}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Returns the data associated with the given tweet id.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`id` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

#### Delete a Tweet by ID.

**Method**: `DELETE` | **LowCodeAPI Path**: `/2/tweets/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/id?api_token={api_token}
```

**Description**: Delete a Tweet by ID.

---

#### Returns the data associated with the given list of tweet ids.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets?ids={ids}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Returns the data associated with the given list of tweet ids.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`ids` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

#### Tweet on behalf of the authenticated user.

**Method**: `POST` | **LowCodeAPI Path**: `/2/tweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets?api_token={api_token}
```

**Description**: Tweet on behalf of the authenticated user.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Returns users who have retweeted the specified Tweet.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/id/retweeted_by`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/id/retweeted_by?tweet_id={tweet_id}&pagination_token={pagination_token}&max_results={max_results}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns users who have retweeted the specified Tweet.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`tweet_id` | string | No |  |
|`pagination_token` | string | No |  |
|`max_results` | number | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Search and retrieve Tweets from the last 7 days.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/search/recent`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/search/recent?since_id={since_id}&until_id={until_id}&start_time={start_time}&end_time={end_time}&max_results={max_results}&next_token={next_token}&search={search}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&place.fields={place.fields}&poll.fields={poll.fields}&sort_order={sort_order}&api_token={api_token}
```

**Description**: Search and retrieve Tweets from the last 7 days.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`since_id` | string | No |  |
|`until_id` | string | No |  |
|`start_time` | number | No |  |
|`end_time` | number | No |  |
|`max_results` | number | No |  |
|`next_token` | string | No |  |
|`search` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |
|`sort_order` | array | No |  |

---

#### Returns the users who liked the the given tweet.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/id/liking_users`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/id/liking_users?max_results={max_results}&pagination_token={pagination_token}&tweet_id={tweet_id}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns the users who liked the the given tweet.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`tweet_id` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Hide or unhide replies to a Tweet.

**Method**: `PUT` | **LowCodeAPI Path**: `/2/tweets/id/hidden`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/id/hidden?api_token={api_token}
```

**Description**: Hide or unhide replies to a Tweet.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Streams tweets in real-time based on a set of filter rules. This endpoint provides a continuous stream of tweets matching your specified criteria.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/search/stream`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/search/stream?backfill_minutes={backfill_minutes}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Streams tweets in real-time based on a set of filter rules. This endpoint provides a continuous stream of tweets matching your specified criteria.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`backfill_minutes` | number | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

#### Retrieve the list of rules currently active on the filtered stream.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/search/stream/rules`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/search/stream/rules?ids={ids}&api_token={api_token}
```

**Description**: Retrieve the list of rules currently active on the filtered stream.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`ids` | string | No |  |

---

#### Add or delete rules for the filtered stream.

**Method**: `POST` | **LowCodeAPI Path**: `/2/tweets/search/stream/rules`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/search/stream/rules?api_token={api_token}
```

**Description**: Add or delete rules for the filtered stream.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Delete one or more rules from the filtered stream by rule IDs.

**Method**: `DELETE` | **LowCodeAPI Path**: `/2/tweets/search/stream/rules`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/search/stream/rules?ids={ids}&api_token={api_token}
```

**Description**: Delete one or more rules from the filtered stream by rule IDs.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`ids` | string | No |  |

---

#### Search all public tweets from the full archive of Twitter. This endpoint requires Academic Research access.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/search/all`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/search/all?query={query}&start_time={start_time}&end_time={end_time}&since_id={since_id}&until_id={until_id}&max_results={max_results}&next_token={next_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&sort_order={sort_order}&api_token={api_token}
```

**Description**: Search all public tweets from the full archive of Twitter. This endpoint requires Academic Research access.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`query` | string | No |  |
|`start_time` | string | No |  |
|`end_time` | string | No |  |
|`since_id` | string | No |  |
|`until_id` | string | No |  |
|`max_results` | number | No |  |
|`next_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |
|`sort_order` | string | No |  |

---

#### Returns Quote Tweets for a Tweet specified by the requested Tweet ID.

**Method**: `GET` | **LowCodeAPI Path**: `/2/tweets/id/quote_tweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/tweets/id/quote_tweets?tweet_id={tweet_id}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Returns Quote Tweets for a Tweet specified by the requested Tweet ID.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`tweet_id` | string | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

### Category: Users

#### Retweet on behalf of the authenticated user, requires `userid` of the authenticated user and `tweetid` that to be retweeted.

**Method**: `POST` | **LowCodeAPI Path**: `/2/users/id/retweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/retweets?api_token={api_token}
```

**Description**: Retweet on behalf of the authenticated user, requires `userid` of the authenticated user and `tweetid` that to be retweeted.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Unretweet a Tweet on behalf of the authenticated user.

**Method**: `DELETE` | **LowCodeAPI Path**: `/2/users/id/retweets/source_tweet_id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/retweets/source_tweet_id?api_token={api_token}
```

**Description**: Unretweet a Tweet on behalf of the authenticated user.

---

#### Returns the tweets by a give `userid`. By default the most recent tweets are returned and using `paginationtoken` maximum **3200*** (max 800 in-case of excluding replies) tweets can be retrieved.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/tweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/tweets?user_id={user_id}&since_id={since_id}&until_id={until_id}&start_time={start_time}&end_time={end_time}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&exclude={exclude}&api_token={api_token}
```

**Description**: Returns the tweets by a give `userid`. By default the most recent tweets are returned and using `paginationtoken` maximum **3200*** (max 800 in-case of excluding replies) tweets can be retrieved.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`since_id` | string | No |  |
|`until_id` | string | No |  |
|`start_time` | number | No |  |
|`end_time` | number | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |
|`exclude` | array | No |  |

---

#### Returns Tweets mentioning the specified user.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/mentions`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/mentions?user_id={user_id}&since_id={since_id}&until_id={until_id}&start_time={start_time}&end_time={end_time}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&poll.fields={poll.fields}&media.fields={media.fields}&place.fields={place.fields}&api_token={api_token}
```

**Description**: Returns Tweets mentioning the specified user.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`since_id` | string | No |  |
|`until_id` | string | No |  |
|`start_time` | number | No |  |
|`end_time` | number | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`poll.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |

---

#### Returns Tweets from the user's home timeline in reverse chronological order.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/timelines/reverse_chronological`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/timelines/reverse_chronological?user_id={user_id}&since_id={since_id}&until_id={until_id}&start_time={start_time}&end_time={end_time}&max_results={max_results}&pagination_token={pagination_token}&exclude={exclude}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Returns Tweets from the user's home timeline in reverse chronological order.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`since_id` | string | No |  |
|`until_id` | string | No |  |
|`start_time` | number | No |  |
|`end_time` | number | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`exclude` | array | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

#### Returns the list of tweet like by the user. Response is paginated and max `100` tweets can retrieved, use `paginationtoken` to retrieve the next page.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/liked_tweets`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/liked_tweets?user_id={user_id}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Returns the list of tweet like by the user. Response is paginated and max `100` tweets can retrieved, use `paginationtoken` to retrieve the next page.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

#### Returns information about an authorized user.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/me`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/me?expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns information about an authorized user.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns the list of user details of specified `userids` upto `100` userids are allowed in a single request.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users?user_ids={user_ids}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns the list of user details of specified `userids` upto `100` userids are allowed in a single request.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_ids` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns a variety of information about a single user specified by the requested ID.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id?user_id={user_id}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns a variety of information about a single user specified by the requested ID.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns a variety of information about a single user specified by their username.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/by/username/username`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/by/username/username?username={username}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns a variety of information about a single user specified by their username.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`username` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns a variety of information about one or more users specified by their usernames.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/by`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/by?usernames={usernames}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns a variety of information about one or more users specified by their usernames.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`usernames` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns a list of Twitter users who are following the given user, a maximum of 1000 users are returned in a single request and the remaining are paginated using nexttoken returned in the response.. The `nexttoken` becomes `paginationtoken` in the next request to fetch the next set of followers.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/followers`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/followers?user_id={user_id}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns a list of Twitter users who are following the given user, a maximum of 1000 users are returned in a single request and the remaining are paginated using nexttoken returned in the response.. The `nexttoken` becomes `paginationtoken` in the next request to fetch the next set of followers.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Returns users the specified user is following.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/following`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/following?user_id={user_id}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&api_token={api_token}
```

**Description**: Returns users the specified user is following.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |

---

#### Follow a user on behalf of the authenticated user.

**Method**: `POST` | **LowCodeAPI Path**: `/2/users/id/following`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/following?api_token={api_token}
```

**Description**: Follow a user on behalf of the authenticated user.

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Returns Tweets that the specified user has bookmarked.

**Method**: `GET` | **LowCodeAPI Path**: `/2/users/id/bookmarks`

**Full URL**:
```
https://api.lowcodeapi.com/x-twitter/2/users/id/bookmarks?user_id={user_id}&max_results={max_results}&pagination_token={pagination_token}&expansions={expansions}&tweet.fields={tweet.fields}&user.fields={user.fields}&media.fields={media.fields}&place.fields={place.fields}&poll.fields={poll.fields}&api_token={api_token}
```

**Description**: Returns Tweets that the specified user has bookmarked.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`user_id` | string | No |  |
|`max_results` | number | No |  |
|`pagination_token` | string | No |  |
|`expansions` | array | No |  |
|`tweet.fields` | array | No |  |
|`user.fields` | array | No |  |
|`media.fields` | array | No |  |
|`place.fields` | array | No |  |
|`poll.fields` | array | No |  |

---

*Note: Showing 15 of 34 endpoints in this category.*

---

## Complete Endpoint Reference

For a complete list of all 64 endpoints, refer to:
- **OpenAPI Definition**: `https://backend.lowcodeapi.com/x-twitter/definition`
- **Official Provider Documentation**: https://developer.x.com/en/docs/x-api