Slack

Save a newly created Slack channel to database

Stores Slack channel metadata in the database for partnership communication

post/api/slack/channel

Request

  • Base URL: https://api.kolect.com
  • URL: https://api.kolect.com/api/slack/channel
  • Auth: HTTP bearer

Request body

channel_idstring required

Slack channel ID

channel_namestring required

Name of the Slack channel

channel_typestring

Type of channel (private, public, etc.)

brand_idstring required

Brand ID to link the channel

creator_idstring

Slack user ID who created the channel

team_idstring

Slack workspace/team ID

is_privateboolean

Whether the channel is private

is_archivedboolean

Whether the channel is archived

topicstring

Channel topic

purposestring

Channel purpose

Example request

{
  "channel_id": "C094QGQFG4B",
  "channel_name": "brand-partnership-channel",
  "channel_type": "private",
  "brand_id": "55de8288-e955-4f0a-a344-2988295215db",
  "creator_id": "U094C1SMMUP",
  "team_id": "T08LQMSTYB0",
  "is_private": true,
  "topic": "Brand partnership discussion",
  "purpose": "Communication channel for brand partnerships"
}

Response

Slack channel saved successfully

successboolean
messagestring
channel_idstring
dataobject

Saved channel data

Example response

{
  "success": true,
  "message": "Slack channel saved successfully",
  "channel_id": "C094QGQFG4B"
}

Changes

No recorded changes to this operation across all 1 revision of this API.