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

# Send Web WhatsApp Message (Unstructured)

> Send a Web WhatsApp message from a specific phoneId. Accepts JSON, multipart/form-data, or x-www-form-urlencoded. Important: include the end user's phone number (e.g., phone_number) or a resolvable contact identifier in the payload so the AI can identify the recipient. You may pass the message text via the 'message' query param or in the body; if omitted, the system will infer context and may pick a pipeline/stage automatically. The AI extracts contact_name, phone_number, and meta_data to upsert the contact and metadata as needed. Requires x-api-key as a query param. Optional stage query to set the destination stage. Warning: do not abuse this endpoint—excessive or unsolicited messaging may violate WhatsApp policies and lead to account restrictions or bans.



## OpenAPI

````yaml post /api/public/web-whatsapp-message/send/{phoneId}/message
openapi: 3.0.0
info:
  title: Vambe AI API
  description: Vambe AI documentation
  version: '1.0'
  contact: {}
servers:
  - url: https://api.vambe.me
    description: Production Server
security: []
tags:
  - name: Vambe AI
    description: ''
paths:
  /api/public/web-whatsapp-message/send/{phoneId}/message:
    post:
      tags:
        - public/web-whatsapp-message
      summary: Send a message
      description: Send a specific message to a given phone number.
      operationId: WebWhatsappPublicMessageController_openConversation
      parameters:
        - name: phoneId
          required: true
          in: path
          description: The phone id to send the message from
          schema:
            type: string
        - name: stage
          required: false
          in: query
          description: The stage id to send the message to
          schema:
            type: string
        - name: x-api-key
          required: true
          in: query
          description: API key needed to authorize the request
          schema:
            type: string
        - name: message
          required: false
          in: query
          description: The message to send
          schema:
            type: string
      requestBody:
        required: true
        description: The payload to send. Can be JSON or form data.
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  example:
                    key: value
                - type: string
                  format: binary
                - type: object
                  additionalProperties: true
                  example:
                    key: value
          multipart/form-data:
            schema:
              oneOf:
                - type: object
                  example:
                    key: value
                - type: string
                  format: binary
                - type: object
                  additionalProperties: true
                  example:
                    key: value
          application/x-www-form-urlencoded:
            schema:
              oneOf:
                - type: object
                  example:
                    key: value
                - type: string
                  format: binary
                - type: object
                  additionalProperties: true
                  example:
                    key: value
      responses:
        '201':
          description: Message sent successfully.
        '400':
          description: Bad request.
        '401':
          description: Unauthorized.

````