# sendMsg | Single

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /sendMsg/APIKEY:
    post:
      summary: sendMsg | Single
      deprecated: false
      description: "Use this method to send messages to your users’ WhatsApp numbers through our API.\n\n**Message Size Limitation**\nWhen sending outbound messages via our API, please ensure that the total size of the content remains below the maximum limit allowed by the channel.\nIf a request includes media or multiple media files whose combined size exceeds the limit, the API will return an error.\nFor WhatsApp, the maximum supported size is 100MB.\n\n**New Media Upload Options**\nIn addition to the existing URL-based media sending method, our API now supports two new direct upload parameters:\n\t•\t**file** — Upload a media file directly to our server and have it delivered to the recipient through WhatsApp.\n\t•\t**base64_file** — Send media as a raw Base64-encoded string without any MIME prefix.\n\nThese new parameters allow you to send files directly, without needing to provide a public URL.\n\nTo test all message-sending capabilities in real conditions, you can use the following page:\n\nhttps://whatsiplus.com/send-whatsapp-message/"
      tags:
        - API Reference
      parameters: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                phonenumber:
                  description: User Phone Number
                  example: '447400733413'
                  type: string
                message:
                  description: Text Message
                  example: This is a test message
                  type: string
                schedule:
                  description: Time to send a message in the future (TimeStamp Format)
                  example: '1724160037'
                  type: string
                link:
                  description: Media URL (image, sound, video, ...)
                  example: https://example.com/image.jpg
                  type: string
                file:
                  description: File Upload
                  type: string
                  format: binary
                base64_file:
                  description: Base64 Data
                  example: ''
                  type: string
              required:
                - phonenumber
                - message
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: string
                  message:
                    type: string
                  messageId:
                    type: integer
                required:
                  - success
                  - message
                  - messageId
                x-apidog-orders:
                  - success
                  - message
                  - messageId
              example:
                success: 'true'
                message: Added to the message queue
                messageId: 565
          headers: {}
          x-apidog-name: sendMsg | Single
      security: []
      x-apidog-folder: API Reference
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/545232/apis/api-9438042-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.whatsiplus.com
    description: WhatsApp API - WhatsiPlus Documentation
security: []

```
