Webhooks Events
Lead Received
This event is triggered when a Lead is added in Partoo Database.
The event payload contains the event type and the lead contents.
postWebhookleadReceived
Payload
Example payload
{
"payload": {
"id": 1,
"source": "chatbot",
"created_at": "2024-11-27T16:10:44.929678Z",
"conversation_id": 123,
"channel": "Whatsapp",
"chatbot_id": 1,
"chatbot_name": "Jim",
"business_name": "Partoo",
"store_code": "Partoo123",
"values": [
{
"id": 1,
"type": "TEXT",
"name": "Your firstname",
"value": "John"
}
]
}
}Response
Return a 200 status to indicate that the event was properly received
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.