mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-01-27 19:03:36 +00:00
5
JSON RPC service
Sebastian Scheibner edited this page 2023-09-01 12:13:26 +02:00
signal-cli provides a JSON-RPC based API with the jsonRpc and daemon commands.
-
jsonRpccommand 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_ jsonRpcor for multi-account modesignal-cli jsonRpc -
daemoncommand provides a UNIX or TCP socket and can handle requests from multiple clients.signal-cli -a _ACCOUNT_ daemon --socketor for multi-account modesignal-cli daemon --socket
See the corresponding man page for more information.