WhatsApp Media API

Rich media messaging over WhatsApp. Send and receive images, videos, audio, documents, stickers, contacts, and locations through a unified REST API.

View Pricing

No credit card required · 14-day free trial

Use Cases

E-Commerce

Send product images, catalogs, and invoice PDFs directly in WhatsApp. See send a document message. Let customers browse visually without leaving the chat.

Healthcare

Share appointment confirmations, lab results (PDF), and location pins for clinic directions, all encrypted end-to-end.

Real Estate

Send property photos, virtual tour videos, and floor plan documents. Share location pins for open house directions.

Education

Distribute course materials, lecture recordings, and assignment documents. Collect student submissions via media messages.

Code Examples

Copy, paste, ship.

send-image.sh
curl -X POST https://api.wsapi.chat/messages/image \
  -H "x-api-key: your-api-key" \
  -H "x-instance-id: your-instance-id" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "1234567890",
    "url": "https://example.com/product.jpg",
    "caption": "Check out our new product!"
  }'

Key Features

  • 8 Media Types

    Images (send an image), video, audio, documents, stickers, contacts, locations, and voice notes

  • URL or Base64

    Send media via public URL or base64-encoded data, with no pre-upload step required

  • Auto-Thumbnails

    Images and videos automatically generate thumbnails in the chat

  • Captions

    Add text captions to images, videos, and documents

  • Download Received Media

    Fetch media from incoming messages with download media by ID

  • No File Hosting Required

    Pass any public URL; WSAPI handles download and delivery to WhatsApp

Frequently Asked Questions

Get started today

Start a 14-day free trial with no credit card required.

Quickstart Guide