{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Channels

Request a list of channels of a team. The response contains the channel ID and display name. The channel ID can be used for subsequent requests to fetch details and messages from the channel.

GET /api/cowork/teams/<teamID>/channels

Returns a list of channels available to the user in the following form:

[
    {
        "channelId":   "<ID of the channel>",
        "teamId":      "<ID of the team>",
        "displayName": "<Name of the channel>",
        "description": "<Description of the channel>"
    },
    ...
]
RESPONSE Fields Value Type Description
channelId String The GUID of the channel, used for details and further operations
teamId String The GUID of the team, in which this channel was created
displayName String The display name value of the channel, as displayed in the interface
description String The description of the channel, as displayed in the interface

Example Request

# Request
# Use user:password for authorization
GET /api/cowork/teams/3n1ytbwme7ngfyn9g9guwwurt/channels HTTP/1.1
Accept: */*
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
[
    {
        "channelId": "epmlsh7trr535mrs9z7xcfn1w",
        "teamId": "3n1ytbwme7ngfyn9g9guwwurt",
        "displayName": "First Level",
        "description": null,
    },
    {
        "channelId": "7x9brvwhsm3gi3xnl0otdk8y3",
        "teamId": "3n1ytbwme7ngfyn9g9guwwurt",
        "displayName": "Second Level",
        "description": null,
    }
]
i-net CoWork
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /channels