Platform APIEnterprise
List conversation groups
Get a user's conversation groups and their synchronization version. This endpoint is available only in OpenIM Enterprise.
HTTP request
POST {API_ADDRESS}/conversation/get_conversation_groupsRequest example
curl --request POST "${API_ADDRESS}/conversation/get_conversation_groups" \
--header "Content-Type: application/json; charset=utf-8" \
--header "operationID: ${OPERATION_ID}" --header "token: ${TOKEN}" \
--data-raw '{"ownerUserID":"user_001","maxVersion":1}'Request body
| Parameter | Required | Type | Description |
|---|---|---|---|
| ownerUserID | Yes | string | User who owns the groups. |
| maxVersion | No | Int64Value | Highest group version already known by the caller. |
Response
| Property | Type | Description |
|---|---|---|
| data.groups | ConversationGroup[] | Group records. See ConversationGroup. |
| data.maxVersion | int | Highest version represented by this result. |
| data.full | bool | Whether the result is a full snapshot. |
Errors
See Error codes.
Permissions and limits
- Available only in OpenIM Enterprise.
- Treat
fullandmaxVersionas synchronization metadata; do not infer a full snapshot from an empty array alone.
Related pages
Was this page helpful?