Authentication
This action does not require an API key. Instead, the target channel must have its public API enabled (no_auth_api set to true). You can check this via get_channels.
Request
Must be
"lead_external".The channel to create the lead in. Accepts either the channel’s primary ID or its public
uuid. The channel must have its public API enabled.Contact email address.
First name of the contact.
Last name of the contact.
Phone number.
Company name of the lead.
How the lead was sourced.
Employee associated with the lead.
Free-text notes about the lead.
An external identifier from your own system.
Custom property values to set on the lead. Each item requires a
property_definitions_id and a value.Response
Returns the created lead object. The lead is automatically assigned the first lead status defined on the channel.Side effects
- Reward triggers: If the channel has active reward triggers for
new_lead, reward events are created automatically.
Unlike the authenticated
create_lead action, lead_external does not trigger webhooks or in-app notifications.Example
Request
Response
Errors
| Status | Error | Cause |
|---|---|---|
400 | "channel_id required" | The channel_id field is missing. |
403 | "Public API not enabled for this channel" | The channel exists but no_auth_api is false. |
404 | "Channel not found" | No channel matches the provided ID or UUID. |