• SendexaDocs
QuickstartAuth
  • Overview
Get started
Communication
  • SMS API
  • Email APIBeta
  • WhatsApp API
  • Voice APIBeta
  • Live Chat APIBeta
  • USSD API
  • Live Video APIBeta
  • RCS Business MessagingPreview
  • In-App Chat SDKBeta
  • SIP TrunkingPreview
  • Mobile Push APIBeta
  • ExaLink APIBeta
Verification & identity
  • Verify API
  • Identity APIPreview
  • Fraud Guard APIBeta
  • Number Lookup / HLR APIBeta
Platform
  • SMPP API
  • Webhooks
  • Changelog

Open Dashboard

Keys, logs & billing

SendexaDocs
IntroductionQuickstartAuthenticationAPI Reference
GitHubDashDashboard
Pre-Built Codes
Copy & Paste

Pre-Built Codes

Production-ready code snippets for the most common Sendexa integration scenarios. Each snippet is self-contained, covers error handling, and works with your dashboard API token.

How to use these snippets

Replace YOUR_DASHBOARD_BASE64_TOKEN with the pre-computed token from Dashboard → Settings → API Keys. Every snippet is runnable as-is — no SDK or extra setup required.

OTP Login Flow
Auth
OTP
SMS

Full phone-number authentication — request, verify, and handle errors including rate limits and active OTP detection.

View snippet
SMS Notifications
SMS
Transactional

Transactional SMS for order confirmations, delivery alerts, and account events with delivery status handling.

View snippet
Bulk SMS Campaign
SMS
Bulk
Campaign

Send personalized messages to thousands of recipients — with batching, rate management, and per-recipient results.

View snippet
WhatsApp Messaging
WhatsApp
Rich Media
Interactive

Send text, media, interactive buttons, list menus, and template messages over the WhatsApp Business API.

View snippet
Webhook Handler
Webhooks
Security
Events

Verify HMAC-SHA256 signatures, parse delivery receipts, and respond to inbound events — production-ready.

View snippet
USSD Menu
USSD
Sessions
IVR

Multi-level USSD menu with session management, input routing, and CON/END response handling.

View snippet