Questions tagged [slack-api]

Slack is a real-time messaging, archiving and search tool for modern teams. Use this tag for programming questions related to the Slack API including the Web API, the RTM API and the Events API.

Slack is a real-time messaging, archiving and search tool for modern teams.

Use this tag for programming questions related to the Slack API including the Web API and the Events API.

Read more about the Slack API here.

2911 questions
8
votes
0 answers

How to create new issue from slack to redmine?

I need create issues from #channel in Slack and post it to Redmine. How can i do it? Is it possible?
dmitruss
  • 99
  • 6
8
votes
1 answer

Get Slack user name through oAuth API

I'm using th eSlack oAuth API to integrate my app with Slack. Following these instructions I do the following: Call https://slack.com/oauth/authorize passing my client_id, and the scope "identify,read,post -> I get a code Call…
Traveling Tech Guy
  • 27,194
  • 23
  • 111
  • 159
8
votes
2 answers

"Trigger builds remotely" does not appear after installing Build Token Root Plugin in Jenkins

I have installed Build Token Root Plugin (Version 1.2) in Jenkins. But the "Trigger builds remotely" options doesn't appear. The end goal is to trigger Jenkins from SlackBot. I followed this tutorial. I must be doing something very silly. Please…
Munai Das Udasin
  • 510
  • 1
  • 10
  • 24
8
votes
2 answers

Slack iOS URL Scheme

Can I link directly to message someone on my Slack team from my iOS app? If I just open a slack: url, it will open the slack app, but not linking to someone's message thread. I tried a few obvious ones: slack:ptarjan slack://ptarjan but I'm…
Paul Tarjan
  • 48,968
  • 59
  • 172
  • 213
8
votes
4 answers

Slack slash commands - show user-entered text?

I'm working with the slack slash commands API, and it works swimmingly with my bot (https://github.com/jesseditson/slashbot) so far, except for one thing: In other slash integrations (for instance giphy), when a user types a slash command, the…
Jesse
  • 10,370
  • 10
  • 62
  • 81
7
votes
1 answer

SlackBot OpenModal Error: "Missing Charset"

I want to make an api Call via Zapier to open a Modal in Slack. But I always get the error: ok: false error: invalid_json warning: missing_charset response_metadata: warnings: 1: missing_charset This is my Request…
BlockchainProgrammer
  • 1,999
  • 5
  • 20
  • 32
7
votes
2 answers

Slack web-api returning channel not found chat.postMessage to a private channel

I have the following code which returns me the following error. The error says channel not found, howerver I am following the docs for a private channel to either use the name of the channel or to use the string that is in the url with a G at the…
Anders Kitson
  • 1,413
  • 6
  • 38
  • 98
7
votes
2 answers

Error: An API error occurred: invalid_auth

Hi I'm writing my slack bot, and I want after select, change prev message to a new variat, this is my action which is triggerd after select: slackInteractions.action({ type: "static_select" }, (payload, res) => { console.log(payload); web.chat …
Alex
  • 193
  • 1
  • 11
7
votes
1 answer

slack slash command work but send "failed with the error "operation_timeout""

I have a problem, probably stupid one, with slack slash command. I config a /command that simple ask some data about covid infection that will be fetch at request, the answer work well but after some second (3000 ms for timeout) i have a message of…
jacklondon
  • 145
  • 1
  • 1
  • 10
7
votes
1 answer

AWS Lambda continue execution after callback

I'm using API Gateway + AWS Lambda to handle Slack API requests. Slack requires that the Lambda functions respond with a 2XX within 3 seconds so I need to respond quickly and then trigger some long-running db operations. The problem is that AWS…
Alvin
  • 95
  • 5
7
votes
1 answer

POST from Slack for button interactions has empty body

I'm setting up a Slack bot using node.js. The event system works perfectly and gives me POSTs with valid bodies from Slack, and I am able to successfully send messages (both interactive and not) to Slack. However, the POSTs Slack sends me in…
electricsheep
  • 73
  • 1
  • 4
7
votes
1 answer

Deep link that opens up Slack and auto-fills text in the message box

I wish to implement this feature that allows users to use a deep link into a Slack's channel on their phones or computers, and pre-fill some texts in the message box. I have read through the documents and didn't find relevant solutions. I was…
Yang Liu
  • 81
  • 1
  • 4
7
votes
1 answer

Does Slack provide support for IP Whitelisting?

I have an endpoint which I would like to dedicate it to requests originating from slack via Outgoing Webhooks. Do we have IP addresses or CIDR block to provide IP whitelisting?
Narayan Gowraj
  • 123
  • 1
  • 9
7
votes
3 answers

Slack conversations.list method does not list all the channels

I have a slack application and I have authenticated using this application. When I list all the channels, some of the private channels are not listed. Do we need the access token of workspace admin to list all the private and public channels?
Arun
  • 1,933
  • 2
  • 28
  • 46
7
votes
1 answer

How do I call apps.uninstall method in slack?

I want to be able to provide the admin an option to remove my slack app from their workspace from my website (kind of like add to slack button but reverse of that). I have a delete button which calls the apps.uninstall method using the user token…
r-puri
  • 119
  • 1
  • 5