Response
Return a 200 status to indicate that the event was properly received
{
"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"
}
]
}
}
This event is triggered when a Lead is added in Partoo Database.
The event payload contains the event type and the lead contents.
{
"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"
}
]
}
}
Return a 200 status to indicate that the event was properly received
Was this page helpful?