After getting the token, the next step is to create Slash Command in Slack as described below.
- Go to Slack > Login and Your Account > Manage Apps

2. Select Custom Integrations.

3. Select Slash Command.

4. Select Add Configuration.

5. Set the command properties as shown below.
5.1. Command: Enter the command name, e.g., Witly.
5.2. URL: Set URL for Witly using the token parameter. See a sample URL below.
https://Witly.co/api/v2/slack?token=eb64c6a39f7e49c28a08100c97fe3348
5.3. Method: Select GET.
5.4. Customize Name: Name the Slack command, which will be displayed in Chat box, after the command name.
5.5. Customize Icon: Add icon.
6. Click Save Integration.

Last modified on Jun 19, 2018