-
-
Notifications
You must be signed in to change notification settings - Fork 310
JSON RPC service
Sebastian Scheibner edited this page Sep 1, 2023
·
5 revisions
signal-cli provides a JSON-RPC based API with the jsonRpc
and daemon
commands.
-
jsonRpc
command accepts input on STDIN and responds on STDOUT. This is intended to make it easier to embed signal-cli in other applications.signal-cli -a _ACCOUNT_ jsonRpc
or for multi-account modesignal-cli jsonRpc
-
daemon
command provides a UNIX or TCP socket and can handle requests from multiple clients.signal-cli -a _ACCOUNT_ daemon --socket
or for multi-account modesignal-cli daemon --socket
See the corresponding man page for more information.