Skip to main content

Discord

URL Format

discord://token@webhookid

FieldDescriptionScheme
token*

Discord API application token

string

webhookID*

Discord webhook ID

string

avatar

Override the webhook default avatar with specified URL

string

color

The color of the left border for plain messages. Defaults to 0x50D9ff

string

colorDebug

The color of the left border for debug messages. Defaults to 0x7b00ab

string

colorError

The color of the left border for error messages. Defaults to 0xd60510

string

colorInfo

The color of the left border for info messages. Defaults to 0x2488ff

string

colorWarn

The color of the left border for warning messages. Defaults to 0xffc441

string

json

Whether to send the whole message as the JSON payload instead of using it as the 'content' field. Defaults to No

boolean

splitLines

Whether to send each line as a separate embedded item. Defaults to Yes

boolean

username

Override the webhook default username

string

Getting a

  1. Click on the next to your channel name Screenshot 1

  2. Click on Integrations Screenshot 2

  3. Click on Create Webhook Screenshot 3

  4. Set the name, channel and icon and then click on Copy Webhook URL Screenshot 4

  5. Click on Save Changes Screenshot 5

  6. Copy the webhookId and token fields from the URL

    https://discord.com/api/webhooks/693853386302554172/W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ
    └────────────────┘ └──────────────────────────────────────────────────────────────────┘
    webhook id token

    discord://W3dE2OZz4C13_4z_uHfDOoC7BqTW288s-z1ykqI0iJnY_HjRqMGO8Sc7YDqvf_KVKjhJ@693853386302554172
    └──────────────────────────────────────────────────────────────────┘ └────────────────┘
    token webhook id