circle-nodesEvents

This page documents all webhook events sent by KrosAI.

Event Format

All webhook events follow this structure:

{
  "event": "event.type",
  "id": "evt_abc123",
  "timestamp": "2025-01-10T12:00:00Z",
  "data": {
    // Event-specific data
  }
}

Call Events

call.initiated

Sent when a call is initiated (inbound or outbound).

{
  "event": "call.initiated",
  "id": "evt_001",
  "timestamp": "2025-01-10T12:00:00Z",
  "data": {
    "call_id": "call_abc123",
    "direction": "inbound",
    "from_number": "+14155551234",
    "to_number": "+2348012345678",
    "phone_number_id": "pn_123",
    "endpoint_id": "ep_456"
  }
}

call.ringing

Sent when the destination is ringing.

call.answered

Sent when the call is answered.

call.completed

Sent when a call ends normally.

call.failed

Sent when a call fails to connect.

Phone Number Events

phone_number.purchased

Sent when a phone number is purchased.

phone_number.released

Sent when a phone number is released.

phone_number.updated

Sent when a phone number configuration changes.

Endpoint Events

endpoint.created

endpoint.updated

endpoint.deleted

Recording Events

recording.ready

Sent when a call recording is processed and available.

transcript.ready

Sent when a call transcript is processed and available.

Port Request Events

port_request.submitted

port_request.completed

port_request.failed

Billing Events

balance.low

Sent when account balance falls below threshold.

payment.received

Event Subscriptions

Configure which events to receive when creating a webhook:

Event Wildcards

Subscribe to all events in a category:

  • call.* - All call events

  • phone_number.* - All phone number events

  • * - All events

Last updated