Skip to content

Set up your WhatsApp Business API for free. No credit card needed.Set up your WhatsApp API for free.Get started

SDKs

Hello publishes open-source SDKs for Go, Node.js / TypeScript and Python. Each one is a thin, typed wrapper around the /v1 Integration API. They send the API key as a Bearer token, retry safely, parse both error formats and cover every endpoint in the API reference. All three are MIT licensed and live in the lakshyapocketlab GitHub organization.

Language Repository Install
Go 1.22+ hello-go go get github.com/lakshyapocketlab/hello-go
Node.js 18+ hello-node npm i @lakshyapocketlab/hello
Python 3.9+ hello-python pip install lakshyapocketlab-hello

The current release is 1.0.0 for all three. They follow semantic versioning, so breaking changes only come in a new major version.

Create an API key on the Integrations page of the dashboard (see Authentication) and keep it out of source control. Pass it to the client directly, or leave it out and the SDK reads the HELLO_API_KEY environment variable.

import { Hello } from "@lakshyapocketlab/hello";
const hello = new Hello({ apiKey: "hello_live_xxxxxxxxxxxxxxxx" }); // or new Hello() to read HELLO_API_KEY

The default base URL is https://helloapi.lakshyapocketlab.com. To point an SDK at staging or a self-hosted gateway, pass the base-URL option (baseUrl, base_url or hello.WithBaseURL) or set the HELLO_BASE_URL environment variable. The option wins over the variable.

Free-form text needs an open 24-hour customer-service window (see How sending works). to must include the + and country code.

import { Hello } from "@lakshyapocketlab/hello";
const hello = new Hello({ apiKey: process.env.HELLO_API_KEY });
const { data: numbers } = await hello.phoneNumbers.list();
const from = numbers[0]!.phone_number_id;
const res = await hello.messages.sendText(from, "+919999999999", "Your order has shipped.");
console.log(res.messages[0]?.hello_id);

Templates are the only message type that can start a conversation. The template must be approved on that number’s WABA.

await hello.messages.sendTemplate(from, "+919999999999", {
name: "order_shipped",
language: "en",
components: [{ type: "body", parameters: [{ type: "text", text: "Asha" }] }],
});

Every send returns a hello_id. Pass it to the message lookup to follow the message from queued through sent, delivered and read. This is GET /v1/messages/{id}.

const msg = await hello.messages.get(res.messages[0]!.hello_id);

The SDKs retry 429, 5xx and network errors (two retries by default, with backoff, honoring Retry-After). A message send is never retried unless you pass an idempotency key, so a billed message is not sent twice. With a key, a retry returns the original message.

await hello.messages.sendText(from, to, "hi", { idempotencyKey: crypto.randomUUID() });

Non-2xx responses raise a typed error carrying the HTTP status, the Meta error code, and Hello’s own code (helloCode in Node.js, hello_code in Python, HelloCode in Go). Branch on those codes, not on the message text. See Errors for the full list.

Each SDK also wraps media upload and download, the template endpoints (list, get, create, bulk-create, edit, sync, delete) and the direct webhook override. Each repository README has the full method table.

Runnable examples for all three SDKs live in hello-examples:

  • Message types: one small, copyable function per type: text, image, video, audio, document, sticker, location, contacts, reply buttons, list, call-to-action URL, reaction, reply with context and four template shapes. Each one follows the message through to delivered or read.
  • Smoke test: checks your setup end to end. It lists your templates, sends one authentication (OTP) template and one interactive message, and reports delivery.
  • Webhooks: a receiver for the direct webhook.
  • n8n: send WhatsApp messages from an n8n workflow.

Hello also runs an MCP server so an AI assistant can send messages and manage templates for you. Connect it over HTTP, or run it locally with npx @lakshyapocketlab/hello-mcp (hello-mcp). See Integrate with AI (MCP).