POST /admin.conversations.setTeams

Set the workspaces in an Enterprise grid org that connect to a public or private channel.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

token String Yes

Authentication token. Requires scope: admin.conversations:write

Request body fields

Name Type Required Description
team_id String No

The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.

channel_id String Yes

The encoded channel_id to add or remove to workspaces.

target_team_ids String No

A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.

org_channel Boolean No

True if channel has to be converted to an org channel

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.