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

# List Notification Channels

> List the authenticated user's notification channels. Secrets (webhook URLs, bot tokens) are never returned.



## OpenAPI

````yaml GET /notification-channels
openapi: 3.1.0
info:
  title: Cronhost API
  description: >-
    Schedule HTTP requests with cron expressions. Cronhost allows you to
    automate HTTP requests on a schedule using familiar cron syntax.
  license:
    name: MIT
  version: 1.0.0
  contact:
    name: Cronhost Support
    email: help@cronho.st
    url: https://cronho.st
servers:
  - url: https://cronho.st/api/v1
    description: Production API
security:
  - apiKeyAuth: []
tags:
  - name: Schedules
    description: Create, manage, and control scheduled HTTP requests
  - name: Jobs
    description: Monitor and retrieve job execution details
  - name: Notification Channels
    description: Manage the destinations that receive schedule alerts
  - name: Schedule Notifications
    description: Configure which outcomes notify you per schedule
paths:
  /notification-channels:
    get:
      tags:
        - Notification Channels
      summary: List Notification Channels
      description: >-
        List the authenticated user's notification channels. Secrets (webhook
        URLs, bot tokens) are never returned.
      operationId: listNotificationChannels
      responses:
        '200':
          description: Successfully retrieved channels
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/NotificationChannel'
                  success:
                    type: boolean
                    example: true
                required:
                  - data
                  - success
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    NotificationChannel:
      type: object
      required:
        - id
        - type
        - verified
        - label
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          description: Unique channel identifier
          example: channel_123
        type:
          type: string
          enum:
            - email
            - slack
            - discord
            - telegram
          description: Channel delivery type
          example: slack
        verified:
          type: boolean
          description: >-
            Whether the channel has passed verification. Only verified channels
            can be attached to a schedule.
          example: true
        label:
          type: string
          description: Display label (1-100 chars)
          example: Ops alerts
        createdAt:
          type: string
          format: date-time
          example: '2024-01-01T12:00:00.000Z'
        updatedAt:
          type: string
          format: date-time
          example: '2024-01-02T12:00:00.000Z'
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - code
          properties:
            message:
              type: string
              description: Human-readable error message
            code:
              type: string
              description: Error code for programmatic handling
            details:
              description: Additional error details
  responses:
    UnauthorizedError:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            missingApiKey:
              summary: Missing API key
              value:
                error:
                  message: Missing x-api-key header
                  code: UNAUTHORIZED
            invalidApiKey:
              summary: Invalid API key
              value:
                error:
                  message: Invalid API key
                  code: UNAUTHORIZED
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          example:
            error:
              message: Internal server error
              code: INTERNAL_ERROR
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Get your API key from the [Cronhost
        dashboard](https://cronho.st/settings).

````