Send a WhatsApp text message.
https://whatsapp.telcomw.com/sendSend the parameters in the URL (query parameters).
| Parameter | Required | Description |
recipient |
YES | The phone number to send to, for example 265992026866. |
message |
YES | The message. |
password |
YES | The password for your WhatsApp app. Ask us for it. |
curl --location --request GET 'https://whatsapp.telcomw.com/send?recipient=265992026866&message=Hello&password=YOUR_PASSWORD'
curl --location --request GET "https://whatsapp.telcomw.com/send?recipient=265992026866&message=Hello&password=YOUR_PASSWORD"
<?php
$ch = curl_init('https://whatsapp.telcomw.com/send?recipient=265992026866&message=Hello&password=YOUR_PASSWORD');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
const axios = require('axios');
axios.request({
method: 'get',
url: 'https://whatsapp.telcomw.com/send',
params: {
'recipient': '265992026866',
'message': 'Hello',
'password': 'YOUR_PASSWORD'
}
}).then((res) => console.log(res.data))
.catch((err) => console.error(err.response ? err.response.data : err.message));
import requests
params = {
'recipient': '265992026866',
'message': 'Hello',
'password': 'YOUR_PASSWORD'
}
response = requests.request('GET', 'https://whatsapp.telcomw.com/send', params=params)
print(response.json())