NEW Agentic AI Workflows & WhatsApp Commerce Cloud are now live! Explore APIs
Alot Solutions
API Specifications • OpenAPI 3.1

REST API Reference

Complete REST API reference with request/response schemas, error codes, rate limits, and multi-language executable examples.

Production Gateway v3.0 Active
https://api.alotsolutions.com/v3
Authentication
Bearer <API_KEY>
Format
JSON / HTTPS
Max Throughput
10,000+ TPS
Idempotency
X-Idempotency-Key
OUR SOLUTIONS

API Categories

Discover purpose-built endpoints engineered for scale, high-throughput delivery, and rich customer interaction.

Messaging API
Core Engine

Messaging API

Send SMS, WhatsApp Business, and Rich Communication Services (RCS) with unified template rendering, carousel cards, and interactive buttons.

POST /v3/messages
Verify OTP API
Sub-2s SLA

Verify / OTP API

Generate, dispatch, and validate one-time passcodes with intelligent multi-channel fallback routing (WhatsApp → SMS → Voice IVR).

POST /v3/otp/send & verify
Voice API
Telephony

Voice API

Programmatic outbound calling, Text-to-Speech (TTS), interactive dynamic IVR menus, call recording, and real-time status webhooks.

POST /v3/voice/calls
Chatbot API
AI Flows

Chatbot API

Manage multi-turn conversational sessions, user context, intent matching, human agent live handoff, and GenAI automated responses.

POST /v3/chatbot/conversations
Webhooks
Real Time

Webhooks

Event payload definitions, HMAC SHA-256 signature verification headers, timestamp validation, and automatic retry rules.

EVENT message.delivered, user.reply
Accounts and Usage
Management

Accounts & Usage

Query real-time wallet credits, channel balance breakdowns, TPS limits, sub-account provisions, and programmatic usage analytics.

GET /v3/account/usage
Interactive Explorer

Endpoint Schemas & Responses

Inspect exact request parameters, headers, and JSON responses for all core API endpoints.

POST /v3/messages

Sends an omnichannel message over WhatsApp, SMS, or RCS. If the primary channel fails or is not supported by the handset, the engine will automatically fallback to the specified fallback channel.

Required Headers
Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json
X-Idempotency-Key: <UUID>
// Request Payload
{
  "channel": "whatsapp",
  "to": "+919876543210",
  "template_name": "shipping_update_v2",
  "parameters": {
    "customer_name": "Rahul Sharma",
    "tracking_id": "ALOT-88231",
    "eta": "Tomorrow by 5 PM"
  },
  "fallback": {
    "channel": "sms",
    "sender_id": "ALOTIN",
    "dlt_template_id": "110716123456789"
  }
}
POST /v3/otp/send

Generates a cryptographically secure 4-8 digit OTP with customizable expiry and automatic multi-tier delivery over direct telco routes.

Authorization: Bearer <YOUR_API_KEY>
Content-Type: application/json
// Request & Response
{
  "phone": "+919876543210",
  "otp_length": 6,
  "expiry_seconds": 300,
  "channels": ["whatsapp", "sms"]
}

// Response: HTTP 200 OK
{
  "status": "success",
  "request_id": "req_otp_99214a",
  "dispatched_via": "whatsapp",
  "expires_at": "2026-09-18T06:15:00Z"
}
POST /v3/voice/calls

Triggers an outbound phone call with Text-to-Speech audio or an audio file URL, optionally capturing DTMF user keypresses.

// Request Payload
{
  "to": "+919876543210",
  "caller_id": "+912248900000",
  "tts_text": "Your one-time passcode for Alot Banking is 4, 8, 2, 9.",
  "record": true,
  "callback_url": "https://yourapp.com/webhooks/voice"
}
EVENT Webhook Dispatch

Alot Solutions signs all webhook payloads with an HMAC-SHA256 signature passed in the X-Alot-Signature header so you can verify authenticity.

// Webhook Inbound JSON
{
  "event": "message.delivered",
  "message_id": "msg_99214f882",
  "channel": "whatsapp",
  "recipient": "+919876543210",
  "status": "DELIVRD",
  "delivered_at": "2026-09-18T06:10:22Z",
  "carrier_code": "JIO_IND"
}

Standard HTTP & CPaaS Error Codes

Predictable, structured JSON errors for fast debugging.

HTTP Code Error String Description Recommended Action
400 ERR_INVALID_PAYLOAD Required parameter missing or malformed JSON. Check schema and phone number format (E.164).
401 ERR_UNAUTHORIZED Missing or invalid Bearer API token. Verify credentials in Alot Developer Console.
422 ERR_DLT_TEMPLATE_MISMATCH Provided message body does not match registered TRAI DLT template. Ensure variable text matches registered DLT template rules.
429 ERR_RATE_LIMIT_EXCEEDED Account Transactions Per Second (TPS) limit reached. Implement exponential backoff or request TPS limit increase.
504 ERR_CARRIER_TIMEOUT Downstream telco carrier node did not respond within SLA. Auto-fallback triggered; check webhook status.