> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dis.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Discord history

> Private history dump: messages, voice activity and linked accounts tied to a Discord ID.

The Discord history module queries a private dataset of Discord account exports and history dumps, returning the messages, voice sessions and linked account names found for the given ID.

## What it returns

Each record is one history file tied to the account. The data inside is split into three categories:

### Messages

| Field | What it is |
| - | - |
| `content` | The message text. |
| `serverName` | The server it was sent in. |
| `serverId` | The server's Discord ID. |
| `date` | When the message was sent (ISO 8601). |
| `attachments` | File attachments, if any. |

### Servers

| Field | What it is |
| - | - |
| `name` | Server name. |
| `id` | Server Discord ID. |
| `detected_at` | When the account was seen there. |

### Voice sessions

| Field | What it is |
| - | - |
| `serverName` | The server. |
| `channelName` | The voice channel. |
| `joinTime` / `leaveTime` | Session start and end (ISO 8601). |
| `userSession` | Other users present during the session. |

## How to run it

The module runs on every search for a Discord ID:

```bash theme={"system"}
curl "https://api.dis.dog/v1/search?q=80351110224678912" \
  -H "Authorization: Bearer $DISDOG_KEY"
```

Its entry in `modules` has `"id": "discord-history"`, and answers `"status": "found"` with the records above when the Discord ID has any.

> [!WARNING]
>
> Use this module only for lawful purposes you can justify — see the [Acceptable use](https://dis.dog/terms).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.