> ## 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.

# Get the Microsoft Teams channel rules

> Which channels Statisfy reads, and which account a channel or a group chat goes to: an account's CRM field value that is the channel's id (`id_field`) or name (`name_field`), and the channels whose name starts with a prefix or ends with a suffix. `*_missing`: the field is no longer an account field. With no rule, every part is empty, and every channel is read.



## OpenAPI

````yaml /api/statisfy-api.openapi.json get /v1/integrations/microsoft_teams/channel-rules
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-rules:
    get:
      tags:
        - integrations
      summary: Get the Microsoft Teams channel rules
      description: >-
        Which channels Statisfy reads, and which account a channel or a group
        chat goes to: an account's CRM field value that is the channel's id
        (`id_field`) or name (`name_field`), and the channels whose name starts
        with a prefix or ends with a suffix. `*_missing`: the field is no longer
        an account field. With no rule, every part is empty, and every channel
        is read.
      operationId: integrations_microsoft_teams_get_channel_rules
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsChannelRules'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    TeamsChannelRules:
      properties:
        id_field:
          anyOf:
            - type: string
            - type: 'null'
          title: Id Field
        id_field_missing:
          title: Id Field Missing
          type: boolean
        name_field:
          anyOf:
            - type: string
            - type: 'null'
          title: Name Field
        name_field_missing:
          title: Name Field Missing
          type: boolean
        prefixes:
          items:
            type: string
          title: Prefixes
          type: array
        suffixes:
          items:
            type: string
          title: Suffixes
          type: array
      required:
        - prefixes
        - suffixes
        - id_field_missing
        - name_field_missing
      title: TeamsChannelRules
      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.