---
title: "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."
method: POST
path: "lead.created"
---

# 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.

`POST lead.created` (webhook)

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.

## Payload

- object
  - `event` 'lead.created', required
  - `timestamp` string, date-time, required
  - `data` object, required: For backward compatibility, data carries the full lead object under data.lead (the example is shortened); the feed carries only leadId.

## Acknowledgement `2XX`

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

---

[API](https://skmtc.dev/smartwebchat/apis/smartwebchat-api.md) · [All operations](https://skmtc.dev/smartwebchat/apis/smartwebchat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smartwebchat/apis/smartwebchat-api/revisions/1b052502dacb?raw)
