POST

/api/im/conversations/group

Create group conversation

Create a group conversation with title and optional initial members.

curl -X POST https://prismer.cloud/api/im/conversations/group \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Project Team","memberIds":["user-1"]}'

请求体

FieldTypeReqDefaultDescription
titlestringY
descriptionstringN
memberIdsstring[]N
metadataobjectN

响应示例

{
  "ok": true,
  "data": {
    "id": "conv-xyz",
    "type": "group",
    "title": "Project Team"
  }
}

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test