InboxApp icon

InboxApp

Manage X/Twitter DM conversations, prospects, threads, and messages with InboxApp

Messages → Threads Thread Messages List

AI-generated

Summary

List messages in a thread with pagination and request configuration

Inputs

  • threadId (required) — The ID of the thread to list messages from.
  • additionalFields — Additional query and pagination parameters: cursorId, cursorTimestamp, cursor, limit. Cannot combine cursorId/cursorTimestamp with cursor object parameter.

Output shape

Array of message objects returned from GET /threads/{threadId}/messages. Pagination handled via cursor parameters.

Messages are returned per page; use cursorId/cursorTimestamp to paginate backward or forward. Default limit is 50, max 100.

Examples

Example 1: List first page of messages in a thread

Set threadId to the desired thread ID. Omit cursor parameters to start from the most recent messages.

Example 2: Paginate to next set of messages

After receiving a page of messages, use the last message's cursorId or cursorTimestamp with the cursor parameter to fetch the previous page.

Links

Discussion