CodeMandi API
Programmatic access to virtual numbers. Coming Soon.
Launching Soon
We're building a powerful REST API that gives developers full programmatic access to the CodeMandi virtual number network. Join the waitlist to get early access.
send Join the Waitlist on TelegramWhat Will Be Available
A full-featured API designed for developers and automation workflows.
REST API with JSON
Clean, predictable REST endpoints with JSON request and response bodies. Easy to integrate with any language or framework.
Browse by Country & Platform
Query available virtual numbers filtered by country code and target platform (WhatsApp, Telegram, Google, etc.).
Purchase Number Endpoint
Programmatically purchase a virtual number and receive it instantly in the API response.
Check OTP Status
Poll the OTP status endpoint to check if an SMS has been received and retrieve the code when available.
Webhook Support
Register a webhook URL to receive real-time push notifications when an OTP is delivered — no polling needed.
API Key Management
Generate, rotate, and revoke API keys from your dashboard with read-only or full-access permissions.
Preview
A glimpse of what the API will look like.
# Buy a WhatsApp number from India curl -X POST https://api.codemandi.com/v1/numbers/buy \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform": "whatsapp", "country": "IN"}'
# Response { "success": true, "number": "+91 98765 43210", "order_id": "ord_abc123xyz", "expires_at": "2025-04-15T12:30:00Z", "platform": "whatsapp", "country": "IN" }
# Poll for OTP delivery curl https://api.codemandi.com/v1/numbers/ord_abc123xyz/otp \ -H "Authorization: Bearer YOUR_API_KEY"
# Response (OTP received) { "status": "received", "otp": "829415", "received_at": "2025-04-15T12:28:44Z", "message": "Your WhatsApp code is 829415" }
Get Early API Access
Message us on Telegram to join the early access waitlist. We'll notify you as soon as the API is ready and give you priority access.
send Message @CodemandisupportTell us your use case and we'll get back to you within 2 hours.