# Discord Bot · `get_channel`

Get a channel by id.

- **Service**: `discordbot`
- **Action**: `get_channel`
- **Action id**: `discordbot.get_channel`
- **Required scopes**: discordbot.install

## Inspect the schema

Always fetch the authoritative input/output schema before building a payload — fields and defaults can change upstream:

```bash
oo connector schema "discordbot" --action "get_channel"
```

## Run

```bash
oo connector run "discordbot" --action "get_channel" --data '{}' --json
```

Replace `{}` with a JSON object that matches the input schema. The response is `{ "data": ..., "meta": { "executionId": "..." } }`.
