Skip to main content
POST
Error

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json

Request schema for starting Slack OAuth install flow.

agent_preset_id
string<uuid>
required

Agent preset to associate with the channel token.

client_id
string
required

Slack app client ID

Minimum string length: 1
client_secret
string
required

Slack app client secret

Minimum string length: 1
signing_secret
string
required

Slack app signing secret

Minimum string length: 1
return_url
string
required

URL to return users to after OAuth callback

Minimum string length: 1
token_id
string<uuid> | null

Existing channel token ID. If omitted, creates one.

Response

Successful Response

Response schema for Slack OAuth start.

authorization_url
string
required
token
AgentChannelTokenRead · object
required

Response schema for an external channel token.