Messages

Send an image message

Sends an image to a WUTS-connected WhatsApp recipient. The image may be supplied inline as a base64 string or fetched from a URL, and supports captions with WhatsApp markdown, mentions, quoted replies, and view-once delivery.

POST
/send/image

Sends an image to a WUTS-connected WhatsApp recipient. The image may be supplied inline as a base64 string or fetched from a URL, and supports captions with WhatsApp markdown, mentions, quoted replies, and view-once delivery.

Authorization

bearerAuth
AuthorizationBearer <token>

Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/send/image" \  -H "Content-Type: application/json" \  -d '{    "number": "5511999999999",    "image_url": "https://cdn.example.com/promo/banner.png",    "caption": "*Black Friday* is here! 50% off everything.",    "delay": 2,    "viewOnce": false,    "mentioned": [      "5511988888888@s.whatsapp.net"    ]  }'
{  "success": true,  "message_id": "3EB0XXXX1A2B3C4D5E6F",  "timestamp": "2026-06-15T14:03:21Z",  "status": "sent",  "chat_jid": "5511999999999@s.whatsapp.net",  "metadata": {    "device_id": "device-7f3a",    "user_id": "usr_01H9",    "processing_time_ms": 842,    "image_size_bytes": 184320,    "image_format": "image/png",    "download_time_ms": 211,    "upload_time_ms": 430,    "mentions_processed": 1,    "quoted_message_found": false,    "view_once_enabled": false,    "sent_at": "2026-06-15T14:03:21Z"  }}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}