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

# Bulk replace the current team's shared-inbox email subscriptions and settings for a notification type

> SP teams fan out each email to SELF + CLIENTS rows. When subjectLine or richNotifications are provided they are written to every affected row.



## OpenAPI

````yaml https://api.wirespeed.co/v1/openapi.json put /v1/notification/subscription/team-channel
openapi: 3.0.0
info:
  title: Wirespeed API
  description: The public Wirespeed API. v1 is the first stable contract.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.wirespeed.co
security: []
tags: []
paths:
  /v1/notification/subscription/team-channel:
    put:
      tags:
        - Notification
      summary: >-
        Bulk replace the current team's shared-inbox email subscriptions and
        settings for a notification type
      description: >-
        SP teams fan out each email to SELF + CLIENTS rows. When subjectLine or
        richNotifications are provided they are written to every affected row.
      operationId: NotificationController_setTeamChannelSubscriptions
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTeamChannelSubscriptionsDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamChannelSubscriptionsResponse'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
      security:
        - bearer: []
components:
  schemas:
    UpdateTeamChannelSubscriptionsDto:
      type: object
      properties:
        type:
          type: string
          enum:
            - NEW_CASE_ESCALATION
            - NEW_CASE_AUTO_CONTAINED
            - NEW_SECURITY_EVENT
            - NEW_CRITICAL_DEFECT
            - ACCOUNT_SUMMARY
            - INTEGRATION_HEALTH
            - ACCOUNT_BILLING
        emails:
          description: Email addresses to subscribe to the given notification type
          type: array
          items:
            type: string
        subjectLine:
          type: string
          description: >-
            Custom subject line override for this notification type. Null resets
            to the platform default.
          nullable: true
          maxLength: 150
        richNotifications:
          type: boolean
          description: >-
            Whether to send rich HTML emails (true) or plain-text-optimised
            emails (false).
          default: true
        enabled:
          type: boolean
          description: >-
            Whether team-channel delivery is enabled for this notification type.
            False suspends delivery without removing recipients.
          default: true
        frequency:
          type: string
          description: >-
            Delivery cadence. Only meaningful for digest types (e.g.
            ACCOUNT_SUMMARY, which accepts DAILY/WEEKLY). Realtime-only types
            reject any value other than REALTIME. Omit to use the type default.
          enum:
            - REALTIME
            - DAILY
            - WEEKLY
      required:
        - type
        - emails
    TeamChannelSubscriptionsResponse:
      type: object
      properties:
        emails:
          description: >-
            Distinct, lower-cased email addresses subscribed to the given
            notification type for the current team
          type: array
          items:
            type: string
        subjectLine:
          type: string
          description: >-
            Custom subject line for this notification type. Null means the
            platform default is used.
          nullable: true
        richNotifications:
          type: boolean
          description: >-
            Whether rich HTML emails are sent (true) or plain-text-optimised
            emails (false).
          default: true
        enabled:
          type: boolean
          description: >-
            Whether team-channel delivery is active. False when no subscriptions
            exist or all are disabled.
          default: false
        frequency:
          type: string
          description: >-
            Delivery cadence for this notification type. Digest types (e.g.
            ACCOUNT_SUMMARY) report DAILY/WEEKLY; realtime types report
            REALTIME.
          enum:
            - REALTIME
            - DAILY
            - WEEKLY
      required:
        - emails
        - subjectLine
        - richNotifications
        - enabled
        - frequency
    HttpError:
      type: object
      properties:
        message:
          type: string
        statusCode:
          type: number
      required:
        - message
        - statusCode
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Team API key sent as a Bearer token. Create a key in Wirespeed under
        Settings → Team. See
        https://docs.wirespeed.co/api-reference/authentication.

````