summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:
410https://$SNAC_HOST/oauth/x-snac-get-token 410https://$SNAC_HOST/oauth/x-snac-get-token
411.Ed 411.Ed
412.Pp 412.Pp
413.Ss Webhook for notifications
414Since version 2.78, users can set the URL to a webhook that will receive
415an HTTP POST with every notification (in JSON format). This can be used to
416implement some automation whenever a new activity happens. The
417.Pa examples/
418subdirectory contains a tiny Python program that implements an auto-follower
419for every new follow.
420.Pp
413.Sh ENVIRONMENT 421.Sh ENVIRONMENT
414.Bl -tag -width Ds 422.Bl -tag -width Ds
415.It SNAC_BASEDIR 423.It SNAC_BASEDIR