SDKs
SDKs & Libraries
Official Sendexa client libraries for every major language and framework. All seven SDKs are available — pick your language and start building.
Node.js
v0.1.0
JavaScript & TypeScript SDK for Node.js 18+, Cloudflare Workers, Vercel Edge, and Deno.
npm install sendexaimport { Sendexa } from 'sendexa';
const client = new Sendexa({
apiKey: process.env.SENDEXA_API_KEY!,
apiSecret: process.env.SENDEXA_API_SECRET!,
});
const { data } = await client.sms.send({
to: '0244123456',
from: 'MyBrand',
message: 'Hello from Sendexa!',
});View docs
Python
v0.1.0
Python SDK for Django, Flask, FastAPI, and any Python 3.9+ environment.
pip install sendexafrom sendexa import Sendexa client = Sendexa( api_key="...", api_secret="..." ) response = client.sms.send( to="0244123456", from_="MyBrand", message="Hello from Sendexa!" )
View docs
Java
v0.1.0
Java SDK for Spring Boot, Quarkus, and any JVM-based application.
implementation 'co.sendexa:sdk:0.1.0'Sendexa client = Sendexa.builder()
.apiKey("...")
.apiSecret("...")
.build();
client.sms().send(
SendSMSRequest.builder()
.to("0244123456")
.from("MyBrand")
.message("Hello from Sendexa!")
.build()
);View docs
.NET
v0.1.0
C# SDK for ASP.NET Core, Azure Functions, and any .NET 6+ application.
dotnet add package Sendexa.SDKusing Sendexa;
var client = new SendexaClient(new SendexaConfig {
ApiKey = "...",
ApiSecret = "..."
});
await client.Sms.SendAsync(new SendSmsRequest {
To = "0244123456",
From = "MyBrand",
Message = "Hello from Sendexa!"
});View docs
PHP
v0.1.0
PHP SDK for Laravel, Symfony, and any PHP 8.1+ application.
composer require sendexa/sdkuse Sendexa\Sendexa; $client = new Sendexa([ 'apiKey' => '...', 'apiSecret' => '...', ]); $client->sms->send([ 'to' => '0244123456', 'from' => 'MyBrand', 'message' => 'Hello from Sendexa!', ]);
View docs
Ruby
v0.1.0
Ruby SDK for Rails, Sinatra, and any Ruby 3.0+ application.
gem install sendexarequire 'sendexa' client = Sendexa::Client.new( api_key: '...', api_secret: '...' ) client.sms.send( to: '0244123456', from: 'MyBrand', message: 'Hello from Sendexa!' )
View docs
Go
v0.1.0
Go SDK for any Go 1.21+ service, microservice, or serverless function.
go get github.com/sendexa/sendexa-goclient := sendexa.New(
sendexa.WithAPIKey("..."),
sendexa.WithSecret("..."),
)
resp, err := client.SMS.Send(ctx, &sms.SendRequest{
To: "0244123456",
From: "MyBrand",
Message: "Hello from Sendexa!",
})View docs