commit e41e597
grunfink
·
2025-05-30 17:22:43 +0000 UTC
parent ffc7e52
Updated documentation.
1 files changed,
+8,
-0
+8,
-0
1@@ -410,6 +410,14 @@ You can obtain an API Token by connecting to the following URL:
2 https://$SNAC_HOST/oauth/x-snac-get-token
3 .Ed
4 .Pp
5+.Ss Webhook for notifications
6+Since version 2.78, users can set the URL to a webhook that will receive
7+an HTTP POST with every notification (in JSON format). This can be used to
8+implement some automation whenever a new activity happens. The
9+.Pa examples/
10+subdirectory contains a tiny Python program that implements an auto-follower
11+for every new follow.
12+.Pp
13 .Sh ENVIRONMENT
14 .Bl -tag -width Ds
15 .It SNAC_BASEDIR