> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moderationapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a channel

> Get a channel by ID. Needs the `channels:read` permission.



## OpenAPI

````yaml get /channels/{id}
openapi: 3.1.0
info:
  title: Moderation API
  description: API for automated content moderation
  version: 1.1.0
servers:
  - url: https://api.moderationapi.com/v1
security: []
tags:
  - name: Actions
  - name: Queues
  - name: Webhooks
  - name: Wordlist
  - name: UserReports
  - name: Projects
  - name: Channels
  - name: Voice
    description: Real-time voice moderation over WebSocket.
externalDocs:
  url: https://docs.moderationapi.com
paths:
  /channels/{id}:
    get:
      tags:
        - Channels
      summary: Get a channel
      description: Get a channel by ID. Needs the `channels:read` permission.
      operationId: management-channels-get
      parameters:
        - in: path
          name: id
          schema:
            type: string
            description: The ID of the channel.
          required: true
          description: The ID of the channel.
      responses:
        '200':
          description: Channel retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Channel'
        '401':
          description: Authorization not provided
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.UNAUTHORIZED'
        '403':
          description: Insufficient access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.FORBIDDEN'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.NOT_FOUND'
      security:
        - Authorization: []
components:
  schemas:
    Channel:
      type: object
      properties:
        id:
          type: string
          description: The ID of the channel.
        projectId:
          type: string
          description: The ID of the project the channel is in.
        key:
          type: string
          description: >-
            The key you pass as `channel` when you moderate content. Unique in
            the project.
        name:
          type: string
          description: The channel's name.
        description:
          description: The channel's description.
          type:
            - string
            - 'null'
        isDefault:
          type: boolean
          description: >-
            Whether requests that name no channel use this one. Each project has
            one default channel.
        contentType:
          anyOf:
            - type: string
              enum:
                - profile
                - message
                - post
                - comment
                - event
                - product
                - review
                - voice
                - other
              description: The kind of content the channel moderates.
            - type: 'null'
        flaggingMode:
          type: string
          enum:
            - DRY_RUN
            - ACTIVE
          description: >-
            `ACTIVE` flags content. `DRY_RUN` evaluates content without flagging
            it.
        contextEnabled:
          type: boolean
          description: >-
            Whether earlier messages in the conversation are read when
            moderating a message.
        enableImageModeration:
          type: boolean
          description: Whether images are moderated.
        enableVideoModeration:
          type: boolean
          description: Whether videos are moderated.
        enableAudioModeration:
          type: boolean
          description: Whether audio is moderated.
        enableVoiceModeration:
          type: boolean
          description: Whether real-time voice streams are moderated.
        includeTranscriptInResponse:
          type: boolean
          description: Whether audio and video transcripts are returned in responses.
        transcriptionQuality:
          type: string
          enum:
            - SPEED
            - BALANCED
            - ACCURACY
          description: Trade-off between transcription speed and accuracy.
        unicodeSpoofDetectionEnabled:
          type: boolean
          description: >-
            Whether look-alike Unicode characters are normalized before
            moderation.
        frameCaptureInterval:
          type: number
          minimum: 0.1
          maximum: 60
          description: Seconds between frames captured from a video.
        maxFramesPerVideo:
          type: integer
          minimum: 1
          maximum: 1000
          description: The most frames moderated per video.
        spreadFrames:
          type: boolean
          description: Whether frames are spread evenly across the whole video.
        createdAt:
          description: When the channel was created.
          type: string
        updatedAt:
          description: When the channel was last changed.
          type: string
      required:
        - id
        - projectId
        - key
        - name
        - description
        - isDefault
        - contentType
        - flaggingMode
        - contextEnabled
        - enableImageModeration
        - enableVideoModeration
        - enableAudioModeration
        - enableVoiceModeration
        - includeTranscriptInResponse
        - transcriptionQuality
        - unicodeSpoofDetectionEnabled
        - frameCaptureInterval
        - maxFramesPerVideo
        - spreadFrames
        - createdAt
        - updatedAt
      additionalProperties: false
    error.UNAUTHORIZED:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Authorization not provided
        code:
          type: string
          description: The error code
          example: UNAUTHORIZED
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Authorization not provided error (401)
      description: The error information
      example:
        code: UNAUTHORIZED
        message: Authorization not provided
        issues: []
    error.FORBIDDEN:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Insufficient access
        code:
          type: string
          description: The error code
          example: FORBIDDEN
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Insufficient access error (403)
      description: The error information
      example:
        code: FORBIDDEN
        message: Insufficient access
        issues: []
    error.NOT_FOUND:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Not found
        code:
          type: string
          description: The error code
          example: NOT_FOUND
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Not found error (404)
      description: The error information
      example:
        code: NOT_FOUND
        message: Not found
        issues: []
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````