WA Client
POST

Send Text

Send plain text or a link with preview. Use type text (default) or type link when you want URL preview.

API endpoint
https://waclient.com/api/send
Text — type text
curl -X POST \
  'https://waclient.com/api/send' \
  -H 'Content-Type: application/json' \
  --data '{
    "number": "20100981XXXX",
    "type": "text",
    "message": "Hello from WhatsApp Web API",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "message_payload": {
        "key": {
            "remoteJid": "[email protected]",
            "fromMe": true,
            "id": "ABC123"
        },
        "status": "PENDING"
    }
}
Link with preview — type link
curl -X POST \
  'https://waclient.com/api/send' \
  -H 'Content-Type: application/json' \
  --data '{
    "number": "20100981XXXX",
    "type": "link",
    "message": "Visit us",
    "url": "https://mustqr.com",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
ParameterDescription
number / chat_idRecipient phone number (e.g. 20100981XXXX) or chat_id (group: [email protected], channel: xxxx@newsletter)
typetext or link (link preview)
messageText body (include URL for link type)
urlURL to preview — optional if URL is in message (Optional)
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc