---
source_url: https://www.pubnub.com/docs/chat/kotlin-chat-sdk/build/features/channels/details
title: Get channel details
updated_at: 2026-06-15T12:11:30.491Z
---

> Documentation Index
> For a curated overview of PubNub documentation, see: https://www.pubnub.com/docs/llms.txt
> For the full list of all documentation pages, see: https://www.pubnub.com/docs/llms-full.txt


# Get channel details

Fetch a specific [channel's](https://www.pubnub.com/docs/chat/kotlin-chat-sdk/learn/chat-entities/channel) metadata with `getChannel()`.

:::note Requires App Context
Enable [App Context](https://youtu.be/9UEoSlngpYI) for your keyset in the [Admin Portal](https://admin.pubnub.com/).
:::

### Method signature

This method takes the following parameters:

```kotlin
chat.getChannel(channelId: String): PNFuture<Channel?>
```

#### Input

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| channelId | String | Yes |  | Unique channel identifier (up to 92 UTF-8 byte sequences). |

#### Output

| Type | Description |
| --- | --- |
| `PNFuture<Channel?>` | `PNFuture` containing the channel object with its metadata, or `null` if not found. |

### Sample code

Fetch the `support` channel metadata.

```kotlin
chat.getChannel("support").async { result ->
    result.onSuccess {
        // handle success
    }.onFailure {
        // handle failure
    }
}
```