by wonkaWonka · 11y ago · 0 comments
curl -s -o /dev/null --data ' ...the message you were sending... ' https://??? the team subdomain ???.slack.com/services/hooks/slackbot?token=**** the slackbot api token for the channel ****&channel=%23channel???
...have to debug your API token, before you can integrate with it, right?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, }, } ```