bbernhard / signal-cli-rest-api

Dockerized Signal Messenger REST API
https://bbernhard.github.io/signal-cli-rest-api/
MIT License
1.35k stars 158 forks source link

issue with sending a message to groups #603

Open jonabert opened 2 weeks ago

jonabert commented 2 weeks ago

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?

Have you read the troubleshooting page?

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

bbernhard commented 2 weeks ago

Please use a double quote (") instead of a single quote (') when specifying the group.