Category "slack"

Respond to user interaction - How to update message?

I have created a message froma slash-command Map<String, Object> data = new HashMap<>(); data.put("channel", command.getChannelId()); data.put("blo

Slack Bolt Verification with Oauth

I've been trying to work through this for a couple of days now. I have a slack app working in development using Slack/Bolt and the built in Express Server. In d

Where do I get `thread_ts` to start a Slack thread with an incoming webhook?

On Slack's incoming webhook documentation, they mention including the thread_ts in the request body to start a thread. { "text": "Hello, world.", "thre

Slack app giving error when adding a incoming webbook

I am running into an issue a slack app I am working with. I created a slack app, had it approved from the slack admin and then tried to create an incoming webbo

Challenge value not responding when connecting to request URL using python

I am trying to connect to my request URL in slack but it does not respond with the challenge value like it is supposed to. This has never been an issue before a

Sanitize GitHub context in GitHub actions

I'm trying to write a slack notification bot to trigger off of GitHub pull requests, but I'm running into a sanitization issue I have an action defined as follo

Sanitize GitHub context in GitHub actions

I'm trying to write a slack notification bot to trigger off of GitHub pull requests, but I'm running into a sanitization issue I have an action defined as follo

Slack incoming webhook: Request header field Content-type is not allowed by Access-Control-Allow-Headers in preflight response

I try to post a slack message via the fetch API in a browser: fetch('https://hooks.slack.com/services/xxx/xxx/xx', { method: 'post', headers: { 'Accept

Open URL in browser from Message Button using Slack API

I am sending the users a slack message with a button through a Slack App. On every click of the button, I generate a new URL. At the moment, I am able to retu

Is there a way to send a POST request to slack without using Webhook?

I have tried to send POST requests to my slack channel using webhooks to no avail. It always returns a bad request no matter what I do. Is there a way to send

How to get a link preview in Nodejs?

I have made an app in slack where I want to fetch details of a document from an API and then display the preview of the same file in slack. I'm using Nodejs for

How to get a link preview in Nodejs?

I have made an app in slack where I want to fetch details of a document from an API and then display the preview of the same file in slack. I'm using Nodejs for

Slack API: Can't send attachments

I'm trying to send an attachment using Slack's Python Client but whenever I do I fail. I tried sending it with the Tester too but it still didn't work. Either I

How to access Slackbot custom responses via slack API?

Slack provides wonderful slackbot custom responses. Is there any way to access these "when people say" and "slack bot response" data via slack API? Also is it p

API to get guests expiration date in Slack

Slack displays the expiration date for guests in the profile view (if set). But which API is used for that? I only found an API to change the value https://api.

Does slack have a method for triggering a command?

I built a slackbot for my startup. I would like to trigger things like /poll. Using client.chat_postMessage posts rather as plain text without triggering the co

Slack bot can't send a message to a channel with - or space like "channel-name"

my slack bot can't send a message to a channel with space or - like "channel-name" but works well for a one word channel. $curl = curl_init(); curl_setopt_

How to get the all the channels in Slack workspace with conversation.list API?

When I paginate through next_cursor, I get a different number of channels every time I hit the URL through NodeJS function. Once the total channels fetched is

create custom slash command in slack using @botname instead of /botname

I tried to create a slack application using the link, its working as /botname str. is there any way that we could invoke application in slack using @botname str

slack files & url with headers

I'm building a slack bot (python/slack-bolt). Trying to share a private image within the app home tab. The home tab is genereted using client.views_publish. {