signal-cli-rest-api
signal-cli-rest-api copied to clipboard
issue with sending a message to groups
The problem
when I copy paste the instruction from the API documentation to send a message to a group by doing curl -X POST -H "Content-Type: application/json" -d '{"message": "test 123", "number": "+YYYYYYY", "recipients": ['MYGROUP']}' 'http://127.0.0.1:8091/v2/send' I get invalid request {"error":"Couldn't process request - invalid request"}
Are you using the latest released version?
- [X] Yes
Have you read the troubleshooting page?
- [X] Yes
What type of installation are you running?
signal-cli-rest-api Docker Container
In which mode are you using the docker container?
Normal Mode
What's the architecture of your host system?
x86-64
Additional information
No response
Please use a double quote (") instead of a single quote (') when specifying the group.
I'm able to reproduce this issue on ARM (Mac) using the latest docker image (v0.91) as of this writing:
curl -X POST -H "Content-Type: application/json" -d '{"message": "test 123", "number": "+1555######", "recipients": ["group.longAlphanumericGroupStringHere"]}' 'http://127.0.0.1:8080/v2/send'
It returns the timestamp JSON object {"timestamp":"1737500552073"}, (emulating success) but does not deliver the group message. As a sanity check of my configuration, I am able to send messages to individual users, create groups, and list groups.
I have this same issue as well. It works on individual numbers but not on group IDs.
I'm able to reproduce this issue on ARM (Mac) using the latest docker image (v0.91) as of this writing:
curl -X POST -H "Content-Type: application/json" -d '{"message": "test 123", "number": "+1555######", "recipients": ["group.longAlphanumericGroupStringHere"]}' 'http://127.0.0.1:8080/v2/send'It returns the timestamp JSON object
{"timestamp":"1737500552073"}, (emulating success) but does not deliver the group message. As a sanity check of my configuration, I am able to send messages to individual users, create groups, and list groups.
Ditto - seem to be able to do most tasks except DM groups. This was previously working fine too (yesterday).