Skip to content

Tiny demonstration on how to trigger the Slack API via NextJS

Notifications You must be signed in to change notification settings

klaudsol/demo-slacksay

Repository files navigation

Demo Slacksay

This is a small demo program that demonstrate the ability to send Slack messages via chat.postMessage API. The advantage of using chat.postMessage over incoming webhooks is that it can be used for channels that you don't own.

Getting Started

cp .env.sample .env #Replace the values with your own credentials
yarn install
yarn dev
curl http://localhost:8080/api/slacksay?message=Hello,world. 

About

Tiny demonstration on how to trigger the Slack API via NextJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published