Отправить текст в группу
POST
/waInstance{{idInstance}}/sendMessage/{{apiTokenInstance}}Документация SendMessage
Request
Header Params
User-Agent
string
required
Example:
GREEN-API_POSTMAN/1.0
Body Params application/json
chatId
string
required
message
string
required
Example
{
"chatId": "123456789012345678@g.us", // Может иметь вид:XXXXXXXXXXXXXXXXXX@g.us или XXXXXXXXXXX-XXXXXXXXXXX@g.us
"message": "test"
}
Request samples
Responses
sendMessage(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
idMessage
string
required
ExamplesendMessage
{
"idMessage": "3EB0C767D097B7C7C030"
}
Last modified: 19 days ago