[
    {
        "event": "appointment.booked",
        "group": "appointment",
        "description": "Signed delivery when an appointment is booked on the booking page, through a flow, in the chat or by an agent. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "appointment.booked",
            "payload": {
                "appointment_id": 31,
                "reference": "A7K2Q9",
                "status": "confirmed",
                "contact_id": 12,
                "service_id": 3,
                "service": "Initial Consultation",
                "member_user_id": 5,
                "starts_at": "2026-10-13T14:00:00Z",
                "ends_at": "2026-10-13T14:30:00Z",
                "previous_starts_at": null,
                "source": "page",
                "canceled_by": null,
                "cancel_reason": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "appointment.canceled",
        "group": "appointment",
        "description": "Signed delivery when an appointment is canceled by the customer, the team or a flow. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "appointment.canceled",
            "payload": {
                "appointment_id": 31,
                "reference": "A7K2Q9",
                "status": "canceled",
                "contact_id": 12,
                "service_id": 3,
                "service": "Initial Consultation",
                "member_user_id": 5,
                "starts_at": "2026-10-13T14:00:00Z",
                "ends_at": "2026-10-13T14:30:00Z",
                "previous_starts_at": null,
                "source": "page",
                "canceled_by": "customer",
                "cancel_reason": "Something came up"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "appointment.no_show",
        "group": "appointment",
        "description": "Signed delivery when an appointment is marked a no-show. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "appointment.no_show",
            "payload": {
                "appointment_id": 31,
                "reference": "A7K2Q9",
                "status": "no_show",
                "contact_id": 12,
                "service_id": 3,
                "service": "Initial Consultation",
                "member_user_id": 5,
                "starts_at": "2026-10-13T14:00:00Z",
                "ends_at": "2026-10-13T14:30:00Z",
                "previous_starts_at": null,
                "source": "manual",
                "canceled_by": null,
                "cancel_reason": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "appointment.rescheduled",
        "group": "appointment",
        "description": "Signed delivery when an appointment moves to a new time. previous_starts_at holds the old start. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "appointment.rescheduled",
            "payload": {
                "appointment_id": 31,
                "reference": "A7K2Q9",
                "status": "confirmed",
                "contact_id": 12,
                "service_id": 3,
                "service": "Initial Consultation",
                "member_user_id": 5,
                "starts_at": "2026-10-13T14:00:00Z",
                "ends_at": "2026-10-13T14:30:00Z",
                "previous_starts_at": "2026-10-12T15:00:00Z",
                "source": "page",
                "canceled_by": null,
                "cancel_reason": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "billing.payment.completed",
        "group": "billing",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "billing.payment.completed",
            "payload": {
                "transaction_id": 42,
                "invoice_number": "INV-2026-0042",
                "amount": 25,
                "currency": "USD",
                "type": "credit_purchase",
                "payment_method": "stripe"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "billing.subscription.activated",
        "group": "billing",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "billing.subscription.activated",
            "payload": {
                "subscription_id": 42,
                "user_id": 12,
                "plan_id": 3,
                "status": "active"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "billing.subscription.cancelled",
        "group": "billing",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "billing.subscription.cancelled",
            "payload": {
                "subscription_id": 42,
                "user_id": 12,
                "plan_id": 3,
                "status": "cancelled"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "billing.subscription.expired",
        "group": "billing",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "billing.subscription.expired",
            "payload": {
                "subscription_id": 42,
                "user_id": 12,
                "plan_id": 3,
                "status": "expired"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "billing.subscription.extended",
        "group": "billing",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "billing.subscription.extended",
            "payload": {
                "subscription_id": 42,
                "user_id": 12,
                "plan_id": 3,
                "status": "active",
                "days": 30
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "call.answered",
        "group": "call",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "call.answered",
            "payload": {
                "id": 42,
                "channel": "phone_bridge",
                "connection": {
                    "id": 7,
                    "name": "Support Phone"
                },
                "direction": "inbound",
                "from": "+14155550100",
                "to": "+14155550101",
                "contact_id": 12,
                "status": "in_progress",
                "outcome": null,
                "origin": "inbound",
                "started_at": "2026-10-10T12:00:00+00:00",
                "answered_at": "2026-10-10T12:00:05+00:00",
                "ended_at": null,
                "duration_seconds": null,
                "billable_minutes": 0,
                "handled_by": {
                    "type": "phone"
                },
                "flow_id": null,
                "has_recording": false,
                "has_voicemail": false,
                "has_transcript": false,
                "menu_choices": [],
                "hangup_reason": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "call.ended",
        "group": "call",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "call.ended",
            "payload": {
                "id": 42,
                "channel": "phone_bridge",
                "connection": {
                    "id": 7,
                    "name": "Support Phone"
                },
                "direction": "inbound",
                "from": "+14155550100",
                "to": "+14155550101",
                "contact_id": 12,
                "status": "ended",
                "outcome": "answered_on_phone",
                "origin": "inbound",
                "started_at": "2026-10-10T12:00:00+00:00",
                "answered_at": "2026-10-10T12:00:05+00:00",
                "ended_at": "2026-10-10T12:01:00+00:00",
                "duration_seconds": 55,
                "billable_minutes": 1,
                "handled_by": {
                    "type": "phone"
                },
                "flow_id": null,
                "has_recording": false,
                "has_voicemail": false,
                "has_transcript": false,
                "menu_choices": [],
                "hangup_reason": "remote_hangup"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "call.started",
        "group": "call",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "call.started",
            "payload": {
                "id": 42,
                "channel": "phone_bridge",
                "connection": {
                    "id": 7,
                    "name": "Support Phone"
                },
                "direction": "inbound",
                "from": "+14155550100",
                "to": "+14155550101",
                "contact_id": 12,
                "status": "ringing",
                "outcome": null,
                "origin": "inbound",
                "started_at": "2026-10-10T12:00:00+00:00",
                "answered_at": null,
                "ended_at": null,
                "duration_seconds": null,
                "billable_minutes": 0,
                "handled_by": null,
                "flow_id": null,
                "has_recording": false,
                "has_voicemail": false,
                "has_transcript": false,
                "menu_choices": [],
                "hangup_reason": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "campaign.completed",
        "group": "campaign",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "campaign.completed",
            "payload": {
                "id": 42,
                "name": "October Appointment Reminders",
                "channel": "sms",
                "total_recipients": 100,
                "sent_count": 98,
                "delivered_count": 95,
                "failed_count": 2
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "campaign.started",
        "group": "campaign",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "campaign.started",
            "payload": {
                "id": 42,
                "name": "October Appointment Reminders",
                "channel": "sms",
                "total_recipients": 100
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "commerce.order.cancelled",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.cancelled",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "none",
                    "status": "cancelled"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.cod_cancelled",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.cod_cancelled",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "cancelled",
                    "status": "pending"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.cod_confirmed",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.cod_confirmed",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "confirmed",
                    "status": "pending"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.created",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.created",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "none",
                    "status": "pending"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.delivered",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.delivered",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "none",
                    "status": "fulfilled"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.fulfilled",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.fulfilled",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "none",
                    "status": "fulfilled"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.paid",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.paid",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "none",
                    "status": "paid"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "commerce.order.refunded",
        "group": "commerce",
        "description": "Transactional store order event. Signed with the standard tenant webhook signature. A live store plugin, its store plan access and API access are required. Order total is a formatted amount with currency; amount is the integer minor unit or Stars value.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "commerce.order.refunded",
            "payload": {
                "order": {
                    "id": 1,
                    "number": "#1001",
                    "total": "50.00 USD",
                    "amount": 5000,
                    "currency": "USD",
                    "items": "2 \u00d7 Cotton Shirt",
                    "provider": "telegram",
                    "store_id": 1,
                    "cod_state": "none",
                    "status": "refunded"
                },
                "store": {
                    "id": 1,
                    "name": "Example Store",
                    "provider": "telegram"
                },
                "contact_id": 2,
                "connection_id": 3,
                "connection_type": "telegram_bot",
                "from": "123456"
            },
            "sent_at": "2026-10-15T12:00:00Z"
        }
    },
    {
        "event": "contact.created",
        "group": "contact",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "contact.created",
            "payload": {
                "id": 12,
                "phone": "+14155550100",
                "name": "Jane Smith"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "contact.unsubscribed",
        "group": "contact",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "contact.unsubscribed",
            "payload": {
                "id": 12,
                "phone": "+14155550100"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "conversation.assigned",
        "group": "conversation",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "conversation.assigned",
            "payload": {
                "conversation_id": 42,
                "contact_id": 12,
                "channel": "sms",
                "status": "open",
                "priority": "normal",
                "team_id": 3,
                "assigned_agent_id": 8,
                "previous_agent_id": null,
                "agent_name": "Alex Johnson",
                "type": "assigned"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "conversation.created",
        "group": "conversation",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "conversation.created",
            "payload": {
                "conversation_id": 42,
                "contact_id": 12,
                "channel": "sms",
                "status": "open",
                "priority": "normal",
                "team_id": 3,
                "assigned_agent_id": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "conversation.resolved",
        "group": "conversation",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "conversation.resolved",
            "payload": {
                "conversation_id": 42,
                "contact_id": 12,
                "channel": "sms",
                "status": "resolved",
                "priority": "normal",
                "team_id": 3,
                "assigned_agent_id": 8,
                "resolved_by_user_id": 8
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "csat.received",
        "group": "csat",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "csat.received",
            "payload": {
                "conversation_id": 42,
                "contact_id": 12,
                "channel": "sms",
                "status": "resolved",
                "priority": "normal",
                "team_id": 3,
                "assigned_agent_id": 8,
                "rating": 5,
                "agent_id": 8
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "device.offline",
        "group": "device",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "device.offline",
            "payload": {
                "connection": {
                    "id": 7,
                    "name": "Support Phone",
                    "channel": "phone_bridge",
                    "device_kind": "adapter"
                },
                "phone_connected": false,
                "last_seen_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "device.online",
        "group": "device",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "device.online",
            "payload": {
                "connection": {
                    "id": 7,
                    "name": "Support Phone",
                    "channel": "phone_bridge",
                    "device_kind": "adapter"
                },
                "phone_connected": true
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.canceled",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "jane@example.com",
                "from": "support@example.com",
                "direction": "out",
                "sender": {
                    "address": "support@example.com",
                    "name": "Support"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "jane@example.com",
                        "name": "Jane Smith"
                    }
                ],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.delivered",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "jane@example.com",
                "from": "support@example.com",
                "direction": "out",
                "sender": {
                    "address": "support@example.com",
                    "name": "Support"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "jane@example.com",
                        "name": "Jane Smith"
                    }
                ],
                "cc": [],
                "provider_message_id": "<appointment-42@example.com>",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.failed",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "jane@example.com",
                "from": "support@example.com",
                "direction": "out",
                "sender": {
                    "address": "support@example.com",
                    "name": "Support"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "jane@example.com",
                        "name": "Jane Smith"
                    }
                ],
                "cc": [],
                "provider_message_id": "<appointment-42@example.com>",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.queued",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "jane@example.com",
                "from": "support@example.com",
                "direction": "out",
                "sender": {
                    "address": "support@example.com",
                    "name": "Support"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "jane@example.com",
                        "name": "Jane Smith"
                    }
                ],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.read",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "jane@example.com",
                "from": "support@example.com",
                "direction": "out",
                "sender": {
                    "address": "support@example.com",
                    "name": "Support"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "jane@example.com",
                        "name": "Jane Smith"
                    }
                ],
                "cc": [],
                "provider_message_id": "<appointment-42@example.com>",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.received",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "support@example.com",
                "from": "jane@example.com",
                "direction": "in",
                "sender": {
                    "address": "jane@example.com",
                    "name": "Jane Smith"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "support@example.com",
                        "name": "Support"
                    }
                ],
                "cc": [],
                "provider_message_id": "<appointment-42@example.com>",
                "body": "Can you confirm my appointment?",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "email.message.sent",
        "group": "email",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "email.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "jane@example.com",
                "from": "support@example.com",
                "direction": "out",
                "sender": {
                    "address": "support@example.com",
                    "name": "Support"
                },
                "subject": "Appointment Confirmation",
                "recipients": [
                    {
                        "address": "jane@example.com",
                        "name": "Jane Smith"
                    }
                ],
                "cc": [],
                "provider_message_id": "<appointment-42@example.com>",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "email",
                "kind": "email",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "email",
                "connection": {
                    "type": "email",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "form.confirmed",
        "group": "form",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "form.confirmed",
            "payload": {
                "form_id": 7,
                "form_name": "Appointment Updates",
                "submission_id": 42,
                "contact_id": 12,
                "answers": {
                    "phone": "+14155550100",
                    "name": "Jane Smith",
                    "email": "jane@example.com",
                    "first_name": "Jane",
                    "last_name": "Smith"
                },
                "utm_source": "newsletter",
                "utm_medium": "email",
                "utm_campaign": "october_appointments",
                "utm_term": null,
                "utm_content": null,
                "page_url": "https://example.com/appointments",
                "referrer": "https://example.com",
                "submitted_at": "2026-10-10T12:00:00+00:00",
                "confirmed_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "form.submitted",
        "group": "form",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "form.submitted",
            "payload": {
                "form_id": 7,
                "form_name": "Appointment Updates",
                "submission_id": 42,
                "contact_id": 12,
                "answers": {
                    "phone": "+14155550100",
                    "name": "Jane Smith",
                    "email": "jane@example.com",
                    "first_name": "Jane",
                    "last_name": "Smith"
                },
                "utm_source": "newsletter",
                "utm_medium": "email",
                "utm_campaign": "october_appointments",
                "utm_term": null,
                "utm_content": null,
                "page_url": "https://example.com/appointments",
                "referrer": "https://example.com",
                "submitted_at": "2026-10-10T12:00:00+00:00",
                "confirmed_at": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.canceled",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.delivered",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.failed",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.queued",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.read",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.received",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550101",
                "from": "+14155550100",
                "direction": "in",
                "sender": "+14155550100",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Can you confirm my appointment?",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "gsm_modem.message.sent",
        "group": "gsm_modem",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "gsm_modem.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "gsm_modem",
                "flash": false,
                "connection": {
                    "type": "gsm_modem",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "link.clicked",
        "group": "link",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "link.clicked",
            "payload": {
                "campaign_id": 42,
                "campaign_recipient_id": 100,
                "contact_id": 12,
                "url": "https://example.com/appointments",
                "code": "aB3dE5fG",
                "unique": true,
                "clicked_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "media_stream.requested",
        "group": "media_stream",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "media_stream.requested",
            "payload": {
                "call": {
                    "id": 42,
                    "channel": "phone_bridge",
                    "connection": {
                        "id": 7,
                        "name": "Support Phone"
                    },
                    "direction": "inbound",
                    "from": "+14155550100",
                    "to": "+14155550101",
                    "contact_id": 12,
                    "status": "in_progress",
                    "outcome": null,
                    "origin": "inbound",
                    "started_at": "2026-10-10T12:00:00+00:00",
                    "answered_at": "2026-10-10T12:00:05+00:00",
                    "ended_at": null,
                    "duration_seconds": null,
                    "billable_minutes": 0,
                    "handled_by": {
                        "type": "stream"
                    },
                    "flow_id": null,
                    "has_recording": false,
                    "has_voicemail": false,
                    "has_transcript": false,
                    "menu_choices": [],
                    "hangup_reason": null,
                    "created_at": "2026-10-10T12:00:00+00:00"
                },
                "stream_id": "550e8400-e29b-41d4-a716-446655440001",
                "url": "wss://voice.example.com/v1/stream",
                "token": "eyJzdHJlYW1faWQiOiI1NTBlODQwMC1lMjliLTQxZDQtYTcxNi00NDY2NTU0NDAwMDEiLCJicmlkZ2VfY2FsbF9pZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMyIsImNhbGxfaWQiOjQyLCJjb25uZWN0aW9uX2lkIjo3LCJ3b3Jrc3BhY2VfaWQiOjEyLCJtb2RlIjoibGlzdGVuIiwiZW5jb2RpbmciOiJwY20xNiIsInNhbXBsZV9yYXRlIjoxNjAwMCwidHJhY2tzIjoiaW5ib3VuZCIsImN1c3RvbV9wYXJhbWV0ZXJzIjp7ImRlcGFydG1lbnQiOiJzdXBwb3J0In0sImV4cCI6MTc5MTYzMzY2NX0.FM1SBDl9tkjKDlCdyAmp_aTbE3gIFa5zNC__F3i6nps",
                "expires_at": "2026-10-10T12:01:05+00:00",
                "custom_parameters": {
                    "department": "support"
                }
            },
            "sent_at": "2026-10-10T12:00:06+00:00"
        }
    },
    {
        "event": "otp.verification.approved",
        "group": "otp",
        "description": "Fired once after the verification transition commits. Failed includes max_attempts_reached. Recipient is masked and codes are never included.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "otp.verification.approved",
            "payload": {
                "reference": "ver_01J9R4V6A7B8C9D0E1F2G3H4JK",
                "to": "+1******0100",
                "status": "approved",
                "channel": "sms",
                "country": "US",
                "attempts": 1,
                "created_at": "2026-10-10T12:00:00+00:00",
                "resolved_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "otp.verification.canceled",
        "group": "otp",
        "description": "Fired once after the verification transition commits. Failed includes max_attempts_reached. Recipient is masked and codes are never included.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "otp.verification.canceled",
            "payload": {
                "reference": "ver_01J9R4V6A7B8C9D0E1F2G3H4JK",
                "to": "+1******0100",
                "status": "canceled",
                "channel": "sms",
                "country": "US",
                "attempts": 0,
                "created_at": "2026-10-10T12:00:00+00:00",
                "resolved_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "otp.verification.expired",
        "group": "otp",
        "description": "Fired once after the verification transition commits. Failed includes max_attempts_reached. Recipient is masked and codes are never included.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "otp.verification.expired",
            "payload": {
                "reference": "ver_01J9R4V6A7B8C9D0E1F2G3H4JK",
                "to": "+1******0100",
                "status": "expired",
                "channel": "sms",
                "country": "US",
                "attempts": 0,
                "created_at": "2026-10-10T12:00:00+00:00",
                "resolved_at": "2026-10-10T12:10:00+00:00"
            },
            "sent_at": "2026-10-10T12:10:01+00:00"
        }
    },
    {
        "event": "otp.verification.failed",
        "group": "otp",
        "description": "Fired once after the verification transition commits. Failed includes max_attempts_reached. Recipient is masked and codes are never included.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "otp.verification.failed",
            "payload": {
                "reference": "ver_01J9R4V6A7B8C9D0E1F2G3H4JK",
                "to": "+1******0100",
                "status": "max_attempts_reached",
                "channel": "sms",
                "country": "US",
                "attempts": 5,
                "created_at": "2026-10-10T12:00:00+00:00",
                "resolved_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "payment.paid",
        "group": "payment",
        "description": "Signed delivery when a payment link is paid. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "payment.paid",
            "payload": {
                "payment": {
                    "id": "01K8E9Q7R4T2V6W3X5Y8Z0ABCD",
                    "amount": "25.00",
                    "currency": "USD",
                    "description": "Invoice #1042",
                    "provider": "stripe",
                    "paid_at": "2026-10-27T12:00:00+00:00",
                    "url": "https://example.com/pay/7f3c9a2e8b1d4f6a"
                },
                "contact": {
                    "id": 12,
                    "name": "Jane Smith",
                    "phone": "+14155550100",
                    "email": "jane@example.com"
                },
                "conversation_id": 31
            },
            "sent_at": "2026-10-27T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.canceled",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.delivered",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.failed",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.queued",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.read",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.received",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550101",
                "from": "+14155550100",
                "direction": "in",
                "sender": "+14155550100",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Can you confirm my appointment?",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "phone_bridge.message.sent",
        "group": "phone_bridge",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "phone_bridge.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "phone_bridge",
                "connection": {
                    "type": "phone_bridge",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "push.message.canceled",
        "group": "push",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "push.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "17fa8c2e6923c4735e8a107aa218e04c8e68dead97e1b82a17193a1fe4e98f3e",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": "Appointment Confirmation",
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "push",
                "kind": "push",
                "contact_id": null,
                "site_id": 7,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "push",
                "connection": {
                    "type": "push",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "push.message.delivered",
        "group": "push",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "push.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "17fa8c2e6923c4735e8a107aa218e04c8e68dead97e1b82a17193a1fe4e98f3e",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": "Appointment Confirmation",
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "push",
                "kind": "push",
                "contact_id": null,
                "site_id": 7,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "push",
                "connection": {
                    "type": "push",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "push.message.failed",
        "group": "push",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "push.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "17fa8c2e6923c4735e8a107aa218e04c8e68dead97e1b82a17193a1fe4e98f3e",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": "Appointment Confirmation",
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "push",
                "kind": "push",
                "contact_id": null,
                "site_id": 7,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "push",
                "connection": {
                    "type": "push",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "push.message.queued",
        "group": "push",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "push.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "17fa8c2e6923c4735e8a107aa218e04c8e68dead97e1b82a17193a1fe4e98f3e",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": "Appointment Confirmation",
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "push",
                "kind": "push",
                "contact_id": null,
                "site_id": 7,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "push",
                "connection": {
                    "type": "push",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "push.message.read",
        "group": "push",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "push.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "17fa8c2e6923c4735e8a107aa218e04c8e68dead97e1b82a17193a1fe4e98f3e",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": "Appointment Confirmation",
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "push",
                "kind": "push",
                "contact_id": null,
                "site_id": 7,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "push",
                "connection": {
                    "type": "push",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "push.message.sent",
        "group": "push",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "push.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "17fa8c2e6923c4735e8a107aa218e04c8e68dead97e1b82a17193a1fe4e98f3e",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": "Appointment Confirmation",
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "push",
                "kind": "push",
                "contact_id": null,
                "site_id": 7,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "push",
                "connection": {
                    "type": "push",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "recording.ready",
        "group": "recording",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "recording.ready",
            "payload": {
                "call_id": 42,
                "duration_ms": 55000
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.canceled",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.delivered",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.failed",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.queued",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.read",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.received",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550101",
                "from": "+14155550100",
                "direction": "in",
                "sender": "+14155550100",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Can you confirm my appointment?",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "sms.sent",
        "group": "sms",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "sms.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "SMS",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "sms",
                "connection": {
                    "type": "sms_provider",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.business.connected",
        "group": "telegram",
        "description": "A Telegram Premium user linked a workspace bot to their business inbox.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.business.connected",
            "payload": {
                "connection_id": 7,
                "business_connection_id": "business-1",
                "owner_user_id": "123456789",
                "owner_name": "Jane Doe",
                "owner_username": "jane",
                "can_reply": true,
                "occurred_at": "2026-10-18T00:00:00Z"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.business.disconnected",
        "group": "telegram",
        "description": "A linked Telegram Business inbox was disabled.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.business.disconnected",
            "payload": {
                "connection_id": 7,
                "business_connection_id": "business-1",
                "owner_user_id": "123456789",
                "owner_name": "Jane Doe",
                "owner_username": "jane",
                "can_reply": true,
                "occurred_at": "2026-10-18T00:00:00Z"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.button.tapped",
        "group": "telegram",
        "description": "A Telegram inline callback button was tapped.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.button.tapped",
            "payload": {
                "connection_id": 7,
                "connection_type": "telegram_bot",
                "user_id": "123456789",
                "contact_id": 12,
                "query_id": "callback_42",
                "chat_id": "123456789",
                "provider_message_id": 42,
                "data": "help",
                "occurred_at": "2026-10-10T12:00:00.000000Z"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.group.message.received",
        "group": "telegram",
        "description": "A Telegram message was received in a group shown in Messenger. Hidden groups never emit this event.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.group.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": null,
                "from": "123456789",
                "direction": "in",
                "sender": "123456789",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "123456789:42",
                "body": "Can you confirm my appointment?",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.join_request.approved",
        "group": "telegram",
        "description": "A Telegram join request was approved.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.join_request.approved",
            "payload": {
                "join_request_id": 12,
                "connection_id": 7,
                "chat_id": "-100123",
                "chat_title": "Updates",
                "user_id": "123456789",
                "name": "Jane Doe",
                "username": "jane",
                "status": "approved",
                "decided_at": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.join_request.declined",
        "group": "telegram",
        "description": "A Telegram join request was declined.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.join_request.declined",
            "payload": {
                "join_request_id": 12,
                "connection_id": 7,
                "chat_id": "-100123",
                "chat_title": "Updates",
                "user_id": "123456789",
                "name": "Jane Doe",
                "username": "jane",
                "status": "declined",
                "decided_at": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.join_request.received",
        "group": "telegram",
        "description": "A Telegram join request was received.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.join_request.received",
            "payload": {
                "join_request_id": 12,
                "connection_id": 7,
                "chat_id": "-100123",
                "chat_title": "Updates",
                "user_id": "123456789",
                "name": "Jane Doe",
                "username": "jane",
                "status": "pending",
                "decided_at": null
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.message.canceled",
        "group": "telegram",
        "description": "A Telegram message was canceled before sending.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "123456789",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.message.failed",
        "group": "telegram",
        "description": "A Telegram message failed to send.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "123456789",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.message.queued",
        "group": "telegram",
        "description": "A Telegram message was handed to the service for sending.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "123456789",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.message.read",
        "group": "telegram",
        "description": "A Telegram account message was read by its recipient. Bots never report read receipts.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "123456789",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "123456789:42",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.message.received",
        "group": "telegram",
        "description": "A private Telegram message was received.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": null,
                "from": "123456789",
                "direction": "in",
                "sender": "123456789",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "123456789:42",
                "body": "Can you confirm my appointment?",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.message.sent",
        "group": "telegram",
        "description": "A Telegram message was sent.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "123456789",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "123456789:42",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "telegram",
                "connection": {
                    "type": "telegram_account",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.subscriber.blocked",
        "group": "telegram",
        "description": "A person blocked a Telegram bot subscription.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.subscriber.blocked",
            "payload": {
                "connection_id": 7,
                "connection_type": "telegram_bot",
                "user_id": "123456789",
                "contact_id": 12,
                "status": "blocked",
                "source": null,
                "occurred_at": "2026-10-10T12:00:00.000000Z"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "telegram.subscriber.started",
        "group": "telegram",
        "description": "A person started or unblocked a Telegram bot subscription.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "telegram.subscriber.started",
            "payload": {
                "connection_id": 7,
                "connection_type": "telegram_bot",
                "user_id": "123456789",
                "contact_id": 12,
                "status": "active",
                "source": null,
                "occurred_at": "2026-10-10T12:00:00.000000Z"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "transcript.ready",
        "group": "transcript",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "transcript.ready",
            "payload": {
                "call_id": 42,
                "source": "recording",
                "language": "en",
                "text": "Please confirm my appointment for Monday."
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "ussd.completed",
        "group": "ussd",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "ussd.completed",
            "payload": {
                "id": 42,
                "device_id": 7,
                "sim_id": 3,
                "sim_slot": 0,
                "code": "*225#",
                "status": "completed",
                "response": "Your balance is $25.00.",
                "requested_at": "2026-10-10T12:00:00+00:00",
                "completed_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "ussd.failed",
        "group": "ussd",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "ussd.failed",
            "payload": {
                "id": 42,
                "device_id": 7,
                "sim_id": 3,
                "sim_slot": 0,
                "code": "*225#",
                "status": "failed",
                "response": "The carrier did not respond.",
                "requested_at": "2026-10-10T12:00:00+00:00",
                "completed_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "ussd.result",
        "group": "ussd",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "ussd.result",
            "payload": {
                "id": 42,
                "source": "schedule",
                "schedule_id": 12,
                "flow_run_id": null,
                "script_name": "Balance",
                "extracted_value": "25.00",
                "failure_code": null,
                "device_id": 7,
                "sim_id": 3,
                "code": "*225#",
                "status": "completed",
                "response": "Your balance is $25.00.",
                "requested_at": "2026-10-10T12:00:00+00:00",
                "completed_at": "2026-10-10T12:01:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "voicemail.received",
        "group": "voicemail",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "voicemail.received",
            "payload": {
                "call_id": 42,
                "message_id": 43,
                "contact_id": 12,
                "duration_ms": 15000,
                "from": "+14155550100",
                "connection": {
                    "id": 7,
                    "name": "Support Phone",
                    "channel": "phone_bridge"
                }
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.canceled",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.delivered",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.failed",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.queued",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.read",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.received",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550101",
                "from": "+14155550100",
                "direction": "in",
                "sender": "+14155550100",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Can you confirm my appointment?",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "wa.message.sent",
        "group": "wa",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "wa.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "wa",
                "connection": {
                    "type": "wa",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.canceled",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.delivered",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": "msg_01J9R4V6A7B8C9",
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.failed",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": "msg_01J9R4V6A7B8C9",
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.queued",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.read",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": "msg_01J9R4V6A7B8C9",
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.received",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550101",
                "from": "+14155550100",
                "direction": "in",
                "sender": "+14155550100",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Can you confirm my appointment?",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": "msg_01J9R4V6A7B8C9",
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.message.sent",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "+14155550100",
                "from": "+14155550101",
                "direction": "out",
                "sender": "+14155550101",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": 7,
                "meta_message_id": "msg_01J9R4V6A7B8C9",
                "reply_to": null,
                "segments": 1,
                "channel": "waba",
                "connection": {
                    "type": "waba",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "waba.template.approved",
        "group": "waba",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "waba.template.approved",
            "payload": {
                "id": 9,
                "meta_template_id": "123456789012345",
                "name": "appointment_confirmation",
                "status": "APPROVED"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "webhook.test",
        "group": "webhook",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "webhook.test",
            "payload": {
                "webhook_id": 7,
                "message": "This is a test delivery."
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.canceled",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.canceled",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "canceled",
                "failure_reason": "canceled",
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.delivered",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.delivered",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "delivered",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.failed",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.failed",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "failed",
                "failure_reason": "channel_unavailable",
                "error": "channel_dispatch_failed",
                "error_message": null,
                "error_reason": "The message could not be handed to the channel.",
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.queued",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.queued",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": null,
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "queued",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.read",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.read",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "read",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": "2026-10-10T12:01:00+00:00",
                "read_at": "2026-10-10T12:02:00+00:00",
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.received",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.received",
            "payload": {
                "reference": null,
                "id": 42,
                "to": null,
                "from": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "direction": "in",
                "sender": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Can you confirm my appointment?",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "received",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": null,
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    },
    {
        "event": "widget.message.sent",
        "group": "widget",
        "description": "Signed delivery to the configured workspace webhook URL. Deduplicate by delivery id. Signature is HMAC-SHA256 over timestamp + dot + raw body.",
        "example": {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "event": "widget.message.sent",
            "payload": {
                "reference": null,
                "id": 42,
                "to": "janeA1b2C3d4E5f6G7h8J9k0L1m2N3p4",
                "from": null,
                "direction": "out",
                "sender": null,
                "subject": null,
                "recipients": [],
                "cc": [],
                "provider_message_id": "msg_01J9R4V6A7B8C9",
                "body": "Your appointment is confirmed for October 12 at 10 AM.",
                "type": "text",
                "kind": "text",
                "contact_id": 12,
                "site_id": null,
                "from_phone_id": null,
                "meta_message_id": null,
                "reply_to": null,
                "segments": 1,
                "channel": "widget",
                "connection": {
                    "type": "widget",
                    "id": 7
                },
                "price": null,
                "status": "sent",
                "failure_reason": null,
                "error": null,
                "error_message": null,
                "error_reason": null,
                "failover_from": null,
                "attachments": [],
                "campaign_id": null,
                "locked_at": null,
                "sent_at": "2026-10-10T12:00:05+00:00",
                "delivered_at": null,
                "read_at": null,
                "created_at": "2026-10-10T12:00:00+00:00"
            },
            "sent_at": "2026-10-10T12:03:00+00:00"
        }
    }
]
