Overview
Incoming Webhooks are an easy way to post messages into Slack. Creating an Incoming Webhook gives you a unique URL to which will be used to send messages to your slack channel using Sendto Slack plugin.
How do I get Slack Incoming webhook URL?
You just need to walk through a quick 3-step process to get your job done.
- Create a Slack app.
- Enable Incoming Webhooks
- Create an Incoming Webhook.
Create a Slack app.
- Navigate to this URL: https://api.slack.com/apps?new_app=1
- Login to your Slack account if you see, “You’ll need to sign in to your Slack account to create an application.”
- Then, it will prompt a window to Create a Slack App.
- In-App Name field: Give your application a meaningful name.
- In Development Slack Workspace field, select your slack workspace.
- Click Create App button.
Enable Incoming Webhooks
After creating, you’ll be redirected to the settings page for your new app (if you are using an existing app, just load its settings via the Your Apps page).
-
- Select Incoming Webhooks feature (highlighted in yellow).
-
- And then, click the Activate Incoming Webhooks toggle to switch it on.
Create an Incoming Webhook.
Now that Incoming Webhooks is enabled, the settings page should refresh, and some extra options will appear. In this section, you will authorize your app to send messages to a slack channel that will be selected in the following section.
- Scroll down and Click on Add New Webhook to Workspace button. On the next page, you need to select a channel on which Sendto Slack plugin will send messages.
- In Post to section, select the channel and click Authorize button.
You’ll be sent back to your app settings, and you should now see a new entry under the Webhook URLs for Your Workspace section, with a Webhook URL that’ll look something like this:
https://hooks.slack.com/services/XXXXXXXXXX/XXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX
That URL is your shiny new Incoming Webhook.
Your app setting page should like look this one:
3. Copy Webhook URL by clicking on the Copy button (marked in yellow). That’s it.