Mr_Green
Mr_Green

Reputation: 41840

Connect slack with simple web api token but not with Slack bot or slack app

As a leisure project, I created a small project that updates slack status whenever an event is added/updated in Google Calendar (Just like the Google calendar app on Slack). Whatever I implemented till now works as expected but I did so by creating a new Slack app, which I don't want to do - In other words, I am trying to integrate Google Calendar with Slack, without any Slack bot or Slack app setup. At least this is what Zapier does - It asks for authentication to Google calendar & Slack, and integrates them without having a Slack bot or Slack app.

I referred to Slack API docs but couldn’t find any page helpful enough to work without a Slack bot or Slack app, and simply with a Web API token.

I think I found a page closer to what I need but this too requires a client ID and client secret which are possible if a new app is created.

Upvotes: 0

Views: 234

Answers (1)

Taylor Singletary
Taylor Singletary

Reputation: 2296

It's no longer possible to generate an API token on its own for Slack. If it helps, you can just think of a Slack app as a simple container representing what you want to accomplish. Install the Slack app to get the token and then use the token for that purpose. You don't need to learn or implement OAuth or provide much more than a name to retrieve a token scoped to the activities you wish to accomplish.

Upvotes: 0

Related Questions