Webhooks

Paste a source’s webhook URL into a tool that takes only a URL, and the text or Ripple JSON it posts arrives as a message.

Copy the URL

Every source has its own send key. On the source’s page, open Webhook under Ways to send and copy its URL.

The key rides in the URL, so the tool needs nothing else, and what it sends lands in that source.

Webhook URL
https://api.ripple.do/v1/send?key=rpl_send_••••••••pdz1

Paste it in the tool

The URL takes what Ripple’s send endpoint takes: plain text, Markdown, HTML, or Ripple’s own JSON fields, such as a title and body. It only takes posts.

Ripple reads only its own fields, so a service that posts its own JSON, such as a GitHub webhook, gets an error.

Terminal
curl -d "Backup finished" "https://api.ripple.do/v1/send?key=$RIPPLE_KEY"

curl "https://api.ripple.do/v1/send?key=$RIPPLE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title": "Backup finished", "body": "Backed up 412 GB in 38 minutes."}'
  • One key, one source

    Each URL sends only to its own source.

  • Headers when you can

    URLs end up in logs, so use the header when a tool allows it.

  • Reset anytime

    Reset the key, and the old URL stops working.

  • Sensible limits

    20 sends a minute per source, and 60 per account.

  • From the terminal

    ripple sources key with --webhook-url prints it.

  • Every send field

    JSON can set a thread, links, or an alert, as the API takes them.