Nicholas Sherlock
1 min readJun 8, 2017

--

Great example! You should probably be validating the “token” field that Slack posts to your endpoint, otherwise somebody else could post there instead.

Slack says “token: The shared-private callback token that authenticates this callback to the application as having come from Slack. Match this against what you were given when the subscription was created. If it does not match, do not process the event and discard it.”.

--

--