Skip to main content
Activity payloads are sent via webhooks when activities are completed. Below are examples of payloads for different connection states.
This payload is sent when a call attempt is made but the contact is not reached (e.g., busy, no answer).
{
  "action_type": "update",
  "activityId": "69647xxxxxxxxxxxx3b0727a",
  "leadId": "69610xxxxxxxxxxxx5990420",
  "lastActivityId": "69647xxxxxxxxxxxx3b0725d",
  "processId": "6932exxxxxxxxxxxxac2f00d",
  "referenceId": "AB123456789",
  "timestamp": 1768193759048,
  "activity": {
    "type": "call",
    "status": "success",
    "fromState": "make_first_call",
    "toState": "schedule_second_call",
    "scheduledAt": 1768193400000,
    "result": {
      "success": true,
      "type": "call",
      "leadId": "69610xxxxxxxxxxxx5990420",
      "projectId": "681dbxxxxxxxxxxxx1645120",
      "activityId": "69647xxxxxxxxxxxx3b0727a",
      "referenceId": "AB123456789",
      "flowId": "6953dxxxxxxxxxxxx815c424",
      "channelId": 5,
      "hasTransfer": false,
      "telephonyType": "provider",
      "input": {
        "make_call": "yes",
        "circle": "GJ",
        "sirOrMam": "Sir",
        "hindi_name": "सर",
        "lastStateTransition": "2026-01-12T04:49:42.276Z",
        "scheduledTime": 1768193400000,
        "schedulingMethod": "standard",
        "called": true,
        "connected": true,
        "priorSummary": "Lead Details: Contacting John Doe.\nActivities:\n- schedule:  on 10:19 AM (Mon, Jan 12, 2026).\n- call: Agent attempted to reach the customer but no conversation took place because the line was busy. No information was collected, no callback was scheduled, and the call attempt ended without engagement.",
        "name": "John Doe",
        "leadId": "69610xxxxxxxxxxxx5990420",
        "projectId": "681dbxxxxxxxxxxxx1645120",
        "referenceId": "AB123456789",
        "currentDate": "January 12, 2026",
        "currentDayTime": "Monday 10:24"
      },
      "wsId": 13,
      "callRequest": {},
      "providerCallId": "xxxxxxxxxxxxxxxx",
      "callMetadata": {},
      "status": "completed",
      "analysis": {
        "success": false,
        "disposition": "Attempted",
        "dispositionType": "neutral",
        "summary": "Agent called the lead but no conversation took place because the contact was busy. Call did not progress and no information was collected or confirmed. No callback time was scheduled.",
        "timestamp": 1768193758848
      },
      "callStatus": "busy",
      "nextState": "schedule_second_call"
    }
  },
  "leadSummary": "Lead Details: Contacting John Doe.\nActivities:\n- call: Agent called the lead but no conversation took place because the contact was busy. Call did not progress and no information was collected or confirmed. No callback time was scheduled.",
  "leadDisposition": "Attempted"
}

Key Fields for Not Connected State

  • callStatus: "busy" - Indicates the call was not connected
  • analysis.success: false - No successful conversation
  • analysis.disposition: "Attempted" - Call was attempted but not completed
  • connected: true in input but call didn’t result in conversation
  • conversation: Not present in the payload

Common Fields

  • action_type: Type of webhook action (e.g., “create”, “update”)
  • activityId: Unique identifier for the activity
  • leadId: Unique identifier for the lead
  • referenceId: Your custom reference identifier
  • timestamp: Unix timestamp in milliseconds
  • activity.type: Type of activity (e.g., “call”)
  • activity.status: Overall status of the activity
  • activity.fromState: Previous state in the process flow
  • activity.toState: New state after the activity
  • leadSummary: Human-readable summary of the lead’s activities
  • leadDisposition: Current disposition of the lead