All Collections
Our Command-line Tool
Using the command-line tool
How to configure the command-line client to send webhooks
How to configure the command-line client to send webhooks

Set up webhooks to get messages about events.

Updated over a week ago

You can configure the Jottacloud command-line client to send simple webhooks.

This allows jottad to post messages when something important happens. jottad  currently sends the following messages:

  • When jottad  starts

  • When jottad  stops

  • A status message at custom intervals

We have only implemented a couple of webhook messages initially, but we will add more eventually. We would love to hear your suggestions.

What is a webhook

Webhooks are a simple way to post messages to external sources, like Slack, from jottad.  They make use of normal HTTP requests with a JSON payload that includes the message text and some options.

jottad  sends messages with rich formatting in Slack format.

How to add a Webhook URL

To add a webhook URL to jottad , simply use the webhook add command:

jotta-cli webhook add [your url] 

A message will be sent immediately that let you check if everything was received on the other end.

Status information from jottad will be sent every 6 hours by default. The status interval can be customized with the following command:

jotta-cli config set webhookstatusinterval [value] 

[value] must conform to time duration as specified below:

 E.g. 10m, 6h, 5h30m

How to remove Webhook URL

To remove a webhook URL from jottad , simply use the webhook rem command:

jotta-cli webhook rem [your url] 

jottad will no longer post messages to the URL.

Did this answer your question?