Slack Webhooks
The RDASH registrar module supports Slack Incoming Webhooks for sharing app notifications to a Slack channel. Create an API Key before you configure the integration.
Prerequisites
- A Slack account and destination channel
- An API Key from RDASH
- The RDASH registrar module available in WHMCS
Configure Slack webhooks
- Make sure you have a Slack workspace.
- Create a Slack channel.
- Create a Slack app at https://api.slack.com/apps/new.
- Enable Activate Incoming Webhooks.

- Click Add New Webhooks to Workspace.

- Select the channel you created, then click Allow.

- Copy the Webhooks URL that appears.

WARNING
Treat the Webhooks URL like a password. Do not share it, paste it into a third-party online HTTP tester, or put it in a public ticket or chat. Anyone who has the URL can post messages to your Slack channel.
Test Slack webhooks
Test from your own terminal. Replace YOUR_SLACK_WEBHOOK_URL_HERE with the URL you copied; do not run this command on a third-party online HTTP tester.
- Open a terminal on your computer.
- Run the following command (replace the URL placeholder):
bash
curl -X POST -H 'Content-type: application/json' \
--data '{"text":"Test webhook RDASH"}' \
YOUR_SLACK_WEBHOOK_URL_HERE- If successful, a notification appears in the selected Slack channel.

Configure Slack webhooks in WHMCS
- Sign in to the WHMCS admin area.
- Open System Settings > Domain Registrars.

- Select RDASH, then click Activate.
- Enter the API Key from RDASH and the Slack Hooks URL from Slack. If the account is still on trial, select Sandbox.

- Click Save Changes.

