---
title: "Get channel type"
method: GET
path: "/channeltypes/{name}"
tags: ["product:chat"]
---

# Get channel type

`GET /channeltypes/{name}`

Gets channel type

## Path parameters

- `name` string, required — Channel type name

## Response `200`

Response

- GetChannelTypeResponse, nullable — Basic response information
  - `allowed_flag_reasons` string[]
  - `automod` 'disabled' | 'simple' | 'AI', required
  - `automod_behavior` 'flag' | 'block' | 'shadow_block', required
  - `automod_thresholds` Thresholds — Sets thresholds for AI moderation
    - `explicit` LabelThresholds
      - `block` number, float — Threshold for automatic message block
      - `flag` number, float — Threshold for automatic message flag
    - `spam` LabelThresholds
      - `block` number, float — Threshold for automatic message block
      - `flag` number, float — Threshold for automatic message flag
    - `toxic` LabelThresholds
      - `block` number, float — Threshold for automatic message block
      - `flag` number, float — Threshold for automatic message flag
  - `blocklist` string
  - `blocklist_behavior` 'flag' | 'block' | 'shadow_block'
  - `blocklists` BlockListOptions[]
    - `behavior` 'flag' | 'block' | 'shadow_block', required — Blocklist behavior. One of: flag, block, shadow_block
    - `blocklist` string, required — Blocklist name
  - `chat_preferences` ChatPreferences
    - `channel_mentions` string
    - `default_preference` string
    - `direct_mentions` string
    - `distinct_channel_messages` string
    - `group_mentions` string
    - `here_mentions` string
    - `role_mentions` string
    - `thread_replies` string
  - `commands` Command[], required
    - `args` string, required — Arguments help text, shown in commands auto-completion
    - `created_at` string, date-time — Date/time of creation
    - `description` string, required — Description, shown in commands auto-completion
    - `name` string, required — Unique command name
    - `set` string, required — Set name used for grouping commands
    - `updated_at` string, date-time — Date/time of the last update
  - `connect_events` boolean, required
  - `count_messages` boolean, required
  - `created_at` string, date-time, required
  - `custom_events` boolean, required
  - `delivery_events` boolean, required
  - `duration` string, required — Duration of the request in milliseconds
  - `grants` object, required
  - `mark_messages_pending` boolean, required
  - `max_message_length` integer, required
  - `message_retention` string, required
  - `mutes` boolean, required
  - `name` string, required
  - `partition_size` integer
  - `partition_ttl` string, duration, nullable
  - `permissions` PolicyRequest[], required
    - `action` 'Deny' | 'Allow', required
    - `name` string, required — User-friendly policy name
    - `owner` boolean, required — Whether policy applies to resource owner or not
    - `priority` integer, required — Policy priority
    - `resources` string[], required — List of resources to apply policy to
    - `roles` string[], required — List of roles to apply policy to
  - `polls` boolean, required
  - `push_level` 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none'
  - `push_notifications` boolean, required
  - `quotes` boolean, required
  - `reactions` boolean, required
  - `read_events` boolean, required
  - `reminders` boolean, required
  - `replies` boolean, required
  - `search` boolean, required
  - `shared_locations` boolean, required
  - `skip_last_msg_update_for_system_msgs` boolean, required
  - `typing_events` boolean, required
  - `updated_at` string, date-time, required
  - `uploads` boolean, required
  - `url_enrichment` boolean, required
  - `user_message_reminders` boolean, required

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

[API](https://skmtc.dev/getstream/apis/stream-api.md) · [All operations](https://skmtc.dev/getstream/apis/stream-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getstream/stream-api/revisions/653d3d10a523/schema)
