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

# Set the Microsoft Teams channel rule

> Saves the rule and applies it now to every Teams channel (not to group chats), which resets the changes made to single channels; after that, it decides each new channel. Send both values; an empty value is no rule. Teams need not be connected. Each value is 100 characters at most.



## OpenAPI

````yaml /api/statisfy-api.openapi.json put /v1/integrations/microsoft_teams/channel-rule
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/microsoft_teams/channel-rule:
    put:
      tags:
        - integrations
      summary: Set the Microsoft Teams channel rule
      description: >-
        Saves the rule and applies it now to every Teams channel (not to group
        chats), which resets the changes made to single channels; after that, it
        decides each new channel. Send both values; an empty value is no rule.
        Teams need not be connected. Each value is 100 characters at most.
      operationId: integrations_microsoft_teams_put_channel_rule
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                prefix:
                  description: 'Read the channels whose name starts with this. Empty: none'
                  maxLength: 100
                  title: Prefix
                  type: string
                suffix:
                  description: 'Read the channels whose name ends with this. Empty: none'
                  maxLength: 100
                  title: Suffix
                  type: string
              required:
                - prefix
                - suffix
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsChannelRuleSaved'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    TeamsChannelRuleSaved:
      properties:
        ingesting:
          description: Channels Statisfy is in that are read now
          title: Ingesting
          type: integer
        not_ingesting:
          description: Channels Statisfy is in that are not read now
          title: Not Ingesting
          type: integer
        prefix:
          description: 'A channel whose name starts with this is read. Empty: no prefix rule'
          title: Prefix
          type: string
        suffix:
          description: 'A channel whose name ends with this is read. Empty: no suffix rule'
          title: Suffix
          type: string
      required:
        - prefix
        - suffix
        - ingesting
        - not_ingesting
      title: TeamsChannelRuleSaved
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.