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

# Send Media Message

> Stream high-fidelity rich media assets including documents, audio files, images, and marketing videos directly to recipients along with automated typing simulation workflows.



## OpenAPI

````yaml POST /send/media
openapi: 3.0.3
info:
  title: Wachat Enterprise API
  description: >
    Welcome to the official Wachat API reference. Wachat provides
    developer-friendly, ultra-reliable infrastructure to scale your WhatsApp
    communications programmatically.


    Easily deploy automated messaging pipelines, orchestrate interactive
    customer engagement patterns, verify phone numbers instantly, and control
    containerized WhatsApp instances via a secure, production-grade REST
    architecture.
  version: 1.0.0
servers:
  - url: https://app.wachat.net/api/v1
    description: Live Production Gateway
security:
  - bearerAuth: []
paths:
  /send/media:
    post:
      tags:
        - Core Messaging Engine
      summary: Dispatch Rich Media Attachments
      description: >-
        Stream high-fidelity rich media assets including documents, audio files,
        images, and marketing videos directly to recipients along with automated
        typing simulation workflows.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - instanceName
                - number
                - type
                - mediaUrl
              properties:
                instanceName:
                  type: string
                  description: Name of your connected WhatsApp session profile.
                number:
                  type: string
                  description: Target phone number with international country code routing.
                type:
                  type: string
                  enum:
                    - image
                    - video
                    - document
                    - audio
                  description: Supported structural file classification standard.
                  example: image
                mediaUrl:
                  type: string
                  format: uri
                  description: >-
                    The direct fully qualified URL endpoint hosting your media
                    asset.
                  example: >-
                    https://cdn.pixabay.com/photo/2022/09/23/09/13/promotion-7474039_1280.png
                message:
                  type: string
                  description: >-
                    Contextual rich text descriptive caption elements
                    accompanied with media assets (ignored for audio payloads).
                  example: Check out this month exciting promotions!
                fileName:
                  type: string
                  description: >-
                    Explicit file attachment naming convention overlay. Strongly
                    recommended for structural documents.
                  example: promotion-7474039_1280.png
                mimetype:
                  type: string
                  description: >-
                    Explicit custom Multipurpose Internet Mail Extensions header
                    format definition overlay.
                  example: image/png
                delay:
                  type: integer
                  description: >-
                    Custom simulated typing delay parameter in milliseconds. If
                    left empty, it runs an organic 3-5 seconds random engine
                    delay.
      responses:
        '200':
          description: >-
            Media payload processed and dispatched through the cloud instance
            infrastructure.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Authenticate your integration payloads by injecting your premium secure
        Wachat Account API Private Secret Key inside standard Authorization
        Bearer header vectors.

````