Setting up Webhooks with Particle CLI and Particle Console?

Please please please find a way to set up web hooks without using the CLI. I have spent days trolling through the forums trying everything and still get “-bash: particle: command not found”. Surely this is Particle’s problem to fix? Such a great device, performs beautifully, but getting push notifications from it is a nightmare.

It doesn’t sound like you have particle-cli installed.

Also, you can create webhooks in

Thank you @nrobinson2000 but I have installed it, there seems to be a permissions or path problem with node or ruby ?

Last login: Tue Jan 23 09:41:29 on console
RaysMacBookPro-8:~ Ray$ bash <( curl -sL )
Installing the Particle CLI to /Users/Ray/bin/particle

Welcome to the Particle Command line utility!
Version 1.27.1

Usage: particle <command_name> <arguments> 
Common Commands:

    setup, list, call, get, device, identify, flash, subscribe
    compile, monitor, login, logout, help, library

Less Common Commands:
    token, binary, cloud, config, doctor, function, keys
    serial, udp, update, variable, webhook, wireless

For more information Run: particle help <command_name>

Get started by running "particle login"
If that doesn't work, open a new terminal and make sure /Users/Ray/bin is in your shell path.
If you previously installed the CLI with npm, run "npm uninstall -g particle-cli"
RaysMacBookPro-8:~ Ray$ particle login
-bash: particle: command not found

It looks like the installer you used put the particle binary in this directory. Make sure it’s in your $PATH.

I would also suggest trying po-util. It’s a tool I’ve been working on for almost two years that does a very good job at installing particle-cli, dfu-util, and the local toolchain on Mac and Linux. It also has helper tools for building projects with the local toolchain and quickly flashing over usb, a library manager, and more.

You can get it with:

$ bash <(curl -sL

I get these results which I am asked to report to you:

Warning: Calling <<-EOS.undent is deprecated!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/nrobinson2000/homebrew-po/po.rb:37:in `caveats'
Please report this to the nrobinson2000/po tap!

Warning: Calling <<-EOS.undent is deprecated!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/nrobinson2000/homebrew-po/po.rb:37:in `caveats'
Please report this to the nrobinson2000/po tap!

You asked

But have you also read this part of @nrobinson2000’s post

So, yes there already is a way without CLI installed.

1 Like

Yes thank you @ScruffR , I have immediately installed po-util but got some errors.

I haven’t seen this error before, and its likely a problem with brew. I’ll see what I can do.

I think this warning can be safely ignored.

@ScruffR and @nrobinson2000 I’ve managed to create what I wanted using particle integrations, thank you both. I am still very interested in po-util though, so please let me know if you find an answer to the deprecation.


I’ve sent you a private message about po-util to help keep this thread focused on webhooks.