---
title: "GET /api/channels/{channelId}"
method: GET
path: "/api/channels/{channelId}"
tags: ["channels"]
---

# GET /api/channels/{channelId}

`GET /api/channels/{channelId}`

Retrieve a channel by ID

## Path parameters

- `channelId` string, required — The ID of the channel

## Response `200`

Retrieve a list of channels

- object
  - `id` string, required
  - `createdAt` string, nullable, required
  - `updatedAt` string, nullable, required
  - `owner` string, required — Hex format string, e.g. `0x1234567890abcdef`
  - `name` string, required
  - `description` string, required
  - `metadata` object[], required
    - `key` string, required — Hex format string, e.g. `0x1234567890abcdef`
    - `value` string, required — Hex format string, e.g. `0x1234567890abcdef`
  - `hook` string, nullable, required — Hex format string, e.g. `0x1234567890abcdef`
  - `chainId` integer, required

## Other responses

- `400` — Bad request
- `404` — Channel not found

---

[API](https://skmtc.dev/ethcomments/apis/ethereum-comments-protocol-indexer-api.md) · [All operations](https://skmtc.dev/ethcomments/apis/ethereum-comments-protocol-indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ethcomments/ethereum-comments-protocol-indexer-api/revisions/fc5aae1cdc03/schema)
