aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-05-30 19:22:43 +0200
committergrunfink <grunfink@comam.es>2025-05-30 19:22:43 +0200
commite41e5974c7943f1eb02497051ce5e8d5c5b40aed (patch)
treecd1f8f1879f638456e3f2dd244bd7501a411a0ec /doc
parentffc7e52c6679d6cfeaa0567941cf803351031dcd (diff)
Updated documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.18
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/snac.1 b/doc/snac.1
index a1139db..d9eea5d 100644
--- a/doc/snac.1
+++ b/doc/snac.1
@@ -410,6 +410,14 @@ You can obtain an API Token by connecting to the following URL:
https://$SNAC_HOST/oauth/x-snac-get-token
.Ed
.Pp
+.Ss Webhook for notifications
+Since version 2.78, users can set the URL to a webhook that will receive
+an HTTP POST with every notification (in JSON format). This can be used to
+implement some automation whenever a new activity happens. The
+.Pa examples/
+subdirectory contains a tiny Python program that implements an auto-follower
+for every new follow.
+.Pp
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It SNAC_BASEDIR