---
title: "Get Tweet Thread by ID"
method: POST
path: "/twitter/tweets/thread_by_id"
tags: ["Tweets Endpoints"]
---

# Get Tweet Thread by ID

`POST /twitter/tweets/thread_by_id`

## Request

- Base URL: `https://api.twexapi.io`
- URL: `https://api.twexapi.io/twitter/tweets/thread_by_id`
- Auth: HTTP bearer

Retrieve all tweets in a thread by tweet ID, sorted by latest.

## Request body

- TweetThreadByIdBody
  - `tweet_id` string, required: The root tweet ID to fetch the thread for
  - `max_items` integer: Max number of thread tweets to return
  - `fields` string[], nullable: Optional JSON array of field names. Leave this input blank to omit fields and return all fields. To select fields, enter ["tweet_id","text"] (without wrapping the array in quotes).

## Response `200`

A list of tweets in the thread, sorted by latest.

- 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)
