POST /api/create-message| Parameter | Type | Required | Description |
|---|---|---|---|
| authkey | string | Yes | User auth key |
| appkey | string | Yes | App key (WhatsApp device) |
| to | string | Yes | Recipient phone number |
| message | string | Yes | Caption text (or empty string) |
| file | string | Yes | Public HTTP/HTTPS URL. Allowed: jpg, jpeg, png, webp, pdf, docx, xlsx, csv, txt. Max 10MB |
curl --location --request POST '/api/create-message' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}",
"to": "966501234567",
"message": "Caption text",
"file": "https://example.com/image.jpg"
}'{}