Slack

Get current Slack workspace configuration

get
Authorizations
Responses
chevron-right
200

Workspace configuration retrieved

application/json
idstringRequired

Unique identifier for the workspace configuration

Example: 123e4567-e89b-12d3-a456-426614174000
team_idstringRequired

Slack workspace/team ID

Example: T1234567890
team_namestringRequired

Name of the Slack workspace

Example: My Company Workspace
app_idstringRequired

Slack app ID

Example: A01234567890
app_namestringRequired

Display name of the Slack app

Example: SFP Bot
bot_user_idstringRequired

Bot user ID in the workspace

Example: U01234567890
is_activebooleanRequired

Whether the workspace configuration is active

Example: true
created_atstringRequired

When the workspace was configured

Example: 2024-01-15T10:30:00Z
updated_atstringRequired

When the workspace was last updated

Example: 2024-01-15T10:30:00Z
created_bystringRequired

Email of the user who configured the workspace

Example: [email protected]
has_bot_tokenbooleanRequired

Whether a bot token is configured (token value not exposed)

Example: true
has_app_tokenbooleanRequired

Whether an app token is configured (token value not exposed)

Example: true
has_signing_secretbooleanRequired

Whether a signing secret is configured (value not exposed)

Example: true
get
/sfp/api/slack/workspace

Create or update Slack workspace configuration

post
Authorizations
Body
team_idstringRequired

Slack workspace/team ID (starts with T)

Example: T1234567890Pattern: ^T[A-Z0-9]+$
team_namestringRequired

Name of the Slack workspace

Example: My Company Workspace
bot_tokenstringRequired

Bot User OAuth Token (starts with xoxb-)

Example: xoxb-EXAMPLE-TOKEN-DO-NOT-USEPattern: ^xoxb-
app_tokenstringRequired

App-Level Token for Socket Mode (starts with xapp-)

Example: xapp-EXAMPLE-APP-TOKEN-DO-NOT-USEPattern: ^xapp-
signing_secretstringRequired

Slack app signing secret for request verification

Example: EXAMPLE_SIGNING_SECRET_DO_NOT_USE
app_idstringOptional

Slack app ID

Example: A01234567890
app_namestringOptional

Display name of the Slack app

Example: SFP Bot
bot_user_idstringOptional

Bot user ID in the workspace

Example: U01234567890
Responses
post
/sfp/api/slack/workspace

Delete Slack workspace configuration

delete
Authorizations
Query parameters
teamIdstringOptional

Specific team ID to delete

Responses
chevron-right
200

Workspace configuration deleted

application/json
successbooleanRequired

Whether the operation was successful

Example: true
messagestringRequired

Confirmation message

Example: Workspace configuration deleted
delete
/sfp/api/slack/workspace

Update Slack workspace configuration

patch
Authorizations
Body
team_namestringOptional

Name of the Slack workspace

Example: My Company Workspace
bot_tokenstringOptional

Bot User OAuth Token (starts with xoxb-)

Example: xoxb-EXAMPLE-TOKEN-DO-NOT-USEPattern: ^xoxb-
app_tokenstringOptional

App-Level Token for Socket Mode (starts with xapp-)

Example: xapp-EXAMPLE-APP-TOKEN-DO-NOT-USEPattern: ^xapp-
signing_secretstringOptional

Slack app signing secret for request verification

Example: EXAMPLE_SIGNING_SECRET_DO_NOT_USE
Responses
chevron-right
200

Workspace configuration updated

application/json
successbooleanRequired

Whether the operation was successful

Example: true
patch
/sfp/api/slack/workspace

Test Slack bot connection

get
Authorizations
Responses
chevron-right
200

Connection test successful

application/json
successbooleanRequired

Whether the connection test was successful

Example: true
messagestringRequired

Human-readable message about the test result

Example: Successfully connected to Slack workspace "My Company Workspace"
errorstringOptional

Error message if the test failed

Example: Invalid bot token
get
/sfp/api/slack/test

List all Slack workspaces

get
Authorizations
Query parameters
activeOnlybooleanOptional

Show only active workspaces

Responses
chevron-right
200

List of workspaces

application/json
idstringRequired

Unique identifier for the workspace configuration

Example: 123e4567-e89b-12d3-a456-426614174000
team_idstringRequired

Slack workspace/team ID

Example: T1234567890
team_namestringRequired

Name of the Slack workspace

Example: My Company Workspace
app_idstringRequired

Slack app ID

Example: A01234567890
app_namestringRequired

Display name of the Slack app

Example: SFP Bot
bot_user_idstringRequired

Bot user ID in the workspace

Example: U01234567890
is_activebooleanRequired

Whether the workspace configuration is active

Example: true
created_atstringRequired

When the workspace was configured

Example: 2024-01-15T10:30:00Z
updated_atstringRequired

When the workspace was last updated

Example: 2024-01-15T10:30:00Z
created_bystringRequired

Email of the user who configured the workspace

Example: [email protected]
has_bot_tokenbooleanRequired

Whether a bot token is configured (token value not exposed)

Example: true
has_app_tokenbooleanRequired

Whether an app token is configured (token value not exposed)

Example: true
has_signing_secretbooleanRequired

Whether a signing secret is configured (value not exposed)

Example: true
get
/sfp/api/slack/workspaces

Last updated