> For the complete documentation index, see [llms.txt](https://invomagic.gitbook.io/ticketsdocs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://invomagic.gitbook.io/ticketsdocs/tools/webhooks.md).

# Custom Webhook Messages

Make and edit webhook messages without coding!

Make custom webhook messages using embeds or just plain messages (or both!)\
This is especially useful if you want to make nicely formatted rules or other nicely formatted information (or if you want to make it look like you're a bot 0\_o)

{% hint style="danger" %}
Embed JSON is currently down, we apologize for the inconvience <3
{% endhint %}

## Send a message via a webhook

To send a message with a webhook you'll need to use the `/webhook send` command, and you'll need to pick a "Message"  which allows you to choose between 3 different message types

### Message Types

**Plain:** This is a typical, regular discord message like the ones you send

**Embed:** A Rich embed, like the ones you see bots send.\
\
**Embed JSON:** Super customizable version of Embed it allows you to use JSON to customize every aspect possible!

When you send the command you'll recieve a form with inputs to make your message to send, among these is the Webhook URL  which is needed to send the message.

### How to get the webhook URL

First open up the channel's settings

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2Fxv94IJXQuTK6LqTmEwJs%2FScreenshot%202024-12-16%20at%201.55.05%E2%80%AFPM.png?alt=media&amp;token=daf47f3a-00e8-4c43-9401-489081ab3cbd" alt="" width="375"><figcaption><p>Channel settings</p></figcaption></figure>

Then go to integrations

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2Ff6bE7xAdCNOmffWZrY85%2FScreenshot%202024-12-16%20at%201.55.48%E2%80%AFPM.png?alt=media&amp;token=2a817647-491c-47dd-b44f-f7ea9d833b0a" alt="" width="375"><figcaption><p>Channel integrations</p></figcaption></figure>

Click "Create Webhook"

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2F9eISl57Xisuw8kxGqntg%2FScreenshot%202024-12-16%20at%201.59.23%E2%80%AFPM.png?alt=media&amp;token=5babf2e7-3553-4026-b219-631e0bdaefbf" alt="" width="375"><figcaption><p>Created Webhook</p></figcaption></figure>

Go ahead and customize its pfp and name to whatever you want\
Then after that's done click "Copy Webhook URL" it should look something like this:

```
https://discord.com/api/webhooks/1318291368627535882/nRa7MlmV20sWCPuEX17D5MTlG3B_gJ7YFgaq4MyfHik6Ey1fzsDFReHJmd8s1pqjSJJt
```

You can then use that Webhook URL to send messages with it.

### Embed JSON

This is a fully customizable version of the embed, unlike in sticky messages this version is free.\
You can create the JSON here <https://embeds.magicgamer.xyz/>

## Edit a message via Webhook

You can edit the messages you created with webhooks incase you need to update outdated information and what not.\
\
You'll need to use the `/webhook edit` command\
\
It essentially requires the same input only you also need to input a MessageID, this is needed to edit the message, you find the message ID at the end of a message link

<figure><img src="https://3692396313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FETXJvJdkZBK73uujCnOn%2Fuploads%2FYN404iYw7SdvtOUxHJOw%2Fimage.png?alt=media&amp;token=f7fc5b84-b4a1-413f-bfad-71322299da79" alt=""><figcaption><p>MessageID in a Message Link</p></figcaption></figure>

Other than needing a MessageID the edit a message inputs are essentially the same.
