Reach your audience
instantly with CastBrick

Email & SMS API for developers

Trusted by modern teams in Africa

Built for Developers

The best developer experience for sending emails and SMS

Type-Safe SDKs

Official SDKs for Node.js, Python, Go, and PHP. Full TypeScript support for a better DX.

Webhooks & Events

Real-time HTTP callbacks for delivery, bounces, and clicks. Easy to integrate with your backend.

Reliable Infrastructure

99.9% uptime SLA with automatic retries and geographically distributed edge delivery.

Simple, Powerful API

SDKs for your favorite languages and frameworks

JS
JavaScript
PY
Python
GO
Go
PHP
PHP

Developer SDK

const castbrick = new CastBrick("api_key");

// Send email
await castbrick.sendEmail({
  from: "hello@company.com",
  to: "user@example.com",
  subject: "Welcome!",
  html: "<h1>Hello World</h1>"
});

// Send SMS
await castbrick.sendSms({
  to: "+244900000000",
  message: "Your code: 123456"
});

Developer Console

RECENT EVENTS ● LIVE
200
POST /api/v1/emails/send
id: msg_82kLp92... status: delivered
200
POST /api/v1/sms/send
id: sms_3j2M1qP... status: sent
200
GET /api/v1/webhooks/logs
RETRY
LOGS