Get Your Discord Account Token
Try QR login first, or get your account token with the browser extension, Network panel, or an optional Console script.
Use your account token when connecting a Discord account. It is a private login credential, like a password.
Account token, not a bot token
A Discord account token and a Discord bot token are different credentials. This tutorial is for your account. If you are connecting a bot, follow Create a Discord Bot and use its token from the Developer Portal instead.
You can try QR login first. Follow Connect a Discord Account to scan a QR code through the site without copying a token. QR login can be inconsistent, even when your phone approves it. If ForwardMsg still does not connect, come back here: the token method is the more reliable alternative.
Keep your account token private
Treat your token like a password. Do not share it in chat, support messages, screenshots, or shared files. Copy only your own account's token and paste it only into ForwardMsg's account connection form. Support does not need your token.
Choose one of the three methods below. Method 1, the browser extension, is the easiest. Methods 2 and 3 are alternatives if you cannot use it. Once you have your token, continue to Paste it into ForwardMsg.
Method 1: Use the browser extension
Install the extension
Install Discord Token Manager β ForwardMsg from your browser's official store:
- Chrome Web Store: select Add to Chrome and confirm.
- Firefox Add-ons: select Add to Firefox and confirm.
- Microsoft Edge Add-ons: select Get and confirm.
Use the link shown in the ForwardMsg connection dialog when available.
Copy your token with the extension
- Open Discord in your browser, using the browser where you installed the extension.
- Sign in to the account you want to copy messages from.
- Open the browser's Extensions menu, usually the puzzle-piece icon.
- Select Discord Token Manager β ForwardMsg.
- Select Copy in its popup.
If the popup is empty, confirm you are signed in at discord.com/app in this same browser. Refresh the Discord tab and reopen the extension. Check that the extension is enabled if it is missing from the menu.
Method 2: Copy your token from the Network panel
This method uses the browser's Network panel, which lists requests sent by the page. It does not require installing an extension or running a script.
- Sign in to your own account at discord.com/app.
- Open the browser menu and choose More Tools β Developer Tools, or the corresponding Developer Tools option in your browser.
- Select the Network tab.
- Refresh the Discord page or open a channel so new requests appear.
- Select a request whose full URL starts with
https://discord.com/api/. Choose an authenticated Discord request, not a request to another website. - Open Headers, then Request Headers.
- Find the header named
authorization. - Copy only its value: do not include the word
authorization, the whole request, or a cURL/HAR export. - Continue to Paste it into ForwardMsg.
- Close Developer Tools.
If no authorization value appears, refresh or open a channel and inspect another authenticated Discord API request. You can return to Method 1 instead. Do not send a request export to support. Chrome's Network guide explains the Headers panel.
Method 3: Use a Console script (optional)
The Console is a browser tool that can run a small piece of code on the page you have open. This script looks for your account token in the Discord page and displays the result locally; it does not send the token to another website.
- Sign in to your own account at discord.com/app.
- Open Developer Tools, then select Console.
- Copy the script below, paste it into the Console, and press Enter.
- If it returns a token, copy only that value, without surrounding quotation marks, and continue to Paste it into ForwardMsg.
- Close Developer Tools when you are finished. Do not share a screenshot of the result.
(() => {
const modules = Object.values(
webpackChunkdiscord_app.push([[Symbol()], {}, (require) => require.c])
);
for (const module of modules) {
try {
if (!module.exports || module.exports === window) continue;
if (module.exports?.getToken) return module.exports.getToken();
for (const key in module.exports) {
const value = module.exports[key];
if (
value?.getToken &&
value[Symbol.toStringTag] !== "IntlMessagesProxy"
) {
return value.getToken();
}
}
} catch {}
}
})();This script may stop working when Discord changes its web app. If you see an error or undefined instead of a token, use Method 1 or 2. That result does not mean your account cannot connect.
Paste it into ForwardMsg
- Open your automation.
- Find Automation Settings β Source.
- Select Add Discord Account. For reconnection, add a fresh connection rather than editing the old connection's name.
- Choose the token connection method.
- Paste only the copied token into the token field.
- Complete the dialog and choose the new connection under Source.
- Select Update Settings.
- Select Start.
Once Running, add the servers/channels you want to read. A token connects the account; it does not select every channel. See Connect a Discord Account.
Do not log out of the session used to copy the token
Selecting Discord's Log Out for that browser session can invalidate the token used by ForwardMsg. Closing a tab or window is different from selecting Log Out.
Optional: use a private browser window
You do not need a private window for the methods above. Try this only if the account still will not connect or keeps disconnecting. A private window lets you create a separate browser login for copying a fresh token, rather than using your everyday Discord session.
If you want to use the extension in that window, first allow it to run there:
- In Chrome or Edge, open Extensions β Manage Extensions β Details for the ForwardMsg extension.
- Enable Allow in Incognito in Chrome or Allow in InPrivate in Edge. In Firefox, open the extension's settings and allow it to run in private windows.
- Open an Incognito, InPrivate, or Private window.
- Open discord.com/app in that window.
- Sign in to your own Discord account.
- Open the extension and select Copy. You can also use Method 2 or 3 in the private window without the extension.
- Paste the token into ForwardMsg using the steps above.
- Close the private window without selecting Discord's Log Out.
Closing the window removes its local browsing data; it is different from asking Discord to log out that session. This can help isolate your ForwardMsg login from ordinary browser use, but it does not guarantee that Discord will never invalidate it.
See Chrome's extension settings or Firefox's private-extension instructions. For recurring issues, follow Discord Account Disconnections.