Отправить текст
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": "7123456789@c.us",
"message": "I use Green-API to send this message to you!"
}
Request samples
Responses
sendMessage(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
idMessage
string
required
ExamplesendMessage
{
"idMessage": "3EB0C767D097B7C7C030"
}
Last modified: a month ago