> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sublay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Group Conversation

> Create a new multi-member group conversation

Creates a group conversation. The caller is automatically added as an `admin`. All provided `memberIds` are validated to belong to the project and added as `member`.

## Body Parameters

**type** `string` *required*

Must be `"group"`.

**name** `string`

Display name of the conversation. Maximum 200 characters. Optional.

**description** `string`

Optional description for the conversation. Maximum 1000 characters.

**memberIds** `string[]`

Array of user IDs to add to the conversation. Defaults to `[]`. The caller's own ID is ignored if included — they are always added as admin. All IDs must belong to the same project.

**metadata** `object`

Custom key-value data to attach to the conversation. Optional.

## Response

Returns the created [Conversation](https://docs.sublay.io/v7/data-models/conversation.md) object with HTTP `201`.

## Error Responses

> [accordion] Invalid Member — 400 Bad Request
>
> ```json theme={null}
> { "error": "User 'abc' does not belong to this project.", "code": "chat/invalid-member" }
> ```
>
> One or more provided user IDs do not exist in this project.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.