---
title: "Connect a Slack channel — estimate"
method: POST
path: "/v1/messaging/connect/slack/estimate"
tags: ["Slack"]
---

# Connect a Slack channel — estimate

`POST /v1/messaging/connect/slack/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/connect/slack/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/messaging/connect/slack`.

## Request body

- object
  - `accountId` string: Existing Slack account whose workspace token is reused. Required unless pendingDataToken is sent.
  - `channelId` string: Slack channel id, C... or G.... Send this or channelIds, not both.
  - `channelIds` string[]: Several channels of the workspace to connect, each as its own account. With two or more distinct ids the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect. A single id behaves exactly like channelId.
  - `redirect_url` string: channelIds only: a URL to return in `redirect_url`, with `connected`, `profileId`, `accountId` and `accountIds` appended.
  - `pendingDataToken` string: Nonce from the OAuth redirect. Required unless accountId is sent.

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
