Skip to content

Team Integrations ​

Purpose ​

Send TendSocial notifications to Slack, Discord, or Microsoft Teams.

Data Model ​

  • Model: CompanyTeamChannelConnection
  • Fields: channelType, accessToken (encrypted), workspaceId, channels (JSON), notifySettings (JSON)

API Endpoints ​

MethodPathPurpose
GET/api/integrations/channelsList connections
POST/api/integrations/channels/connect/:typeStart OAuth/webhook
GET/api/integrations/channels/callback/:typeOAuth callback
GET/api/integrations/channels/:id/channelsList remote channels
PUT/api/integrations/channels/:id/settingsUpdate notification routing
DELETE/api/integrations/channels/:idDisconnect

Notification Types ​

  • newComment - New comments on posts
  • newDM - Direct messages
  • newMention - Brand mentions
  • approvalNeeded - Pending approvals
  • postPublished - Published posts
  • postFailed - Failed posts

Key Files ​

  • backend/src/routes/integrations/channels.ts
  • backend/src/infra/integrations/slack/
  • backend/src/infra/integrations/discord/
  • frontend/src/components/settings/IntegrationsSettings.tsx

TendSocial Documentation