x.com
Get X DM messages
Input
pin optional4-digit E2E passcode — required only if X shows the Enter Passcode screen. Omit otherwise.
handle optionalRecipient's X handle, with or without a leading @. Resolved to a user id via the profile page, so it works for any conversation, not just ones already loaded in the inbox.
conversationId optionalconversation_id from get_inbox, e.g. "1667221889486340115-1995746956204015616" (":" separator also accepted). Required for group conversations, whose id is not a user-id pair.
Output
messages requiredconversation_id requirednote optionalempty optionalTrue when the conversation opened but has no rendered messages.
participant optionalHandle of the other party, read from the thread header (without @). Null in group conversations.
