Install Slack integration

Install or upsert a Slack app integration for the authenticated owner, writing bot token and signing secret into the secret store.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
botTokenstringRequired>=1 character
signingSecretstringRequired>=1 character
teamIdstringRequired>=1 character
appIdstringOptional>=1 character
botUserIdstringOptional>=1 character
enterpriseIdstringOptional>=1 character
enterpriseNamestringOptional>=1 character
integrationIdstringOptional>=1 character
isEnterpriseInstallbooleanOptional
scopeslist of stringsOptional
surfaceIdstringOptional>=1 character
teamNamestringOptional>=1 character

Response

Slack integration installed
createdboolean
integrationIdstring

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error