Skip to main content
POST
Attach a channel (guided)
Builds the provider app from your organization’s channel credential and tells you what to do next. Use it as the fastest way to put an agent on Slack. Creates the provider app from the organization’s channel credential and returns what to drive next — the install URL (events transport) or the settings page where the app-level token is generated (socket transport). Finish a socket attach with POST …/complete.
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

agentId
string
required
provider
enum<string>
required

Channel provider. Slack is the only provider today.

Available options:
slack

Body

application/json
transport
enum<string>

Omit to let the deployment posture decide.

Available options:
events,
socket

Response

The presence and what to drive next

presenceId
string
transport
enum<string>
Available options:
events,
socket
installUrl
string | null

Events transport — the one-click "Add to Slack" consent URL.

settingsUrl
string

Socket transport — where the app-level token is generated and the app installed.