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

# Standardwerte für Unternehmensbenachrichtigungen auflisten

> Ruft die unternehmensweiten Standardwerte für E-Mail und Webhooks aktiver Benachrichtigungstypen ab. Unternehmensadministratorzugriff ist erforderlich.



## OpenAPI

````yaml /de/api-reference/openapi.json get /notifications/company-defaults
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: >-
    API für die Interaktion mit den Scan- und
    Schwachstellenmanagement-Funktionen von Corgea
servers:
  - url: https://www.corgea.app/api/v1
    description: Produktionsserver
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /notifications/company-defaults:
    get:
      tags:
        - Benachrichtigungen
      summary: Standardwerte für Unternehmensbenachrichtigungen auflisten
      description: >-
        Ruft die unternehmensweiten Standardwerte für E-Mail und Webhooks
        aktiver Benachrichtigungstypen ab. Unternehmensadministratorzugriff ist
        erforderlich.
      operationId: listCompanyNotificationDefaults
      responses:
        '200':
          description: >-
            Standardwerte für Unternehmensbenachrichtigungen erfolgreich
            abgerufen
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: ok
                  defaults:
                    type: array
                    items:
                      $ref: '#/components/schemas/CompanyNotificationDefault'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AdminRequired'
components:
  schemas:
    CompanyNotificationDefault:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/NotificationType'
        email_enabled:
          type: boolean
          nullable: true
          description: >-
            Unternehmensstandard für E-Mail; null übernimmt den
            Plattformstandard
        webhook_enabled:
          type: boolean
          nullable: true
          description: >-
            Unternehmensstandard für Webhooks; null übernimmt den
            Plattformstandard
    NotificationType:
      type: object
      properties:
        code:
          type: string
          example: scheduled_scan.daily_report
        name:
          type: string
          example: Daily Scheduled Scan Report
        description:
          type: string
          example: >-
            Summary email sent once per day with new issues discovered by
            scheduled scans.
        category:
          type: string
          example: scheduled_scans
        audience:
          type: string
          enum:
            - company_admins
            - all_users
        default_email_enabled:
          type: boolean
        default_webhook_enabled:
          type: boolean
  responses:
    BadRequest:
      description: Ungültiger Request
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Invalid JSON body
    Unauthorized:
      description: Ungültiges oder fehlendes Token
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Missing or invalid authorization header
    AdminRequired:
      description: Unternehmensadministratorzugriff ist erforderlich
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Admin permission required
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: API-Key für die Authentifizierung
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2-Access-Token (JWT) im Authorization-Header

````