We use essential cookies to make the site work. With your consent, we also use analytics + marketing cookies.
Five idiomatic SDKs kept in lockstep with the API. Auto-retry, typed models, webhook signature helpers, and MIT license. Source is on github.com/cpaas/sdks.
npm install @cpaas/node
import { CPaaS } from '@cpaas/node';
const client = new CPaaS({ apiKey: process.env.CPAAS_API_KEY! });
const msg = await client.messages.send({
channel: 'whatsapp',
to: '+919876543210',
template:'welcome_v1',
});pip install cpaas
from cpaas import CPaaS
client = CPaaS(api_key=os.environ["CPAAS_API_KEY"])
msg = client.messages.send(
channel="whatsapp",
to="+919876543210",
template="welcome_v1",
)go get github.com/cpaas/cpaas-go
import cpaas "github.com/cpaas/cpaas-go"
client := cpaas.New(os.Getenv("CPAAS_API_KEY"))
msg, err := client.Messages.Send(ctx, &cpaas.MessageSendParams{
Channel: "whatsapp",
To: "+919876543210",
Template: "welcome_v1",
})implementation "io.cpaas:cpaas-java:1.0.0"
CPaaS client = CPaaS.builder()
.apiKey(System.getenv("CPAAS_API_KEY"))
.build();
Message msg = client.messages().send(
MessageSendParams.builder()
.channel("whatsapp")
.to("+919876543210")
.template("welcome_v1")
.build());composer require cpaas/cpaas-php
use CPaaS\Client;
$client = new Client(['api_key' => getenv('CPAAS_API_KEY')]);
$msg = $client->messages->send([
'channel' => 'whatsapp',
'to' => '+919876543210',
'template' => 'welcome_v1',
]);All five SDKs implement the core surface. Advanced helpers roll out in this order: Node → Python → Go → Java → PHP.
| Feature | Node.js | Python | Go | Java | PHP |
|---|---|---|---|---|---|
| Messages send / list / retrieve | |||||
| Automatic retry with backoff | |||||
| Idempotency-Key helper | |||||
| Webhook signature verification | |||||
| Streaming inbound events | beta | beta | |||
| Async / await native | |||||
| Typed request / response models | beta | ||||
| Pagination auto-iterator | beta | beta | |||
| Bulk contact import | beta | beta | beta | ||
| File upload (media messages) |
Not on this list? The OpenAPI spec is a first-class artifact and generates cleanly with OpenAPI Generator. We track community SDKs for Ruby, Rust, .NET, Elixir, Kotlin, and Swift.