Kajaria GMB Call Data Push API

Integration Specification for RightChoice

Version 1.0

Overview

Kajaria requires call details to appear on the dashboard in real time. Instead of polling your API for each store, RightChoice should push every call to Kajaria immediately after it is logged.

This webhook should be triggered alongside your existing WhatsApp notification.

Endpoint

POST https://dashboard.kajariaceramics.com/cron/gmb_call_webhook.php

Property Value
Method POST
Content Type application/json
Encoding UTF-8
Health Check GET request returns API status

Authentication

Every request must include the API key.

X-API-Key: <your-api-key>

Alternatively:

Authorization: Bearer <your-api-key>
Unauthorized requests return 401 Unauthorized.

Single Call Payload

{
  "website_id": 10432,
  "sap_code": "KAJ00123",
  "call_log_id": "RC-88213904",
  "call_number_with_c_code": "+919812345678",
  "call_start_time": "2026-07-28T14:32:07+05:30",
  "call_duration_minutes": 2.45,
  "call_did_number": "+911140001234",
  "call_event_type": "ANSWERED",
  "substatus": "COMPLETED",
  "call_recording_file_link": "https://cdn.rightchoice.ai/rec/88213904.mp3",
  "total_calls_from_caller": 3,
  "prev_calls_count": 2
}

Batch Payload

{
  "calls":[
    {
      "website_id":10432,
      "call_log_id":"RC-88213904"
    },
    {
      "website_id":10433,
      "call_log_id":"RC-88213905"
    }
  ]
}

Maximum 500 records per request.
Maximum request size: 2 MB.

Field Reference

Field Type Required Description
website_id Integer Yes Kajaria Store Code
call_log_id String Yes Unique Call Identifier
sap_code String No SAP Dealer Code
call_number_with_c_code String No Caller Number
mobile String No 10 digit mobile number
call_start_time ISO 8601 No Call start timestamp
call_duration_minutes Decimal No Duration in minutes
call_did_number String No DID Number
call_event_type String No ANSWERED / MISSED
substatus String No Call Status
call_recording_file_link URL No Recording URL
total_calls_from_caller Integer No Total Calls
prev_calls_count Integer No Previous Calls

Success Response

{
  "status":"success",
  "received":2,
  "stored":2,
  "rejected":0,
  "failed":0,
  "results":[
    {
      "index":0,
      "call_log_id":"RC-88213904",
      "status":"accepted"
    },
    {
      "index":1,
      "call_log_id":"RC-88213905",
      "status":"updated"
    }
  ]
}

Status Codes

Code Description Retry
200 Success No
400 Bad Request No
401 Unauthorized No
403 Forbidden No
405 Method Not Allowed No
413 Payload Too Large No
500 Server Error Yes
503 Database Unavailable Yes

Retry Policy


30 Seconds
2 Minutes
5 Minutes
15 Minutes
1 Hour

Recordings

Backfill & Reconciliation

Testing with cURL

curl -X POST https://dashboard.kajariaceramics.com/cron/gmb_call_webhook.php \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
  "website_id":10432,
  "call_log_id":"TEST-001",
  "call_number_with_c_code":"+919812345678",
  "call_start_time":"2026-07-28T14:32:07+05:30",
  "call_duration_minutes":1.5,
  "call_event_type":"ANSWERED",
  "substatus":"COMPLETED"
}'