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

# Send Message In Channel



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#TEAMS_SEND_MESSAGE_IN_CHANNEL
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#TEAMS_SEND_MESSAGE_IN_CHANNEL:
    post:
      summary: Send Message In Channel
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: TEAMS_SEND_MESSAGE_IN_CHANNEL
                parameters:
                  type: object
                  properties:
                    channel:
                      type: string
                      description: >-
                        Specify the channel id to send the message to. Use the
                        TEAMS_CHANNEL_LIST intent to retrieve a list of
                        available channel ids.
                    message:
                      type: string
                      description: >-
                        Message : Plaintext/HTML representation of the content
                        of the chat message.
                    subject:
                      type: string
                      description: >-
                        Subject : The subject of the channel message, in
                        plaintext.
                    summary:
                      type: string
                      description: >-
                        Summary : Summary text of the chat message that could be
                        used for push notifications and summary views or fall
                        back views. 
                    attachments:
                      type: object
                      description: >-
                        Attachments : A JSON list of attachments, such as
                        images, videos, or rich cards. View the attachment
                        objects available in the Microsoft Teams docs.
                        (https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#attachment-object)
                        (example: "[
                          {
                            "contentType": "application/vnd.microsoft.card.adaptive",
                            "content": {
                              "type": "AdaptiveCard",
                              "version": "1.0",
                              "body": [
                                {
                                  "type": "TextBlock",
                                  "text": "Hello World!",
                                  "size": "large"
                                },
                                {
                                  "type": "TextBlock",
                                  "text": "*Sincerely yours,*"
                                },
                                {
                                  "type": "TextBlock",
                                  "text": "Adaptive Cards",
                                  "separation": "none"
                                }
                              ],
                              "actions": [
                                {
                                  "type": "Action.OpenUrl",
                                  "url": "http://adaptivecards.io",
                                  "title": "Learn More"
                                }
                              ]
                            }
                          }
                        ]")
                      properties: {}
                    attachmentLayout:
                      type: string
                      description: >-
                        Attachment Layout : If adding multiple attachments,
                        specify a layout to use when rendering the message.
                      enum:
                        - carousel
                        - list
                  required:
                    - channel
                    - message
                  x-integration: microsoftTeams
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````