Webhook API
Bi-directional data flow for your call operations. Receive enrichment data before calls and push events to any platform in real-time—all managed through our intuitive dashboard.
COMING SOONDirect RESTful API access & developer documentation
Complete Webhook Solution
Everything you need to integrate Moja AI with your existing tools and workflows—all configurable through our dashboard.
Incoming Webhooks
Receive data from external systems before, during, or after calls. Enrich your call data with CRM info, lead scores, and more.
Outgoing Webhooks
Push call events to any platform. Notify Slack, update your CRM, trigger automations—all in real-time.
Custom Tags
Create dynamic tags from multiple sources including RTB, landing pages, SIP headers, and webhooks for powerful tracking.
Flexible Payloads
Support for JSON, form data, and custom body formats. Use dynamic tags to include call data in your payloads.
Secure Authentication
Every webhook includes unique auth keys. Control access and ensure only authorized requests reach your endpoints.
Detailed Logging
Full request/response logging for debugging. View headers, query params, and bodies for every webhook call.
Receive Data Before Calls Connect
Enrich your calls with data from any external source. Use incoming webhooks to pass lead information, customer data, or any custom attributes before the call even starts.
- Unique webhook URLs with auth keys
- Configurable lifespan for data validity
- Multiple webhook types (Pre-call, Post-call)
Webhook URL
Use this URL to send incoming webhook requests. The auth key is required for authentication.
Replace tag1=value1 with your actual query parameters
Edit Incoming Webhook
Update webhook configuration details
How long the webhook configuration should remain valid (in seconds). Defaults to 3600 seconds (1 hour).
Edit Outgoing Webhook
Update outgoing webhook configuration
{
"chat_id": -5002186479,
"text": "✅ *Call Converted*\n\n📞 Call ID: `[CALL_ID]`\n🔗 Call SID: `[CALL_SID]`\n👤 From: `[FROM]`\n📢 Campaign: *[CAMPAIGN_NAME]*\n🏢 Buyer: *[BUYER_NAME]*\n💰 Buyer Payout: *[REVENUE_PAID_OUT]*\n📤 Publisher: *[PUBLISHER_NAME]*\n⏱ Duration: *[DURATION]s*\n💵 Publisher Payout: *[CONFIGURED_PUBLISHER_PAYOUT]*\n⏰ Converted At: *[CALL_CONVERTED_AT]*"
}Push Events to Any Platform
Send call events to Slack, Telegram, your CRM, or any system that accepts webhooks. Use dynamic tags to include real-time call data in your payloads.
Supported Event Types
HTTP Methods
Flexible Data Tagging
Create custom tags from multiple sources to categorize and track your calls for better analytics and reporting.
About Tags
These tags are attached to calls and can come from multiple sources including:
- Inbound RTB (Real-Time Bidding)
- Landing Pages
- SIP Headers
- Incoming Webhooks
Use these tags to categorize and track your calls for better analytics and reporting.
| Tag Name | Display Name | Description | Actions |
|---|---|---|---|
FLIGHT_INCOMING | flight_incoming | - | |
HOMEOWNER | homeowner | - | |
AGE | age | - |
Detailed Request Logging
Full visibility into every webhook request. Debug issues quickly with comprehensive logs.
Incoming Webhook Requests
View all incoming webhook requests received by your organization
| Request ID | Method | Path | Headers |
|---|---|---|---|
| 287475ef-72b3-4649-a342-8c2e88f5 | GET | /call-data | |
| f86e388e-5e35-4f59-81e9-68c95256 | GET | /call-data | |
| 16068eb6-253e-4c9e-ae3a-f51bbead | GET | /call-data | |
| 5cc589cd-19ec-4d6a-a2bd-ddfdc3c6 | GET | /call-data | |
| 931520bf-5e7a-442d-a18e-6195c6d3 | GET | /call-data |
Outgoing Webhook Requests
View all outgoing webhook requests sent by your organization
| Webhook | Event Type | Method |
|---|---|---|
| Slack Notifications | On incoming call | POST |
| Slack Notifications | On incoming call | POST |
| CRM Sync Webhook | On hangup | POST |
| CRM Sync Webhook | On hangup | POST |
| Telegram Alerts | On converted | POST |
{
"x-forwarded-for": "xxx.xxx.xxx.xxx",
"x-forwarded-proto": "https",
"x-forwarded-port": "443",
"host": "webhooks.moja.cloud",
"x-amzn-trace-id": "Root=1-69407197-3ea4f4427f01144376cb2a59",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)...",
"accept": "text/html,application/xhtml+xml,application/xml...",
"accept-language": "en-US,en;q=0.7",
"accept-encoding": "gzip, deflate, br, zstd",
"priority": "u=0, i"
}{
"ok": true,
"result": {
"message_id": 45,
"from": {
"id": 8360228365,
"is_bot": true,
"first_name": "Moja AI_Bot",
"username": "Moja AI_Bot"
},
"chat": {
"id": -5002186479,
"title": "Sales & Moja AI Bot",
"type": "group"
},
"text": "✅ Call Converted\n\n📞 Call ID: b88d2ccc...\n💰 Buyer Payout: 90\n📤 Publisher: Medi-Pub"
}
}