I am trying to set up Home Assistant to work with Signal messenger. I am following the directions from signal-cli-rest-api/doc/HOMEASSISTANT.md at cdf710544e436adbe1ed5c8114656c278444fd18 · bbernhard/signal-cli-rest-api · GitHub. I was able to do the add-on and start the listener process. When I try to register my phone number using curl -X POST -H “Content-Type: application/json” --data ‘{“use_voice”: false}’ ‘http://:/v1/register/’
It tells me I a captcha is required.
I then follow the steps to get a captcha link. I put the captcha into the following curl statement:
curl -X POST -H “Content-Type: application/json” -d ‘{“captcha”:“signalcaptcha://signal-hcaptcha-short.5fad97ac-7d06-4e44-b18b-c556b20148ff.registration.4o_23jhtgjr30QnHSqCd2atQ”, “use_voice”: false}’ ‘http://55.55.55.55:8080/v1/register/+13335557777’
When I do this I get the following error:
{“error”:“Failed to register: [403] Authorization failed! (AuthorizationFailedException)”}#
The REST API appears to be working:
➜ ~ curl http://127.0.0.1:8080/v1/about
{“versions”:[“v1”,“v2”],“build”:2,“mode”:“json-rpc”,“version”:“0.93”,“capabilities”:{“v2/send”:[“quotes”,“mentions”]}}#
I have no idea what to try next to get a valid registration.
Any help is greatly appreciated.