> For the complete documentation index, see [llms.txt](https://aklgaming.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aklgaming.gitbook.io/documentation/code-snippets/send-webhook-messages.md).

# Send Webhook Messages

How to send Webhook messages every time the server is UP, This method is very simple and easy for anyone to use.

```lua
CreateThread(function()
    PerformHttpRequest("LINK_WEBHOOK", function(err, text, headers) end, 'POST', json.encode({
        content = '||@everyone||',
        embeds = {
            {
                description = '**UP CITY :**\n\nPress F8 : *connect ip:port',
                color = 2723266 -- If you want to change the color here
            }
        }
    }), { ['Content-Type'] = 'application/json' })
end)
```
