Replies: 1 comment 11 replies
-
Checking the logs i found out that there's actually a way to do this as there's a relationship between the link deviceLinkUri > [account ID? MAster's device ID?] > [Phone Number!] as the logs suggest: | time="2025-01-26T22:32:59Z" level=debug msg="json-rpc command: {"jsonrpc":"2.0","method":"finishLink","id":"[account ID? Master's device ID?]","params":{"deviceLinkUri":"sgnl://linkdevice?uuid=---------------pub_key=---------------","deviceName":"signal-api"}}" | time="2025-01-26T22:33:10Z" level=debug msg="json-rpc received data: {"jsonrpc":"2.0","result":{"number":"[Phone Number!]"},"id":"[account ID? Master's device ID?]"}\n" So I was wondering if I need to fork the project or this could be implemented as a Plugin. The idea is to receive (Maybe through Web Socket?) the data from the account that used the 'deviceLinkUri' (QR link). |
Beta Was this translation helpful? Give feedback.
-
Hi,
When linking a new device through a QR code with /v1/qrcodelink, the account appears in the list of added accounts(/v1/accounts). However, I'm unsure how to specifically identify the account just linked, especially if multiple accounts are being registered simultaneously. Is there a way to return the newly linked account's details, possibly using the UUID from the QR code, to avoid collisions or errors?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions