October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk2 min

How to Find and Set Up a Slack Channel Webhook URL

Enable Incoming Webhooks in a Slack app, authorize the destination channel, and copy the generated URL from the app settings.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To get a Slack channel webhook URL, open your Slack app’s settings, enable Incoming Webhooks, choose Add New Webhook to Workspace, select a channel, and authorize. Slack then lists the generated URL in the app settings under Webhook URLs for Your Workspace.

Get a webhook URL in Slack app settings

  1. Open the Slack app management dashboard and create an app, or select an app you already own.
  2. In the app settings, open Incoming Webhooks and switch Activate Incoming Webhooks on. See Slack’s Incoming Webhooks documentation.
  3. Select Add New Webhook to Workspace to begin the installation and authorization flow.
  4. Choose the destination channel and select Authorize. For a private channel, the person authorizing the app must already be a member.
  5. Return to the app’s settings and copy the URL listed under Webhook URLs for Your Workspace. Slack’s example URLs use the hooks.slack.com/services/... pattern; an example is not a working credential.

Use OAuth when your app needs to obtain URLs programmatically

If you are building an app that installs into workspaces, request the incoming-webhook scope during OAuth. Slack’s incoming-webhook scope reference explains that this enables incoming webhooks and displays a channel picker during installation. After exchanging the OAuth verification code, read the incoming_webhook object in the response and use its url field. The object also includes the selected channel, channel_id, and configuration_url.

As an Amazon Associate I earn from qualifying purchases.

Send a test message

Post JSON to the generated URL with an HTTP POST request. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
POST <your-generated-webhook-url>
Content-type: application/json

{"text":"Hello, world."}

If the request succeeds, the message appears in the channel selected during authorization. Slack’s webhook guide also covers richer message formatting, including blocks.

Know what the webhook can and cannot do

  • It is a secret. Slack warns: “Your webhook URL contains a secret. Don’t share it online, including via public version control repositories.” Slack says it actively searches for and revokes leaked secrets. Keep the URL out of public repositories, posts, screenshots, and logs. Slack’s security guidance explains the risk.
  • It is restricted to its authorized destination. The webhook is associated with its app and configured channel; it cannot post as an arbitrary user or to an unapproved channel. Its app configuration determines the channel, username, and icon, which a webhook request cannot override. See Slack’s webhook documentation.
  • It cannot delete messages. Incoming webhooks do not provide a way to delete a posted message. If deletion is required, Slack points developers to the chat.postMessage API method; consult its method documentation for the API’s behavior and requirements.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

If the URL is exposed

Treat an exposed URL as compromised. Remove or regenerate it through Slack’s app or workspace configuration, then replace the old value anywhere your integration stores or uses it. Slack’s warning and active revocation policy are the reason to rotate it rather than assume it is still safe.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.