A chatbot captured a lead: a contact request, an appointment booking or a callback request. The event names the lead; read its contents with the leads endpoint of the chatbot.

Sent as POST to the account webhook URL and to chatbot webhooks. Headers: X-Smartwebchat-Event, X-Smartwebchat-Timestamp, X-Smartwebchat-Signature (HMAC over timestamp and body). For backward compatibility, data carries the full lead object under data.lead (the example is shortened); the feed carries only leadId.

postWebhooklead.created

Payload

event'lead.created' required
timestampstring date-time required
dataobject required

For backward compatibility, data carries the full lead object under data.lead (the example is shortened); the feed carries only leadId.

Response

Received. Any other status is logged; delivery to chatbot webhooks is retried, delivery to the account webhook URL is not.

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.