v1
latestOpenAPI 3.0.02026-08-04891301.4 MBCreate or update a Slack channel binding
Creates a new binding between a Slack channel and a team, or updates the existing binding if one already exists for the given channel. The caller also supplies a list of agents to attach to the binding and enroll as members of the destination team.
The caller must have team-manage rights on the destination team (and on the currently bound team if the channel is being re-pointed). Returns 403 if permission is insufficient. All write steps are idempotent, so retrying after a partial failure is safe.
On success the REST endpoint returns 201 Created. The script binding (slack.channel_bindings.upsert) returns the full binding object including the attached agents.
post/api/v1/slack_channel_bindings
Request body
Example request
{
"agent_user_ids": [
"string"
],
"channel_id": "string",
"customer_label": "string",
"is_ext_shared_cached": true,
"slack_team_id": "string",
"team_id": "string"
}Response
Successful response
Example response
{
"agents": [
"string"
],
"channel": "C01234ABCDE",
"customer_label": "string",
"id": "string",
"integration": "string",
"is_ext_shared_cached": true,
"team": "string"
}