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

# Post o notification channels



## OpenAPI

````yaml /openapi/platform-api.yaml post /o/{organisation_id}/notification_channels
openapi: 3.1.0
info:
  title: Versori Platform API
  version: 0.0.1
  license:
    name: UNLICENSED
servers:
  - description: Production
    url: https://platform.versori.com/api/v2
  - description: Staging
    url: https://platform-staging.versori.com/api/v2
  - description: Development
    url: http://localhost:8901
security:
  - bearerToken: []
  - cookie: []
paths:
  /o/{organisation_id}/notification_channels:
    parameters:
      - $ref: '#/components/parameters/organisation_id'
    post:
      tags:
        - notifications
      operationId: CreateNotificationChannel
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateNotificationChannel'
      responses:
        '201':
          description: Notification channel created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationChannel'
components:
  parameters:
    organisation_id:
      name: organisation_id
      in: path
      required: true
      schema:
        type: string
        format: ulid
        x-go-type: ulid.ULID
        x-go-name: OrganisationID
        x-go-type-import:
          path: versori.dev/vergo/ulid
  schemas:
    CreateNotificationChannel:
      type: object
      required:
        - name
        - type
        - config
      properties:
        name:
          type: string
        type:
          type: string
        config:
          $ref: '#/components/schemas/NotificationConfig'
    NotificationChannel:
      type: object
      required:
        - id
        - organisation_id
        - name
        - type
        - config
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: ulid
          x-go-type: ulid.ULID
          x-go-type-import:
            path: versori.dev/vergo/ulid
        organisation_id:
          type: string
          format: ulid
          x-go-type: ulid.ULID
          x-go-type-import:
            path: versori.dev/vergo/ulid
        name:
          type: string
        type:
          type: string
        config:
          $ref: '#/components/schemas/NotificationConfig'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    NotificationConfig:
      type: object
      properties:
        email:
          $ref: '#/components/schemas/EmailNotificationConfig'
    EmailNotificationConfig:
      type: object
      properties:
        to:
          type: string
        cc:
          type: array
          items:
            type: string
          x-go-type-skip-optional-pointer: true
      required:
        - to
  securitySchemes:
    bearerToken:
      description: >
        Bearer token authentication used by the Versori Platform. External
        consumers must provide an API key, however

        internal consumers must provide a JWT id_token issued by our IdP.
      type: http
      scheme: bearer
    cookie:
      description: Cookie authentication used by the Versori Platform.
      type: apiKey
      in: cookie
      name: cookie

````