Get a single Group

GET via groupId

Get a single Group object by id

Parameter

Accessible via URL https://api.channel.io/open/v4/groups/{groupId} and HTTP GET

Example

GET https://api.channel.io/open/v4/group/1234

๐Ÿ“˜

This method accepts application/json

ParameterExampleRequiredDescriptionParameter Type
groupId1234RequiredId of Group objectPath

Get via groupName

Get a single Group object by name

Parameter

Accessible via URL https://api.channel.io/open/v4/group/@{groupName} and HTTP GET

Example

GET https://api.channel.io/open/v4/group/@justGroup

๐Ÿ“˜

This method accepts application/json

ParameterExampleRequiredDescriptionParameter Type
groupNamejustGroupRequiredName of Group objectPath

Response

Returns a Group object with additional information.

{
  "managers": [
    {
      "id": "string",
      "channelId": "string",
      "accountId": "string",
      "username": "string",
      "name": "string",
      "description": "string",
      "email": "string",
      "mobileNumber": "string",
      "role": "owner",
      "removed": true,
      "createdAt": 1624422361892,
      "defaultGroupWatch": "all",
      "defaultDirectChatWatch": "all",
      "defaultUserChatWatch": "all",
      "operatorScore": 0,
      "touchScore": 0,
      "avatar": {
        "bucket": "string",
        "key": "string",
        "width": 0,
        "height": 0
      },
      "operatorEmailReminder": true,
      "operator": true,
      "operatorScheduling": true,
      "operatorTimeRanges": {
        "timeRanges": [
          {
            "dayOfWeeks": [
              "mon"
            ],
            "from": 0,
            "to": 0
          }
        ]
      },
      "avatarUrl": "string",
      "managerId": "string"
    }
  ],
  "onlines": [
    {
      "channelId": "string",
      "personType": "string",
      "personId": "string",
      "id": "string"
    }
  ],
  "bookmark": {
    "key": "string",
    "chatId": "string",
    "chatKey": "string",
    "bookmarkKey": "string",
    "channelId": "string",
    "version": 0,
    "chatType": "string",
    "personType": "string",
    "personId": "string"
  },
  "session": {
    "key": "string",
    "chatId": "string",
    "chatKey": "string",
    "updatedKey": "string",
    "unreadKey": "string",
    "channelId": "string",
    "alert": 0,
    "unread": 0,
    "watch": "all",
    "readAt": 1624422354163,
    "receivedAt": 1624422354163,
    "postedAt": 1624422354163,
    "updatedAt": 1624422354079,
    "createdAt": 1624422354055,
    "version": 0,
    "id": "string",
    "chatType": "string",
    "personType": "string",
    "personId": "string"
  },
  "group": {
    "id": "string",
    "channelId": "string",
    "name": "string",
    "scope": "all",
    "managerIds": [
      "string"
    ],
    "icon": "string",
    "description": "string",
    "createdAt": 1624422348044,
    "updatedAt": 1624422348044,
    "active": true
  }
}