Создать группу
POST
/waInstance{{idInstance}}/createGroup/{{apiTokenInstance}}Документация CreateGroup
Request
Body Params application/json
groupName
string
required
chatIds
array[string]
required
Example
{
"groupName": "Group created by Green API",
"chatIds": [
"79001234568@c.us",
"79001234569@c.us"
]
}
Request samples
Responses
createGroup(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
created
boolean
required
chatId
string
required
groupInviteLink
string
required
ExamplecreateGroup
{
"created": true,
"chatId": "79001234567-1587570015@g.us",
"groupInviteLink": "https://chat.whatsapp.com/XXXXXXXXXXXXXXXXXXXXXX"
}
Last modified: 18 days ago