How to Create a Group to Send Messages
Group chats let you message several people in one conversation. Here’s how to create a group and send messages in it.
In the app (UI)
- Log in and open Messages.
- Start a new conversation (e.g. “New message” or “New chat”).
- Choose Create group or New group (wording may vary).
- Enter a group name (e.g. “Project Team”).
- Optionally add a description.
- Add members: Search and select the people you want in the group, then confirm.
- Create the group. You’ll enter the group chat; type and send messages as in a direct chat. Everyone in the group will see the messages.
To add or remove members later, open the group and use the group options/settings (e.g. “Add members”, “Leave group”).
Via the API
Create a group:
POST /api/Chat/groups
Authorization: Bearer {token}
Content-Type: application/json
{
"name": "Project Team",
"description": "Team discussion for the project",
"memberIds": ["user-id-1", "user-id-2", "user-id-3"],
"avatar": "optional-avatar-url"
}
Send a message in the group:
Use the same message API with the group’s conversationId (or the endpoint that accepts a conversation ID). See Messaging feature for sending to a conversation.
Add members later:
POST /api/Chat/groups/{conversationId}/participants
Authorization: Bearer {token}
Content-Type: application/json
{ "memberIds": ["user-id-4", "user-id-5"] }
Leave group: Use the leave endpoint (e.g. POST /api/Chat/conversations/{conversationId}/leave or as documented).
Next steps
- Send a message — one-on-one chat
- Messaging feature — groups and API
- Tutorials intro