DreamLogicX Docs

Developers

Website forms and events

Connect many forms, shops, and custom backends using one secure event endpoint.

Routing model

Each form sends a stable event key. CRM maps it to a template, category, pipeline stage, and matching flow entry rule.

Keep the external API secret server-side. Browser JavaScript must never expose the CRM secret, Meta access token, or Razorpay key secret.

POST /api/v1/trigger-flow
Authorization: Bearer YOUR_EXTERNAL_API_SECRET

{
  "phone": "919876543210",
  "event": "consultation_form",
  "params": { "language_code": "en_US", "body": ["Priya"] }
}