Skip to main content
Create Slack Channel
curl --request POST \
  --url https://{api_endpoint}/api/v1/orchestrate/agents/{agent_id}/environments/{environment_id}/channels/slack \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "channel_app_id": "<string>",
  "channel": "byo_slack",
  "created_on": "<string>",
  "updated_at": "<string>",
  "created_by": "<string>",
  "updated_by": "<string>",
  "description": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>",
  "signing_secret": "<string>",
  "teams": [
    {
      "id": "<string>",
      "bot_access_token": "<string>"
    }
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required
environment_id
string
required

Body

application/json
client_id
string
required
client_secret
string
required
signing_secret
string
required
name
string | null
channel_app_id
string | null
channel
string
default:byo_slack
Allowed value: "byo_slack"
created_on
string | null
updated_at
string | null
created_by
string | null
updated_by
string | null
description
string | null
Maximum length: 1024
teams
SlackTeam · object[] | null

Response

Successful Response

The response is of type any.