API reference
Every endpoint, field, response and webhook event — searchable, with examples.
https://sms21.in/v1Authentication
X-API-Key: sms21_live_…
or Authorization: Bearer sms21_…
Responses are JSON with success next to the data; errors carry a stable error.code. Send an Idempotency-Key header on POST requests to retry safely. Test keys (sms21_test_…) never deliver or charge.
Messaging
Send one-time passwords, transactional SMS and bulk campaigns.
OTP2
Send and verify one-time passwords.
- post
/v1/otp/send - post
/v1/otp/verify
View reference
SMS1
Transactional SMS with DLT templates.
- post
/v1/sms/send
View reference
Bulk8
Bulk campaigns and the opt-out list.
- get
/v1/sms/bulk - post
/v1/sms/bulk - get
/v1/sms/bulk/{batchId}
View all 8
Simple SMS (v2)5
Send with number, message, sender and DLT template ID — JSON or a form post, key in the header or body. Paths start at /v2.
- post
/v2/sms/send - get
/v2/sms/status - post
/v2/sms/status
View all 5
The official Business Platform and numbers linked by QR code.
WhatsApp2
WhatsApp Business Platform messages.
- post
/v1/whatsapp/send - post
/v1/whatsapp/template
View reference
WhatsApp Connect8
Messages and campaigns sent from your own WhatsApp numbers, linked by QR code in the dashboard (plugin). Uses the WhatsApp Web protocol, not the official Business API.
- post
/v1/whatsapp-connect/send - get
/v1/whatsapp-connect/bulk - post
/v1/whatsapp-connect/bulk
View all 8
Audience
Saved contact lists, replies and opt-outs.
Tracking & account
Delivery status, reports, your API key and wallet.
Events
Signed POST requests SMS21 sends to your endpoints.