Compendium Trading Tools Documentation
CompendiumPENDAXCompendexOfficial Links
  • ⭐Platform Overview
  • ⚫PENDAX
    • 🌐What is PENDAX?
    • 🖱️PENDAX Capabilities
    • 💾Installing PENDAX modules
    • 💡Using PENDAX SDK
      • 💻Common Functions
      • 💻OKX Functions
        • Trading & Orders
        • Funding
        • Convert
        • Account & Subaccount
        • Grid Trading
        • Market Data
        • Public Data
        • Trading Data
      • 💻Bitget Functions
        • Public (Spot)
        • Market (Spot)
        • Wallet (Spot)
        • Account (Spot)
        • Trade (Spot)
        • Market (Futures)
        • Account (Futures)
        • Trade (Futures)
        • CopyTrade (Futures)
        • Sub Account Interface (Broker)
        • Sub API Interface (Broker)
      • 💻ByBit Functions
        • Market
        • Trading
        • Position
        • Account
        • Asset
        • User
        • Spot Leverage Token
        • Spot Margin Trade (UTA)
        • Spot Margin Trade (Normal)
        • Institutional Lending
      • 💻Mexc Functions
        • Market
        • Sub-Account
        • Spot Account/Trade
        • Wallet
        • ETF
        • Rebate
        • Futures Market
        • Futures Account and Trading
      • 💻Phemex Functions
        • Contract
        • Hedged Contract
        • Spot
        • Margin Trading
        • Transfer
        • Convert
        • Deposit And Withdraw
      • 💻BloFin Functions
        • Websocket
        • Account
        • Affiliate
        • Public Data
        • Trading
        • User
      • 💻BingX Functions
        • Fund Account
        • Wallet Deposits and Withdrawals
        • Sub-Account Managenent
        • Market Data (USDT-M)
        • Account (USDT-M)
        • Trades (USDT-M)
        • Market Data (Coin-M)
        • Trades (Coin-M)
        • Market Data (Spot)
        • Fund Account (Spot)
        • Trades (Spot)
        • CopyTrader
      • ⚠️FTX Functions
    • 📜License Agreement
  • 🟣Compendium App
    • 📈Compendium Trading Tools
    • 🔗Connect An Exchange Account
      • 🗝️OKX.com API Keys
    • 🤖Verified Trading Bots
      • Explore The Marketplace
      • For Algo & Strategy Authors
        • Get Listed & Verified
        • Strategy Monetization
        • Sending Trading Signals
        • Simplified Signal Program
      • For Users & Subscribers
        • Subscribing To Bots
        • Managing A Subscription
    • 💫Copy Trading Groups
      • For Copy Group Leaders
        • Creating A Copy Group
        • Linking Leader Account
        • Important Trading Notes
        • Manage A Copy Group
        • Discord Webhooks Setup
      • For Users & Subscribers
        • Subscribe To Copy Group
        • Link Account To Group
    • 📶Signal Provider Groups
      • For Group Leaders
        • Creating A Signal Group
        • Managing A Signal Group
        • Sending Trading Signals
      • For Users & Subscribers
        • Subscribing To Signal Groups
        • Manage Signal Group Subscription
  • 🔵Compendex Suite
    • 🔮DeFi With Compendex
    • ☀️Solana Integrations
      • Supported Solana Wallets
      • Overview And News
      • Openbook Spot Markets
      • Smart Swap Aggregator
      • NFT Metaverse Markets
      • Solana DeFi Analytics Portal
      • Community Tools List
  • 🪙The CMFI Token Ecosystem
    • 📊Tokenomics Breakdown
    • 🍎Trade Incentive Program
    • 🌊Staking And Liquidity Pools
      • ✨Raydium Liquidity Pools
      • 🐳Orca Liquidity Whirlpools
      • 🐋Orca Liquidity Pools
    • 🐷Compendi-Pigs NFT
  • 👥Community Info
    • ✅Links And Social Pages
    • 🎨Branding Guidelines
Powered by GitBook
On this page
  • Creating A Discord Webhook
  • Webhook ID And Token
  • Example Of Discord Webhook
  • Dissected Discord Webhook
  • Set Webhook For Group
  • Example Webhook Info
  1. Compendium App
  2. Copy Trading Groups
  3. For Copy Group Leaders

Discord Webhooks Setup

Documentation outlining the setup and integration of Discord Webhooks attached to a Copy Trading Group. Useful for community notifications and trade tracking systems.

PreviousManage A Copy GroupNextFor Users & Subscribers

Last updated 2 years ago

Discord Webhooks provide a simple way to integrate notifications for each copy trade to your community. These notifications can help ensure subscribers stay up to date with their accounts and can report or fix any issues as they occur. Automating your alerts with Webhooks can save group leaders ample amounts of time by not dealing with micro-management of their infrastructure.

Creating A Discord Webhook

You can create a Discord webhook using either the graphical user interface (GUI) or the Discord API. The most straightforward way to add a webhook to your Discord account is through the user interface. It is the recommended option if you plan to manage your Discord webhooks in automated workflows.

To add a webhook to your server:

  • Navigate to the Integrations page on your Discord server

  • Click on Create Webhook

  • Give your webhook an appropriate name

  • Choose the destination channel

  • Save the changes made to your webhook configuration.

Make sure not to share your Webhook URL for security reasons.

Webhook ID And Token

The Discord Webhook created in the previous step can be dissected into three different sections. Understanding these different sections is necessary for connecting the Webhook to your Copy Trading Group in order to receive notifications.

Example Of Discord Webhook

https://discord.com/api/webhooks/1076532801734452871/OTAFbsHZT-33XzMlb0eCZnkt7bXKGqHU3EdeVaPCji-UvoDyK_j9ve0HjxQDCltaTREC

Dissected Discord Webhook

https://discord.com/api/webhooks/[WEBHOOK ID]/[WEBHOOK TOKEN]

In this example, the following would be true:

  • Webhook ID: 1076532801734452871

  • Webhook Token: OTAFbsHZT-33XzMlb0eCZnkt7bXKGqHU3EdeVaPCji-UvoDyK_j9ve0HjxQDCltaTREC

Set Webhook For Group

Visit the group management panel for your designated Copy Trading Group. Scroll down to the "Discord Webhook" section and press the down arrow to display the full component.

Using what we've learned in the previous section, enter the correct Discord Webhook ID and Webhook Token in the appropriate input fields. After entering the correct information press "Save Webhook Information" and a test webhook entry will be sent to your designated Webhook URL.

In order to clear any information or deactivate the Webhook, just simply save empty input fields for both inputs.

Example Webhook Info

The following image shows an example of what a group leader can expect from Webhook integrations.

We highly recommend saving a custom Group Icon in your management panel to avoid any complications with empty data fields while using the Webhook.

🟣
💫
A preview of the Discord create Webhook panel found in the Integrations page of your Discord server.
A Preview of a Discord Webhook Example forwarded from the Compendium Application.