Can slack incoming webhooks post message to all private groups?

19,062

Incoming webooks can post to private groups. When you set up the incoming webhook at https://TEAM.slack.com/services/new/incoming-webhook, choose the private group you want to send to.

You can send to a different channel (including a different private group) with the "channel" JSON key.

A single incoming webhook cannot send to multiple destinations.

Share:
19,062

Related videos on Youtube

Matias Cubero
Author by

Matias Cubero

Updated on October 21, 2020

Comments

  • Matias Cubero
    Matias Cubero over 3 years

    I was searching if slack incoming webhooks can send message to all private groups, but I didn't find any slack documentation on that.

    So, can slack incoming webhooks send message to all private groups?

  • Julian B.
    Julian B. over 8 years
    A single incoming webhook cannot send to multiple destinations. Is this still the case?
  • Merlin83b
    Merlin83b about 8 years
    It is. The channel JSON key is a single string, not an array of channels to send the message to.
  • Konstantin Suvorov
    Konstantin Suvorov over 6 years
    Not to multiple destinations at once, but you can set different channel value for different hook calls.
  • Erik Kalkoken
    Erik Kalkoken over 5 years
    Note that there are two types of "incoming webhook" now. The default type is create as part of a Slack app, and the legacy type needs to be installed as app from the Slack App Directory. Only the legacy type supports multiple destinations.
  • OrangeDog
    OrangeDog over 5 years
    But can you still sent to a private channel, even if you didn't select it during setup?
  • Levi Putna
    Levi Putna almost 4 years
    Does the person creating the webhook need to be a member of the private channel?
  • Cristiano Santos
    Cristiano Santos over 3 years
    @LeviPutna If the user is not a member of the channel, the webhook fails with an error of "channel_not_found"

Related