v1

latestOpenAPI 3.0.02026-07-2483164186.3 KB
Broadcast Groups

Add members to a group

Adds members to an existing group

post/groups/add-members

Request body

groupIdstring required

The ID of the group to add members to

Example request

{
  "groupId": "group_xyz",
  "members": [
    {
      "name": "Name",
      "phone": "919999999999"
    }
  ]
}

Response

OK

createdMembersstring[] required

List of members that were successfully added

membersAlreadyPresentstring[] required

List of phone numbers of members that were already in the group

groupIdstring required

The ID of the group that members were added to

Example response

{
  "invalidMembers": [
    {
      "name": "Name",
      "phone": "919999999999"
    }
  ],
  "groupId": "group_inpkqRL8G2"
}