Re:How to build your own Slack integration
by phoenixbox on Monday August 24, 2015 @06:56PM
(#10113379)
Hey, not quite sure what the question is, can you rephrase it?
Requests to slack require the slack token to be included in the request params
```
qs: {
"token": integration.get('slack_token'),
"channel": integration.get('channel_id'),
"username": 'Partyline',
"attachments": JSON.stringify(attachment),
"icon_url": SLACK_BOT_ICON,
},
}
```
Requests to slack require the slack token to be included in the request params ``` qs: { "token": integration.get('slack_token'), "channel": integration.get('channel_id'), "username": 'Partyline', "attachments": JSON.stringify(attachment), "icon_url": SLACK_BOT_ICON, }, } ```