Send in a lead / lead event
fub_send_lead_eventAdd a new lead or record activity on an existing one — FUB's documented way to create leads. FUB de-duplicates by email/phone (or use person.id to target a contact), routes the lead per Lead Flow, notifies the agent and runs action plans for Registration / Inquiry types. A 204 means the lead flow for this source is archived and the event was ignored. FUB: POST /v1/events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Event type. "Inquiry" becomes Property or General Inquiry automatically. | |
| person | Yes | The lead. | |
| source | No | Lead source name, e.g. "MyWebsite.com". Used for Lead Flow routing. | |
| system | No | Name of the system sending the lead. | |
| message | No | A message from the lead. | |
| pageUrl | No | For Viewed Page events. | |
| property | No | The property the event is about. | |
| pageTitle | No | For Viewed Page events. | |
| occurredAt | No | ISO-8601 time it happened. Events older than a day are historical and do not trigger workflows. | |
| description | No | Any additional information. |