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

# Create a new notification settings



## OpenAPI

````yaml post /v5/notifications/settings
openapi: 3.0.3
info:
  title: Kadoa API
  version: 3.0.0
  contact:
    name: Support
    email: support@kadoa.com
servers:
  - url: https://api.kadoa.com
security: []
paths:
  /v5/notifications/settings:
    post:
      tags:
        - Notifications
      summary: Create a new notification settings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - eventType
                - eventConfiguration
              properties:
                workflowId:
                  type: string
                  description: >-
                    Workflow ID (optional, if not provided creates
                    workspace-level settings)
                eventType:
                  type: string
                  enum:
                    - workflow_started
                    - workflow_finished
                    - workflow_failed
                    - workflow_sample_finished
                    - workflow_data_change
                    - system_maintenance
                    - service_degradation
                    - credits_low
                    - free_trial_ending
                eventConfiguration:
                  type: object
                  description: >-
                    Settings specific to the event type. Currently accepts an
                    empty object {}. This object will be extended in future
                    releases to support event-specific configuration options.
                enabled:
                  type: boolean
                  default: true
                channelIds:
                  type: array
                  items:
                    type: string
                  description: Array of channel IDs to link to this Settings
      responses:
        '201':
          description: Settings created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      settings:
                        type: object
                        properties:
                          id:
                            type: string
                          workflowId:
                            type: string
                          eventType:
                            type: string
                          eventConfiguration:
                            type: object
                          enabled:
                            type: boolean
                          channels:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                                channelType:
                                  type: string
                          createdAt:
                            type: string
                          updatedAt:
                            type: string
                  status:
                    type: string
                  message:
                    type: string
        '400':
          description: Bad request (validation errors or duplicate settings)
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````