The advent calendar is open

A door every day, a raffle every week

New

EmeraldHost 2.0 is here: the new panel!

Learn more
Guides
Account and securitySet Up Webhooks

How to Set Up Webhooks for Your Account

Send events from your account automatically to Discord, Slack, Microsoft Teams, Telegram or your own server

4 min read

With webhooks, we automatically send events from your account to an address of your choice, e.g. a new ticket reply or an expiring server straight into your Discord channel. A webhook is a web address (URL) that we send a message to whenever a matching event happens. You decide which events these are and in which format the message arrives.

Open webhooks

  1. Open your account
    In the dashboard, click your profile picture at the top right and choose Account.

  2. Open webhooks
    In your account's sidebar, click Webhooks under Activity. Here you see all webhooks with Name, URL, Format, Events, Status and Last triggered.

Create a webhook

  1. Start the wizard
    Click Create webhook. The Create webhook dialog opens with the steps Connection, Events and Summary.

    Empty webhook table "No webhooks yet" with the "Create webhook" button highlighted

  2. Enter a name
    In the Connection step, enter a label under Name that helps you recognize the webhook later, e.g. "My server". The name can be up to 100 characters long.

    "Create webhook" dialog at the "Connection" step with the name "My server" (1, step 2), the format "Generic JSON" (2, step 3) and an https URL (3, step 4)

  3. Choose a format
    Under Format, choose where the message goes. The table below shows which format fits which target.

  4. Enter the URL
    Enter the target address under URL. We only accept addresses that start with https://. You create the webhook URL for Discord, Slack or Microsoft Teams in the respective application.

  5. Set a secret (optional)
    If you enter your own secret key under Secret, we sign every message with it. This lets your own server check that the message really comes from us. You do not need a secret for Discord, Slack, Teams or Telegram.

  6. Test the connection
    In the Test connection area, click Send test. We immediately send a test message to your URL and show you the result, e.g. "Test delivered successfully (HTTP 200)." Then click Next.

    "Test connection" box in the "Create webhook" dialog with the "Send test" button (1) and the message "Test delivered successfully (HTTP 200)." below it

  7. Select events
    In the Events step, choose which events we notify you about. The events are grouped by area, e.g. Servers, Domains or Support tickets. Use the Search events field to find an event faster. You have to select at least one event. Then click Next.

    "Create webhook" dialog at the "Events" step with the "Search events" field (1) and the expanded categories

  8. Save the webhook
    Check your details in the Summary and click Create. The webhook is active right away.

Available formats

Format Use it for
Generic JSON Your own server or application. The message contains the fields event, type, occurred_at, resource and data.
Discord A webhook in a Discord channel.
Slack A webhook in Slack.
Microsoft Teams A webhook in Microsoft Teams.
Telegram A Telegram bot. Use https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage?chat_id=<YOUR_CHAT_ID> as the URL.

For Discord, Slack, Teams and Telegram we format the message so it is easy to read, in the language of your dashboard.

Available events

You see which events you can select in the Events step. Some examples:

Area Examples
Servers Server expiring, Server expired, Backup created
Domains Domain expiring, Domain renewed
Payments Payment received, Payment failed
Orders Order completed, Order failed
Donations Donation received
Affiliate program Payout completed
Support tickets New ticket reply, Ticket created
Teams Team invitation received, New team member
Sign-in New sign-in detected
Account Password changed, Passkey added

Test, edit or delete a webhook

Each row in the table has a menu (…) on the right with these actions:

Action Description
Test Sends a test message to the saved webhook. You see whether it arrived in your target, e.g. in the Discord channel.
Edit Opens the Edit webhook dialog. You can change name, format, URL, secret and events, and turn the webhook off or on again with the Active switch.
Delete Deletes the webhook after a confirmation. Your target no longer receives messages afterwards.

For security reasons, we only show a saved URL shortened. If you leave the URL or Secret field empty while editing, the saved values are kept.

Verify the signature

If you set a Secret, every message contains the header X-EmeraldHost-Signature with the value sha256= followed by an HMAC-SHA256 signature. We calculate it over the unchanged content (body) of the message, using your secret as the key. Calculate the same signature on your server and compare both values. If they do not match, discard the message.

In addition, the header X-EmeraldHost-Event names the event, e.g. ticket.new_reply.

When deliveries fail

Your target has to respond within 10 seconds with a status code in the 2xx range. We do not follow redirects. If a delivery fails, we retry it a few times.

Written byEmeraldHost Team
Last updated on Dec 1, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord

Join our Discord community 1257 members online right now