Skip to content

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 ​

  1. Make sure you have a Slack workspace.
  2. Create a Slack channel.
  3. Create a Slack app at https://api.slack.com/apps/new.
  4. Enable Activate Incoming Webhooks. Activate Incoming Webhooks
  5. Click Add New Webhooks to Workspace. Add New Webhooks
  6. Select the channel you created, then click Allow. Allow webhook
  7. Copy the Webhooks URL that appears. Webhooks URL

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.

  1. Open a terminal on your computer.
  2. 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
  1. If successful, a notification appears in the selected Slack channel. Slack notification

Configure Slack webhooks in WHMCS ​

  1. Sign in to the WHMCS admin area.
  2. Open System Settings > Domain Registrars. Domain Registrars
  3. Select RDASH, then click Activate.
  4. Enter the API Key from RDASH and the Slack Hooks URL from Slack. If the account is still on trial, select Sandbox. Sandbox and webhook URL
  5. Click Save Changes.

Next steps ​

RDASH Domain Registrar System