Skip to main content
PUT
Connect or refresh the organization's channel credential
Saves the Slack app configuration token. OneCLI uses it to create per-agent Slack apps. Call it again to refresh an expired token. See Slack. Slack — the app configuration token that lets OneCLI create per-agent apps on your workspace’s behalf.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

provider
enum<string>
required

Channel provider. Slack is the only provider today.

Available options:
slack

Body

application/json
credential
string
required
Maximum string length: 4000

Response

Connected

provider
string
tenant
object