Easily Integrate Slack Webhooks with your application.
https://api.slack.com/messaging/webhooks
Steps to receive Slack Webhooks
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select Slack. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
- Step 1
- Step 2
- Once a webhook is received from Slack, you'll see it under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Integrating Slack Webhooks Using Javascript
- Sign up for your free Hooky account.
- Create a new Webhook Source, and select Slack. This will be the endpoint that receives webhooks on behalf of your application, and forwards them using the unified SDK.
- Step 1
- Step 2
- Once a webhook is received from Slack, you'll see it under the Live Logs section of your webhook source.
- Next, follow the examples below to integrate the Hooky SDK in ruby or javascript, and start receiving webhooks.
Integrating Slack webhooks with Hooky in your Javascript based application is straight forward. Just grab the SDK, and call a function when that webhook is received.
Integrating Slack Webhooks Using Ruby
Integrating Slack webhooks with Hooky in your Ruby or Ruby on Rails application is straight forward. Just grab the SDK, and call a method when that webhook is received.
Configuring Slack Webhook Authentication
Here's how it works
Supported Slack Webhook Events
accounts_changed
The list of accounts a user is signed into has changed
app_home_opened
User clicked into your App Home
app_mention
Subscribe to only the message events that mention your app or bot
app_rate_limited
Indicates your app's event subscriptions are being rate limited
app_requested
User requested an app
app_uninstalled
Your Slack app was uninstalled.
bot_added
A bot user was added
bot_changed
A bot user was changed
call_rejected
A Call was rejected
channel_archive
A channel was archived
channel_created
A channel was created
channel_deleted
A channel was deleted
channel_history_changed
Bulk updates were made to a channel's history
channel_id_changed
A channel ID changed
channel_joined
You joined a channel
channel_left
You left a channel
channel_marked
Your channel read marker was updated
channel_rename
A channel was renamed
channel_shared
A channel has been shared with an external workspace
channel_unarchive
A channel was unarchived
channel_unshared
A channel has been unshared with an external workspace
commands_changed
A slash command has been added or changed
dnd_updated
Do not Disturb settings changed for the current user
dnd_updated_user
Do not Disturb settings changed for a member
email_domain_changed
The workspace email domain has changed
emoji_changed
A custom emoji has been added or changed
external_org_migration_finished
An enterprise grid migration has finished on an external workspace.
external_org_migration_started
An enterprise grid migration has started on an external workspace.
file_change
A file was changed
file_comment_added
A file comment was added
file_comment_deleted
A file comment was deleted
file_comment_edited
A file comment was edited
file_created
A file was created
file_deleted
A file was deleted
file_public
A file was made public
file_shared
A file was shared
file_unshared
A file was unshared
goodbye
The server intends to close the connection soon.
grid_migration_finished
An enterprise grid migration has finished on this workspace.
grid_migration_started
An enterprise grid migration has started on this workspace.
group_archive
A private channel was archived
group_close
You closed a private channel
group_deleted
A private channel was deleted
group_history_changed
Bulk updates were made to a private channel's history
group_joined
You joined a private channel
group_left
You left a private channel
group_marked
A private channel read marker was updated
group_open
You created a group DM
group_rename
A private channel was renamed
group_unarchive
A private channel was unarchived
hello
The client has successfully connected to the server
im_close
You closed a DM
im_created
A DM was created
im_history_changed
Bulk updates were made to a DM's history
im_marked
A direct message read marker was updated
im_open
You opened a DM
invite_requested
User requested an invite
link_shared
A message was posted containing one or more links relevant to your application
manual_presence_change
You manually updated your presence
member_joined_channel
A user joined a public or private channel
member_left_channel
A user left a public or private channel
message
A message was sent to a channel
message.app_home
A user sent a message to your Slack app
message.channels
A message was posted to a channel
message.groups
A message was posted to a private channel
message.im
A message was posted in a direct message channel
message.mpim
A message was posted in a multiparty direct message channel
pin_added
A pin was added to a channel
pin_removed
A pin was removed from a channel
pref_change
You have updated your preferences
presence_change
A member's presence changed
presence_query
Determine the current presence status for a list of users
presence_sub
Subscribe to presence events for the specified users
reaction_added
A member has added an emoji reaction to an item
reaction_removed
A member removed an emoji reaction
reconnect_url
Experimental
resources_added
Access to a set of resources was granted for your app
resources_removed
Access to a set of resources was removed for your app
scope_denied
OAuth scopes were denied to your app
scope_granted
OAuth scopes were granted to your app
shared_channel_invite_accepted
A shared channel invite was accepted
shared_channel_invite_approved
A shared channel invite was approved
shared_channel_invite_declined
A shared channel invite was declined
shared_channel_invite_received
A shared channel invite was sent to a Slack user
star_added
A member has starred an item
star_removed
A member removed a star
subteam_created
A User Group has been added to the workspace
subteam_members_changed
The membership of an existing User Group has changed
subteam_self_added
You have been added to a User Group
subteam_self_removed
You have been removed from a User Group
subteam_updated
An existing User Group has been updated or its members changed
team_access_granted
Access to a set of teams was granted to your org app
team_access_revoked
Access to a set of teams was revoked from your org app
team_domain_change
The workspace domain has changed
team_join
A new member has joined
team_migration_started
The workspace is being migrated between servers
team_plan_change
The account billing plan has changed
team_pref_change
A preference has been updated
team_profile_change
The workspace profile fields have been updated
team_profile_delete
The workspace profile fields have been deleted
team_profile_reorder
The workspace profile fields have been reordered
team_rename
The workspace name has changed
tokens_revoked
API tokens for your app were revoked.
url_verification
Verifies ownership of an Events API Request URL
user_change
A member's data has changed
user_resource_denied
User resource was denied to your app
user_resource_granted
User resource was granted to your app
user_resource_removed
User resource was removed from your app
user_typing
A channel member is typing a message
workflow_deleted
A workflow that contains a step supported by your app was deleted
workflow_published
A workflow that contains a step supported by your app was published
workflow_step_deleted
A workflow step supported by your app was removed from a workflow
workflow_step_execute
A workflow step supported by your app should execute
workflow_unpublished
A workflow that contains a step supported by your app was unpublished