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

# Create channel

> Create or reuse a notification channel for this org.

Creates or **reuses** a channel (e.g. email dedupe by type + config). **Org admin** only.


## OpenAPI

````yaml POST /orgs/{org_id}/notifications/channels
openapi: 3.1.0
info:
  title: Timbal Platform API
  description: Public API documentation for the Timbal platform
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.timbal.ai
    description: Production
  - url: https://api.dev.timbal.ai
    description: Development
security: []
tags:
  - name: ace
    description: Action Control Engine (ACE) operations
  - name: analytics
    description: Project analytics
  - name: billing
    description: Subscriptions, usage, and payment-related operations
  - name: content
    description: Re-sign stored content URLs
  - name: files
    description: File operations
  - name: iam
    description: IAM — actions, roles, users, and authorization introspection
  - name: k2
    description: Knowledge Bases v2 operations
  - name: orgs
    description: Organization operations
  - name: projects
    description: Project operations
  - name: runs
    description: Execution operations
  - name: templates
    description: Public project template catalog
  - name: users
    description: Authenticated user profile
paths:
  /orgs/{org_id}/notifications/channels:
    post:
      tags:
        - notifications
      summary: Create a notification channel
      description: Create or reuse a notification channel for this org.
      operationId: create_org_notification_channel
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateNotificationChannelReq'
            examples:
              Email:
                value:
                  type: email
                  name: Finance inbox
                  config:
                    to: finance@example.com
              Slack:
                value:
                  type: slack
                  name: Deploy alerts
                  config:
                    token: xoxb-1234567890123-1234567890123
                    channel: C0123456789
        required: true
      responses:
        '201':
          description: Channel created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateNotificationChannelOut'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
      security:
        - bearer_auth: []
components:
  schemas:
    CreateNotificationChannelReq:
      type: object
      description: >-
        Body for **POST** `/orgs/{org_id}/notifications/channels` (standalone
        channel; same validation as inline rule channel, no `id`).
      properties:
        config:
          type: object
        name:
          type:
            - string
            - 'null'
        type:
          $ref: '#/components/schemas/NotificationChannelType'
    CreateNotificationChannelOut:
      type: object
      required:
        - id
        - channel_action
      properties:
        channel_action:
          $ref: '#/components/schemas/ChannelAction'
        id:
          type: integer
          format: int64
    ErrorMessage:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Machine-readable error code (e.g. `ALREADY_EXISTS`, `BAD_REQUEST`).
        message:
          type: string
          description: Human-readable description.
    NotificationChannelType:
      type: string
      enum:
        - email
        - slack
    ChannelAction:
      type: string
      description: How the rule was wired to `NotificationChannels` for this create call.
      enum:
        - linked
        - reused
        - created
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: >-
        Timbal API key. Obtain your API key from the Timbal platform settings.
        See [Authentication](/api-reference/authentication) for more
        information.

````