Skip to main content

Overview

Webhooks send real-time HTTP notifications to your server when events occur in your Lindo AI workspace.

Setup

  1. Go to Settings > API > Webhooks
  2. Enter your endpoint URL
  3. Select events to subscribe to
  4. Save configuration

Available Events

EventTrigger
website.createdNew website created
website.updatedWebsite content changed
website.publishedWebsite published
website.deletedWebsite deleted
customer.createdNew customer added
form.submittedForm submission received

Payload Format

{
  "event": "form.submitted",
  "timestamp": "2024-01-15T10:30:00Z",
  "workspace_id": "ws_123",
  "data": {
    "form_id": "form_456",
    "website_id": "web_789",
    "fields": {
      "name": "John Doe",
      "email": "[email protected]"
    }
  }
}

Security

  • Use HTTPS endpoints only
  • Verify webhook signatures
  • Validate payload structure
  • Implement retry handling

Testing

  1. Use a tool like webhook.site for testing
  2. Trigger a test event
  3. Verify payload received
  4. Implement your handler

Tips

  • Respond with 200 status quickly
  • Process webhooks asynchronously
  • Log all webhook events
  • Handle duplicate deliveries