For the complete documentation index, see llms.txt. This page is also available as Markdown.

Outgoing Call Events

This document lists all the events triggered for outgoing calls in the Popin Seller App. Each event captures a specific stage or outcome of the call, providing detailed information about the agent, customer, call status, and associated product.


1. popin_outgoing_call_initiated

Description: Triggered when the agent starts a call to the customer. Payload:

{
    "event": "popin_outgoing_call_initiated",
    "session_id": "bf0b3a76-0596-4602-a2c3-43e0db01b991",
    "user_id": 58559,
    "call_id": 28844,
    "schedule_id": null,
    "agent": { "name": "Sasha", "email": "menonaiswarya0@gmail.com" },
    "user": { "name": "Demo Vishal", "email": "demo@example.com", "phone_number": null, "country_code": "+91" },
    "meta": { "product": { "name": "Wireless Headphones", "id": "SKU-123", "url": "https://example.com/products/headphones" } },
    "timestamp": 1771832273
}

2. popin_outgoing_call_accepted

Description: Triggered when the customer explicitly accepts the incoming call. Payload:


3. popin_outgoing_call_started

Description: Triggered when the call has started successfully. Payload:


4. popin_outgoing_call_successful

Description: Triggered when the call ends normally after a successful connection. Payload:


5. popin_outgoing_call_missed

Description: Triggered when the customer does not answer within the ringing timeout. Payload:


6. popin_outgoing_call_abandoned

Description: Triggered when the agent cancels the call before connection. Payload:


7. popin_outgoing_call_network_failure

Description: Triggered when an ongoing call disconnects due to network failure. Note: The participant field indicates where the network failure occurred. If "participant": "user", the failure is on the customer side; if "participant": "agent", it is on the agent side. Payload:


8. popin_outgoing_call_declined

Description: Triggered when the customer actively rejects the call. Payload:


9. popin_outgoing_call_busy

Description: Triggered when the customer is busy on another call. Payload:


10. popin_outgoing_call_customer_unavailable

Description: Triggered when the customer SDK is offline or unreachable. Payload:


11. popin_outgoing_call_ringing

Description: Triggered when the customer SDK begins alerting (ringing). Payload:

Last updated