App Logo
x.com

Get X DM inbox

List the state of every DM conversation in your X inbox. Returns per conversation: conversation_id, name, handle, last_message, time, sent_by_me, unread. If X shows the Enter Passcode screen, pass the 4-digit E2E pin.

Input

pin optional

4-digit E2E passcode — required only if X shows the Enter Passcode screen. Omit otherwise.

Output

conversations required

One entry per conversation in the inbox, in the order X lists them. Empty when the inbox has no conversations.

FAQ

List the state of every DM conversation in your X inbox. Returns per conversation: conversation_id, name, handle, last_message, time, sent_by_me, unread. If X shows the Enter Passcode screen, pass the 4-digit E2E pin.
Optional: pin.
It returns conversations.
Yes. It acts as you on x.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the x.com cookies saved by the Reduck extension.
It only reads. It looks things up on x.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/x.com/get_inbox, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/x.com/get_inbox
It is part of Reduck's official curated catalogue.

Start building not clicking