Getting started
The WRNexus API sends SMS, WhatsApp Business and email messages from your own software, over one API key per organization.
Sign in to WRNexus
Every API key belongs to an organization. If you don't have one yet, create an account first.
Verify your identity
Sending live messages requires identity verification (KYC) on your organization, from Account → Security.
Generate an API key
Create a key scoped to the apps and operations you need. See Generate an API key.
Allow your server's IP
Requests are only accepted from addresses on your organization's allowed list. See Allowed IPs.
Configuration
Every operation is a GET or POST request to https://api.wrnexus.com/<app>/<operation>, where app is sms, whatsapp or email. There is one active version of the API today; a future breaking change would ship as a new base path rather than move existing integrations.
Local development: point requests at http://api.localhost:3000 instead. Requests still need a real API key and an allowed IP.
Authentication
Send your key as a bearer token. X-API-Key is also accepted.
Authorization: Bearer YOUR_API_KEY
Keys are scoped: an organization can create keys limited to specific apps and specific operations, and every call is checked against that scope, the caller's IP allowlist and identity verification before it reaches an app.
Make your first request
Here's a complete example: sending an approved SMS template.
curl -X POST "https://api.wrnexus.com/sms/send" \
-H "Authorization: Bearer $WRNEXUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination": "+919876543210",
"templateName": "login_otp",
"senderName": "WRNXUS",
"variables": {
"otp": "482913"
},
"idempotencyKey": "order-1042-otp"
}'A successful response:
{
"ok": true,
"messageId": "msg_2h6k9f3s",
"status": "queued",
"message": "Queued: WRNexus is busy, sending shortly.",
"requestId": "req_8a2f1c"
}Every response includes a requestId — include it when contacting support about a specific call.
Next steps
Integrating with an AI coding agent? Give it the agent documentation index or the complete integration guide. Ask it to use your language's published SDK and keep API keys on your server.
- Set up webhooks to get delivery updates instead of polling.
- Browse the full API reference, grouped by app.
- Manage your API keys in Account.