It is not straight forward to get a token with Slack. The expectation is that you write an OAuth client to get the token, but it is possible to get it manually. These are the steps I followed:
You should already have an account and a channel set up that you want to send error messages to.
- Create a new Slack App - https://api.slack.com/applications/new which will give you a client_id and a client_secret which you need for step two. You will need to enter a redirect URI, which can be any page for this purpose.
- Got to https://slack.com/oauth/authorize?client_id=[client_id]&scope=chat:write:bot
- Authorise App on the page that is returned.
- From the URI copy the code that is returned. Go to https://sla