Create group
POST
/waInstance{{idInstance}}/createGroup/{{apiTokenInstance}}Documentation 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": "11001234567-1587570015@g.us",
"groupInviteLink": "https://chat.whatsapp.com/xxxxxxxxxxxxxxxxxxxxxx"
}
Last modified: 19 days ago