> ## 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/#INTERCOM_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/#INTERCOM_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: INTERCOM_SEND_MESSAGE
                parameters:
                  type: object
                  properties:
                    recipientContactType:
                      type: string
                      description: Recipient contact type
                      enum:
                        - user
                        - lead
                    recepientContactId:
                      type: string
                      description: >-
                        Recipient contact ID : The ID of the contact to send the
                        message to.
                    messageType:
                      type: string
                      description: Message type
                      enum:
                        - inapp
                        - email
                    fromId:
                      type: string
                      description: The Intercom Admin the message will be sent from
                    subject:
                      type: string
                      description: >-
                        Subject : Required if sending an email. (example:
                        "name@example.com")
                    body:
                      type: string
                      description: >-
                        Body : The content of the message. HTML and plaintext
                        are supported.
                    template:
                      type: string
                      description: >-
                        Template : The style of the outgoing message. Required
                        if sending an email.
                      enum:
                        - personal
                        - plain
                  required:
                    - recipientContactType
                    - recepientContactId
                    - messageType
                    - fromId
                    - body
                  x-integration: intercom
              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.

````