This page is also inEN
iTeam
API guide · Communication, email and calendar With your company’s credentials

Slack API: what you can do and how to use it with AI agents

The Slack API lets you build apps that read and send messages, react to events and interact with users through commands and buttons. Engineering, operations and IT teams use it for internal automations and bots. Access is through apps installed in the workspace with defined OAuth scopes.

Nina
API guide

What the Slack API offers

Web API

Methods to send and edit messages, list channels, look up users and manage conversations.

Events API

Events sent to the app when something happens, such as a new message, a mention or someone joining a channel.

Interactivity

Buttons, menus, modals and shortcuts the user triggers inside Slack.

Slash commands

Custom commands that trigger actions in the app.

Files

Upload and reading of files shared in channels and direct messages.

How to access the Slack API

  • With your company’s credentialsOAuth 2.0: the app is created in the Slack developer portal and installed in the workspace, producing bot or user tokens with specific scopes.
  • Methods have rate limits by tier; bulk messages need to be spaced out.
  • Ask only for the scopes you need: reading the history of every channel is rarely necessary.
  • Messages can contain sensitive data; align with the workspace's retention policy.

Official documentation: api.slack.com

What an iTeam agent does with the Slack API

Internal support agent

The agent answers HR, IT and policy questions in a dedicated channel, citing the internal document it used, and opens a ticket when it does not know.

Incident triage

When monitoring reports an error, the agent opens the incident channel, pages the on-call engineer and summarizes logs and recent deploys.

Button approvals

Purchase, discount or access requests reach the manager as a message with approve and reject buttons, and the result goes back to the source system.

Channel summaries

At the end of the day, the agent summarizes the decisions and open items from project channels for anyone who did not follow along.

From the credential to the agent at work, with approval

01

Create the app in Slack

Create the app in the Slack portal, set the minimum scopes needed and install it in the workspace with an administrator.

02

Register the token in iTeam

The bot token goes in the iTeam vault; you choose which channels each agent works in and what it can post.

03

Turn on events and test

Enable message and mention events, test in a pilot channel and keep human approval for actions outside Slack.

Questions

Questions about the Slack API

Is the Slack API free?

Creating apps and using the API has no separate charge, but some features and limits depend on the workspace plan. Check your company's plan.

Do I need to write code to use the Slack API with iTeam?

No. iTeam already connects to Slack and the deployment team helps create the app, choose scopes and define the channels.

Does the agent read every message in the workspace?

No. It sees only the channels it was added to and the scopes you authorized.

Next step

Put an AI team to work this week.

Start free with a pre-built team, or talk to us and our squad puts AI in production with your people.

300+integrations
4languages
Agents working right now