Webhooks

List recent webhook events of one type

Newest-first canonical events, in exactly the shape we deliver them (unique top-level id). If the workspace has no events of that type yet, you get the documented sample payload instead. This is the polling source platform integrations use for sample data, such as Zapier's performList.

API key scopes: webhooks:read.

get/api/webhook-events

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/webhook-events
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Query parameters

type'lead.created' | 'lead.updated' | 'lead.qualified' | 'lead.stage_changed' | 'message.received' | 'message.draft_created' | 'message.sent' | 'review.created' | 'review.approved' | 'review.rejected' | 'booking.created' | 'booking.updated' | 'booking.cancelled' | 'campaign.enrolled' | 'campaign.completed' | 'campaign.failed' | 'broadcast.started' | 'broadcast.completed' | 'broadcast.paused' | 'broadcast.failed' | 'crm.sync_failed' | 'integration.connection_health_changed' required

Return only records of this type.

limitinteger

Maximum number of items to return on this page.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.