Chatspark
K

API Reference

v1
K

Webhook Events

All event types emitted by ChatSpark webhooks and their payload schemas. Subscribe to specific events when registering a webhook endpoint.

Event Types

EventDescription
lead.capturedEmitted when a lead is captured via the chat widget or API.
conversation.startedEmitted when a new conversation begins.
conversation.endedEmitted when a conversation is closed or ended.
message.sentEmitted when a message is sent (user or assistant).
agent.updatedEmitted when an agent configuration is updated.
ai-action.completedEmitted when an AI action (e.g., CRM integration) completes successfully.
ai-action.failedEmitted when an AI action fails.
training.completedEmitted when training data processing completes successfully.
training.failedEmitted when training data processing fails.

Payload Schemas

Previous

Overview

Next

Management API