Integrate in minutes. Header-based auth. Works with any language or framework.
After creating your HK Reach account, find your App Name
and API Key
in your Profile settings.
Pass X-App-Name
and X-Api-Key
headers with every request. No OAuth complexity.
POST to the external send endpoint with the recipient's number, your template name, and your source application name. That's it!
All API requests require two headers:
| Header | Description | Example |
|---|---|---|
X-App-Name |
Your unique application name (case-sensitive) | myshop-india |
X-Api-Key |
Your secret API key from the Profile page | hk_live_ab12cd... |
/api/external/send/template
Send a WhatsApp template message to a single recipient from your third-party application.
curl -X POST https://api.hkreach.in/api/external/send/template \
-H "X-App-Name: your-app-name" \
-H "X-Api-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"to": "917096136319",
"templateName": "order_confirmation",
"thirdPartyAppName": "my_billing_software",
"languageCode": "en",
"bodyParams": ["John Doe", "ORD-12345", "2,499"]
}'var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-App-Name", "your-app-name");
client.DefaultRequestHeaders.Add("X-Api-Key", "your-api-key");
var result = await client.PostAsJsonAsync(
"https://api.hkreach.in/api/external/send/template",
new {
to = "917096136319",
templateName = "order_confirmation",
thirdPartyAppName = "my_billing_software",
languageCode = "en",
bodyParams = new[] { "John", "ORD-12345" }
});
import requests
r = requests.post("https://api.hkreach.in/api/external/send/template",
headers={"X-App-Name":"your-app","X-Api-Key":"your-key"},
json={
"to":"917096136319",
"templateName":"order_confirmation",
"thirdPartyAppName":"my_billing_software",
"languageCode":"en",
"bodyParams":["John","ORD-12345"]
})
const res = await fetch("https://api.hkreach.in/api/external/send/template", {
method: "POST",
headers: { "X-App-Name": "your-app", "X-Api-Key": "your-key", "Content-Type": "application/json" },
body: JSON.stringify({
to: "917096136319",
templateName: "order_confirmation",
thirdPartyAppName: "my_billing_software",
languageCode: "en",
bodyParams: ["John", "ORD-12345"]
})
});Get your API credentials by creating an account or contact us for enterprise integration support.