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



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#SLACK_SEND_MESSAGE
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/#SLACK_SEND_MESSAGE:
    post:
      summary: Send Message
      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: SLACK_SEND_MESSAGE
                parameters:
                  type: object
                  properties:
                    channel:
                      type: string
                      description: Enter the channel ID to send the message to.
                    message:
                      type: string
                      description: Message
                    botName:
                      type: string
                      description: 'Bot name : The name of the bot that sends this message.'
                    botIcon:
                      type: string
                      description: >-
                        Bot icon : Can be either an image URL or an emoji
                        available to your team (e.g. :dog:)
                    blocks:
                      type: object
                      description: >-
                        Block kit JSON : Use the Slack Block Kit Builder
                        (https://app.slack.com/block-kit-builder) to design your
                        message and copy the Payload here. (example: "{
                          "blocks": [
                            {
                              "type": "section",
                              "text": {
                                "type": "mrkdwn",
                                "text": "Hello, this is a sample message using Slack blocks!"
                              }
                            },
                            {
                              "type": "actions",
                              "elements": [
                                {
                                  "type": "button",
                                  "text": {
                                    "type": "plain_text",
                                    "text": "Click Me"
                                  },
                                  "value": "click_me_123"
                                }
                              ]
                            }
                          ]
                        }")
                      properties: {}
                    authenticatedUser:
                      type: boolean
                      description: >-
                        Send as authenticated user : If set to true, this
                        message will appear to come from your authenticated
                        Slack user instead of your application. Defaults to
                        false.
                    additionalFields:
                      type: object
                      description: >-
                        Additional Fields : Specify additional fields to include
                        on this message as JSON. Doc link:
                        https://api.slack.com/reference/messaging/link-unfurling
                        (example: "{
                            "text": "<https://api.slack.com|Slack API>",
                            "unfurl_links": true
                        }")
                      properties: {}
                  required:
                    - channel
                    - message
                  x-integration: slack
              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.

````