Developer Reference
Public REST API & Outbound Webhooks
Programmatic API access for message dispatch, contact CRUD, and webhook events.
NX CRM provides a developer-friendly REST API for custom backend integrations, ERPs, and automated triggers.
1. Generating API Keys
Go to Settings → API Keys tab in your dashboard.
Create a scoped API key (read:contacts, write:messages, etc.) and store the secret token securely.
2. Outbound Message Dispatch
Send messages programmatically by making an authorized POST request to /api/v1/messages with your API Key header.
curl -X POST https://nxcrm.online/api/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "+919876543210",
"text": "Hello! Your appointment is confirmed for tomorrow."
}'