Slack

Connect a Slack channel — estimate

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

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

Request body

accountIdstring

Existing Slack account whose workspace token is reused. Required unless pendingDataToken is sent.

channelIdstring

Slack channel id, C... or G.... Send this or channelIds, not both.

channelIdsstring[]

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_urlstring

channelIds only: a URL to return in redirect_url, with connected, profileId, accountId and accountIds appended.

pendingDataTokenstring

Nonce from the OAuth redirect. Required unless accountId is sent.

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.