Get Test Event Example
Webhooks
Get Test Event Example
Get an example payload for a specific webhook event type
GET
Get Test Event Example
Documentation Index
Fetch the complete documentation index at: https://docs.kakiyo.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Get an example payload for a specific webhook event type. This endpoint returns a realistic sample of what your webhook endpoint will receive when the specified event occurs, helping you develop and test your webhook integration.Path Parameters
The event type to get an example for (e.g., “prospect.qualified”, “campaign.completed”)
Use Cases
- Integration Development: Understand the structure of webhook payloads
- Testing Setup: Create test data for webhook endpoint development
- Documentation: Generate examples for your own API documentation
- Validation: Verify your webhook handler can process the expected data
Example Responses
Prospect Qualified Event
GET/webhooks/test/example/prospect.qualified
Campaign Completed Event
GET/webhooks/test/example/campaign.completed
Message Sent Event
GET/webhooks/test/example/message.sent
Testing Examples
Error Responses
Invalid Event Type
Common Event Examples
Agent Status Changed
Connection Accepted
Development Workflow
1. Explore Available Events
2. Get Event Examples
3. Develop Webhook Handler
Use the example payloads to develop your webhook endpoint handler.4. Test Integration
Best Practices
- Schema Validation: Use examples to create JSON schemas for validation
- Error Handling: Plan for missing or unexpected fields
- Idempotency: Handle duplicate webhook deliveries gracefully
- Logging: Log webhook payloads for debugging and monitoring
- Testing: Use examples to create comprehensive test suites
Integration Tips
Create Type Definitions
Webhook Handler Template
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The event type to get an example for
Last modified on January 28, 2026

