---
title: "Add multiple users to a Slack channel."
method: POST
path: "/addUsersToChannel"
tags: ["channel", "user"]
---

# Add multiple users to a Slack channel.

`POST /addUsersToChannel`

Adds multiple users to a specified Slack channel.

## Request body

- object
  - `body` object — Body of the addUsersToChannel sls call
    - `arguments` object, required
      - `channelId` string, required — The ID of the channel to add users to. Channel IDs start with 'C'.
      - `userIds` string[], required — Array of user IDs to add to the channel. User IDs start with 'U'.

## Response `200`

Successful response

- object[] — Array of invite responses
  - `ok` boolean, required — Indicates if the request was successful.
  - `channel` object
    - `id` string — The ID of the channel.
    - `name` string — The name of the channel.
    - `is_channel` boolean — Indicates if the object represents a channel.
    - `is_group` boolean — Indicates if the object represents a private channel.
    - `is_im` boolean — Indicates if the object represents a direct message conversation.
    - `created` integer — A Unix timestamp indicating when the channel was created.
    - `creator` string — The ID of the user who created the channel.
    - `is_archived` boolean — Indicates if the channel is archived.
    - `is_general` boolean — Indicates if the channel is the default "general" channel.
    - `unlinked` integer
    - `name_normalized` string — The channel name, but with any special characters replaced.
    - `is_shared` boolean — Indicates if the channel is shared with other workspaces.
    - `is_ext_shared` boolean — Indicates if the channel is part of an external shared connection.
    - `is_org_shared` boolean — Indicates if the channel is shared with the entire organization.
    - `pending_shared` string[] — A list of team IDs that have been invited to the channel but have not yet joined
    - `is_pending_ext_shared` boolean — Indicates if the conversation is ready to become an external shared channel but needs approval
    - `is_member` boolean — Indicates if the calling user is a member of the channel.
    - `is_private` boolean — Indicates if the channel is private.
    - `is_mpim` boolean — Indicates if the object represents a multi-person direct message.
    - `topic` object — An object containing the channel's topic information.
    - `purpose` object — An object containing the channel's purpose information.
    - `previous_names` unknown[] — A list of any previous names the channel had.
      - unknown
    - `num_members` integer — The number of members in the channel.
    - `last_read` string — The timestamp of the last message the user read in the channel.
    - `latest` object — The latest message in the channel.
    - `unread_count` integer — The number of unread messages for the user in the channel.
    - `unread_count_display` integer — The number of unread messages to display for the user.
    - `is_open` boolean — Indicates if the channel is open for the user.

## Other responses

- `400` — Bad Request - Invalid parameters
- `403` — Forbidden - Not authorized to add user to channel
- `404` — Not Found - Channel or user not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/microfox-ai/apis/slack-d.md) · [All operations](https://skmtc.net/microfox-ai/apis/slack-d/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/microfox-ai/slack-d/versions/cd0edf0c2cdf/schema)
