Developer API for WhatsApp
Supports QR Code connection. No per-message charge.
Programmatically send and receive unlimited WhatsApp messages across multiple WhatsApp sessions
<?php
use GuzzleHttp\Client;
$client = new Client();
$response = $client->post('http://api-portal.hitlchat.io/api/v1/messages/send', [
'headers' => [
'Content-Type' => 'application/json',
'Authorization' => 'Bearer [your_api_key]'
],
'json' => [
'type' => 'text',
'recipientNumber' => '+61000000000',
'messageText' => 'Hello from the HitlChat API!'
]
]);
import axios from 'axios';
const response = await axios.post(
'http://api-portal.hitlchat.io/api/v1/messages/send',
{
type: 'text',
recipientNumber: '+61000000000',
messageText: 'Hello from the HitlChat API!'
},
{
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer [your_api_key]'
}
}
);
import httpx
response = httpx.post(
'http://api-portal.hitlchat.io/api/v1/messages/send',
json={
'type': 'text',
'recipientNumber': '+61000000000',
'messageText': 'Hello from the HitlChat API!'
},
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer [your_api_key]'
}
)
using RestSharp;
var client = new RestClient("http://api-portal.hitlchat.io/api/v1/messages/send");
var request = new RestRequest()
.AddHeader("Content-Type", "application/json")
.AddHeader("Authorization", "Bearer [your_api_key]")
.AddJsonBody(new {
type = "text",
recipientNumber = "+61000000000",
messageText = "Hello from the HitlChat API!"
});
var response = await client.ExecuteAsync(request);
import kong.unirest.Unirest;
import org.json.JSONObject;
var response = Unirest.post("http://api-portal.hitlchat.io/api/v1/messages/send")
.header("Content-Type", "application/json")
.header("Authorization", "Bearer [your_api_key]")
.body(new JSONObject()
.put("type", "text")
.put("recipientNumber", "+61000000000")
.put("messageText", "Hello from the HitlChat API!"))
.asJson();
.avif)
.avif)
.avif)




