group
create group
Creates a new group with specified name and participants
post/instances/{id}/client/action/create-group
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/create-group
- Auth: HTTP bearer
Path parameters
idinteger required
Instance ID of the client
Request body
Example request
{
"groupName": "My Group Name",
"groupParticipants": [
"123456789@c.us",
"123456789012345@lid"
]
}Response
Request reached the instance. data.status reports whether the action was carried out; on error data carries message and explanation. Payload: Group created successfully.
Example response
{
"status": "success",
"data": {
"status": "success",
"data": {
"title": "My Group Name",
"gid": {
"server": "g.us",
"user": "123456789123456789",
"_serialized": "123456789123456789@g.us"
},
"participants": {
"123456789@c.us": {
"statusCode": 200,
"message": "The participant was added successfully",
"isGroupCreator": false,
"isInviteV4Sent": false
}
}
}
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/create-group"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.