Skip to Content
API ReferenceCode Examples

Code Examples

Basic Webhook Payload

{ "name": "John Smith", "phone": "+1234567890" }

Complete Webhook Payload

{ "name": "Sarah Johnson", "phone": "+1234567890", "email": "sarah.johnson@example.com", "company": "TechStart Inc", "notes": "Downloaded pricing guide - interested in enterprise plan", "lead_source": "Website Contact Form", "custom_field_1": "High Priority Lead" }

cURL Example

curl -X POST https://api.dialora.ai/webhooks/agents/webh_7ejvxjh9lq6bdgwo/trigger \ -H "Content-Type: application/json" \ -d '{ "name": "Michael Chen", "phone": "+1555123456", "email": "michael.chen@email.com", "company": "Digital Solutions LLC", "notes": "Requested demo for sales automation" }'