Menu

Help Center

Intro to Webhooks

Follow

Comments

62 comments

  • Avatar
    Chew (Edited )

    This guide will be the most useful thing ever once it's ready. Anticipating its release. 

  • Avatar
    Belldandu (Edited )

    Will i be able to use these with youtube and twitch?

    -17
  • Avatar
    RB Gaming

    anyone know what a webhook dose? 

    -26
  • Avatar
    ⚡𝐓𝐆⚡Thorium⚡

    Uh...what are webhooks, and what do they do?

    -10
  • Avatar
    RB Gaming

    @⚡𝐓𝐆⚡Thorium⚡ i wish they would hurry up and add the "article's" soon so we know. i think its kinda like an rss feed but i'm not sure. all i know is its used to post something into text chat

     

  • Avatar
    Chew

    Webhooks are for developers, used in programs such as GitHub. If you do not know what webhooks are or where to use them, you can safely ignore this article.

  • Avatar
    RB Gaming

    it says "Webhooks are a low-effort way to post messages to channels in Discord. They do not require a bot user or authentication to use." so i am interested in it because i would like some sort of rss bot that will post a link every time i upload a video  

  • Avatar
    Permanently

    When's the article coming? e_e

  • Avatar
    !Venus ๖ۣۜ☯༻

    I was able to study a bit of these and figured that these may be a way of connecting to a channel in discord using an account (Webhook) using websites.

  • Avatar
    Cilantrelle

    Hey everyone! Sorry for the delay on the article. First example and explanation is up now, but I've got a few more examples planned for this week. Thanks for your patience! =]

  • Avatar
    Drflash55

    Nice.

    Glad to see there's a way to have a bot automatically send updates from GitHub whenever there's a new update.

  • Avatar
    FAERYL

    Is there a way to tell what sites have the ability to use Webhooks? Or is that something we'd need to ask the web master of each site?

  • Avatar
    Cilantrelle

    @Faeryl For the time being, it's website / service specific. Anything that's slack compatible will be able to be used in Discord, if you append /slack to the end of the Discord webhook URL. I promise that'll be updated soon. =]

  • Avatar
    rce

    This is awesome feature!

    We just started using the Slack-like webhook to post new YouTube videos to our channels. It's simple and maybe even more importantly an affordable solution since it's just a Lambda on AWS accepting Google's push notifications (https://developers.google.com/youtube/v3/guides/push_notifications) and forwarding them to Discord (with a little logic to avoid duplicate links). I just wish more services would offer push notifications.

    I might actually write up a post about how to get any similar HTTP push notification/webhook into Discord using a Lambda.

  • Avatar
    Cilantrelle

    @rce that's awesome! I'm looking to add more tutorials for cool webhook applications in the future, yours is definitely a cool idea.

  • Avatar
    Chilace (Edited )

    @rce [quote]I might actually write up a post about how to get any similar HTTP push notification/webhook into Discord using a Lambda.[/quote]

    it would be great

    @Cilantrelle It seems that you forgot to update the developers docs at https://discordapp.com/developers/docs/intro with this PR https://github.com/hammerandchisel/discord-api-docs/pull/143

  • Avatar
    Cilantrelle

    @Chilace Actually not up to me, we're just waiting for the engineering team to get those docks merged. =]

  • Avatar
    Zyme

    Please add Bitbucket support.

  • Avatar
    Howl

    This is just plain amazing! Developing stuff and using Discord to communicate with other members of the team made this so much better!

    In case there's any developer using Gogs out there:

    1. Of course, create the hook on your Discord server and copy the link
    2. Create a webhook (if you have an organisation, it might be good to add it to the organisation itself so it gets automatically attached to all its repos)
    3. Fill it like this:
      (of course, change the payload URL and the icon url)

    4. Add `/slack` at the end of the payload URL! This is very important to make everything work!
    5. Make a test commit to check everything's working, and then boom! Everything should be working perfectly!
  • Avatar
    hugo (Edited )

    I would love to see support for GitLab webhooks - they're quite similar to GitHub's. The documentation for the payloads is here: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md

  • Avatar
    Alex

    Article should be renamed to "Using Webhooks with GitHub". From a developers perspective, this doesn't explain anything about what parameters are expected, or anything like that.

  • Avatar
    Cilantrelle

    @Alex fair enough. The article is still a bit WIP, but the developer docs are where you'd want to go for that kind of information.

  • Avatar
    Alex

    @Cilantrelle Fair point. Sorry if that came off as aggressive, I was a little antsy to try this new feature! @hugo linked the documentation. 

  • Avatar
    Foenix

    Why you don't use this feature for rss news feed. At least it could be used by anyone except devs.

  • Avatar
    Cilantrelle

    @Foenix there's a handy tool called Zapier that can incorporate RSS feeds. Will have this updated soon!

  • Avatar
    Metamatsu | メタ松

    @Cilantrelle Is this possible with a subreddit? Like when a new thread is posted?

  • Avatar
    Cilantrelle

    @Metamatsu yup! Zapier is your friend here too. 

  • Avatar
    Carisus

    Anyone have an idea on how I can configure this with Bitbucket

  • Avatar
    Chilace

    @Carisus Try the above instructions by Howl:
    https://support.discordapp.com/hc/en-us/articles/228383668/comments/208269328

  • Avatar
    YandolsZX

    Does this work on gantt chart applications like Kanboard? I have a project tracker running on Kanboard and would like to know it if can mirror updates to my discord server.

Article is closed for comments.