List All Direct Message Threads & Inbox
List the account's direct-message conversations and chat sidebar, newest activity first, with full thread metadata, last message, and unread count.
/api/reddit/dm/threads$0.025 / callList all of the account's direct-message conversations, the same view you see in the Reddit chat sidebar. Returns one entry per thread with the other party's username, the latest message preview, and unread count. Sorted newest activity first.
The list is paged. Each call returns up to limit threads (default 50, at most 100) and an after cursor; send that cursor back to get the next page, until after is null. total_threads counts every conversation the account has joined, not only the ones in this page. Each page is billed as one call.
Request Body
Cookies are passed as flat top-level fields (same shape as /comment, /vote, /dm).
| Field | Type | Required | Description |
|---|---|---|---|
reddit_session | string | yes | Session cookie from /api/reddit/login |
loid | string | yes | Long-lived account identifier cookie |
csrf_token | string | yes | Anti-CSRF cookie |
limit | integer | no | Threads per page, 1 to 100. Default 50. |
after | string | no | The previous response's after value, exactly as returned. Omit for the first page. |
proxy | object | string | no | Sticky IP for this account, {server, username?, password?} or a URL string. Use the same proxy you passed to /login. Omit to use our pool. See Per-account proxies. |
Example
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{
"reddit_session": "eyJhbGc...",
"loid": "000000...",
"csrf_token": "1c0819..."
}' \
"https://api.redditapis.com/api/reddit/dm/threads"const response = await fetch("https://api.redditapis.com/api/reddit/dm/threads", {
method: "POST",
headers: {
Authorization: "Bearer TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
reddit_session: "eyJhbGc...",
loid: "000000...",
csrf_token: "1c0819...",
}),
});import requests
response = requests.post(
"https://api.redditapis.com/api/reddit/dm/threads",
json={
"reddit_session": "eyJhbGc...",
"loid": "000000...",
"csrf_token": "1c0819...",
},
headers={"Authorization": "Bearer TOKEN"},
)Success Response
{
"success": true,
"me": "@t2_xxxxxxxx:reddit.com",
"thread_count": 2,
"total_threads": 47,
"limit": 2,
"after": "eyJnIjowLCJ0IjoxNzcyODc2NjY4NDEyLCJyIjoiIUg0eDVCRTVDT09kVkFLYmNBRkRfNVlNTV9OUzN4RWhIWjJocDJobm9FOW86cmVkZGl0LmNvbSJ9",
"listing_status": "complete",
"threads": [
{
"room_id": "!hdstiJypyVtzbpoUJZe9mUc-zl-5BnADoRlS7h4itZg:reddit.com",
"with_user_t2": "t2_ugmf7dmn",
"with_username": "Ok-Establishment9204",
"with_membership": "invite",
"last_message": {
"body": "hey!",
"from_me": true,
"ts": 1777105649773,
"date": "2026-04-25T15:07:29.773Z"
},
"unread_count": 0,
"summary": "complete"
},
{
"room_id": "!H4x5BE5COOdVAKbcAFD_5YMM_NS3xEhHZ2hp2hnoE9o:reddit.com",
"with_user_t2": "t2_284523vyfl",
"with_username": "henry-gilbert",
"with_membership": "join",
"last_message": {
"body": "Here is my mail id - someone@example.com",
"from_me": true,
"ts": 1772876668412,
"date": "2026-03-07T09:44:28.412Z"
},
"unread_count": 0,
"summary": "complete"
}
]
}Field Reference
| Field | Description |
|---|---|
thread_count | Threads in this page. |
total_threads | Every conversation the account has joined, across all pages. |
after | Cursor for the next page. null on the last page. |
listing_status | complete when every joined conversation was counted and every row on the page is filled in; partial when every conversation is counted and returned but some older rows could not be filled (their summary is null when time ran out or "failed" when Reddit's chat server did not answer, and their empty fields are unknown, not empty; request the page again); unknown when Reddit would not list them all, so only the most recent conversations were returned and more may exist. |
room_id | Internal thread ID. Pass this to a per-room messages endpoint to fetch full history. |
with_user_t2 | The other party's t2_* ID, read from the room's own membership. null when the room has no other member, or more than one (a group chat). |
with_username | The other party's Reddit username (display name), from the room or, when the room carries none, their chat profile. null when neither answered. |
with_membership | join if they accepted the chat, invite if they were invited but haven't opened it, leave if they left. |
last_message.from_me | true if the most recent message was sent by the authenticated account. |
last_message.body | Plain-text preview. May be null if the latest event was a redaction or non-message. |
unread_count | Number of unread messages in this thread. |
summary | On every row: complete when the row is filled in, failed when a read for it failed, null when it could not be filled in time. |
Paging: the order is newest activity first for the most recent conversations, then the older ones by thread ID. The
aftercursor marks the last thread you were given, so a new message never shifts the next page. A conversation you have not reached yet that gets a new message while you page moves ahead of the cursor and is skipped on later pages, and one you already have can come back once if it drops out of the recent group. Dedupe onroom_id, and when you need an exact census, compare the threads you collected withtotal_threadsand page again from the start if they differ.
Note:
last_messageis only the most recent message. Use/api/reddit/dm/messagesto fetch the full history of a thread.
Errors
| Status | Meaning |
|---|---|
400 | limit outside 1 to 100 (INVALID_LIMIT); an after this endpoint did not return (INVALID_CURSOR); missing required cookies; or proxy is malformed (INVALID_PROXY), or a proxy-shaped field was sent as a top-level string (INVALID_FIELD), see Per-account proxies |
401 | Missing Bearer token |
403 | Invalid Bearer token |
502 | Could not fetch the thread list (e.g. session cookies expired; re-login) |
500 | Unexpected server error |
Independent third-party API for developers and researchers. Not affiliated with, endorsed by, or sponsored by Reddit, Inc.
Send DMNew
Send a direct message to any Reddit user via a single HTTP call. No browser automation, no captcha at send time, just paste cookies and the message body.
Fetch MessagesNew
Fetch the complete message history of a single Reddit DM thread with cursor-based pagination, every message, sender, timestamp, and redaction state.
