Skip to main content
WEBHOOK
leadReceived
{
  "type": "lead_received",
  "payload": {
    "id": 1,
    "source": "chatbot",
    "created_at": "2024-11-27T16:10:44.929678Z",
    "chatbot_id": 1,
    "chatbot_name": "Jim",
    "business_name": "Partoo",
    "store_code": "Partoo123",
    "values": [
      {
        "id": 1,
        "type": "TEXT",
        "name": "Your firstname",
        "value": "John"
      }
    ]
  }
}

Body

application/json
type
enum<string>
Available options:
lead_received
payload
object

Response

Return a 200 status to indicate that the event was properly received