Channels

post/api/v1/channels/discord/connect

Request body

botTokenstring required
appIdstring required
guildIdstring
guildNamestring

Response

Connected discord channel

idstring required
botIdstring required
channelType'slack' | 'discord' | 'feishu' | 'dingtalk' | 'wecom' | 'wechat' | 'telegram' | 'whatsapp' | 'qqbot' required
accountIdstring required
status'pending' | 'connected' | 'disconnected' | 'error' required
teamNamestring nullable required
appIdstring nullable
botUserIdstring nullable
createdAtstring required
updatedAtstring required

Changes

Changed in 5 of the 31 revisions of this API.616

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the new dingtalk enum value to the response property for the response status

      response-property-enum-value-added

    • added the new qqbot enum value to the response property for the response status

      response-property-enum-value-added

    • added the new wecom enum value to the response property for the response status

      response-property-enum-value-added

    • added the new telegram enum value to the response property for the response status

      response-property-enum-value-added

    • added the new whatsapp enum value to the response property for the response status

      response-property-enum-value-added

    • added the new wechat enum value to the response property for the response status

      response-property-enum-value-added

    • added the non-success response with the status

      response-non-success-status-added

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • removed the dingtalk enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the qqbot enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the telegram enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the wechat enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the wecom enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the whatsapp enum value from the response property for the response status

      response-property-enum-value-removed