Skip to main content
GET
Get Sample Webhook Data

Overview

Retrieves sample data for a specific webhook event type. Use this endpoint to test your webhook integration and understand the payload structure before subscribing.

Use Cases

  • Testing: Validate your webhook handler with real data structure
  • Development: Build your integration with sample payloads
  • Documentation: See what fields are available for each event type

Sample Data

The endpoint returns up to 3 recent records matching the event type, or sample test data if no records exist in your workspace.

Authorizations

x-api-key
string
header
required

API key for authentication. Generate from your WaLead dashboard.

Query Parameters

type
enum<string>
required

Webhook event type

Available options:
lead_tagged_interested,
lead_meeting_booked,
lead_status_matched,
lead_status_discarded,
campaign_completed,
message_received,
linkedin_account_disconnected,
connection_request_accepted,
campaign_without_leads

Response

Sample data retrieved successfully