# slack-web-api-client

> Streamlined Slack Web API client for TypeScript

Latest version **1.1.14** (published 2026-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install slack-web-api-client
pnpm add slack-web-api-client
yarn add slack-web-api-client
bun add slack-web-api-client
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.1.14 |
| Published | 2026-06-29 |
| First published | 2023-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 43 |
| Author | Kazuhiro Sera |
| Maintainers | seratch, stephentangcook |
| Keywords | Slack, ChatBot, TypeScript, Node.js, Deno, Cloudflare Workers |

## Links

- npm: https://www.npmjs.com/package/slack-web-api-client
- Repository: https://github.com/slack-edge/slack-web-api-client
- Homepage: https://github.com/slack-edge/slack-web-api-client#readme
- Issues: https://github.com/slack-edge/slack-web-api-client/issues
- npm.io page: https://npm.io/package/slack-web-api-client

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.14 (latest) — 2026-06-29
- 1.1.13 — 2026-06-16
- 1.1.12 — 2026-05-13
- 1.1.11 — 2026-03-25
- 1.1.10 — 2026-03-25
- 1.1.9 — 2026-02-02
- 1.1.8 — 2026-01-06
- 1.1.7 — 2025-07-12
- 1.1.6 — 2025-06-06
- 1.1.5 — 2025-01-24
- 1.1.4 — 2024-12-21
- 1.1.3 — 2024-10-26
- 1.1.2 — 2024-09-17
- 1.1.1 — 2024-09-17
- 1.1.0 — 2024-09-17
- … 70 more at https://npm.io/package/slack-web-api-client/versions

## README

## Slack Web API Client for TypeScript

[![npm version](https://badge.fury.io/js/slack-web-api-client.svg)](https://badge.fury.io/js/slack-web-api-client) 
[![deno module](https://shield.deno.dev/x/slack_web_api_client)](https://deno.land/x/slack_web_api_client)
[![JSR](https://jsr.io/badges/@seratch/slack-web-api-client)](https://jsr.io/@seratch/slack-web-api-client)

The **slack-web-api-client** library is a type-safe Slack Web API client that provides several key benefits, including:
* **A fetch-based implementation**, which is compatible with most runtimes
* **Strong types for Web API responses and Block Kit**, which make coding enjoyable and predictable
* **Zero additional dependencies**, allowing developers to integrate this library into their projects without any obstacles

If you're looking for a solution to utilize the full features of the Slack platform, [**slack-edge**](https://github.com/slack-edge/slack-edge) is the one for you. The **slack-edge** library uses this **slack-web-api-client** internally, making it compatible with most JavaScript/TypeScript runtimes.

### Getting Started

#### Working with the npm package

To install the **slack-web-api-client** library, simply use the standard npm/yarn command:
```
npm i slack-web-api-client@latest
```

Once you have added the **slack-web-api-client** library to your project's dependencies using the npm/yarn command, you can easily import any functionality you need from `"slack-web-api-client"` in your TypeScript code:

```typescript
import { SlackAPIClient } from "slack-web-api-client";

const client = new SlackAPIClient(process.env.SLACK_BOT_TOKEN);
const response = await client.chat.postMessage({
  channel: "#random",
  text: ":wave: what's up?",
});
```

The second argument of the constructor allows for optional customizations:

```typescript
const client = new SlackAPIClient(process.env.SLACK_BOT_TOKEN, {
  logLevel: "DEBUG", // default: "INFO"
  throwSlackAPIError: false,  // default: true
});
```

This argument, if provided, allows for further configuration of **SlackAPIClient** instance to fit your specific needs.

#### Working with the Deno module

Please refer to [README for the Deno module](https://github.com/slack-edge/slack-web-api-client/blob/main/src_deno/README.md).

---
_Source: https://npm.io/package/slack-web-api-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
