POST
/
v1
/
orchestrate
/
agents
/
{agent_id}
/
environments
/
{environment_id}
/
channels
/
slack
Create Slack Channel
curl --request POST \
  --url http://{api_endpoint}/api/v1/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

Response

201
application/json

Successful Response

The response is of type any.